/* ==========================================================================
   Karvee Properties — Bento Mosaic design system
   Palette: paper ground, ink / moss / butter / clay / sand tiles
   Type: Gabarito (display) + Public Sans (body)
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------
     Palette taken from the client's logo: navy #092E63, gold #F1AF14
     (gradient #FED62A → #DD8603) and leaf green #359315. The greens and
     golds are deepened where needed so every text pair clears 4.5:1.
     The class names (ink / moss / butter / clay) are kept so the whole
     site re-themes from these ten lines.
     ------------------------------------------------------------------ */

  /* surfaces */
  --ground:   #FBFAF7;
  --paper:    #FFFFFF;
  --sand:     #F0EDE4;
  --ink:      #0A2A5C;   /* brand navy  */
  --ink-soft: #14407F;
  --moss:     #1E520C;   /* brand green, deepened for contrast */
  --butter:   #F1AF14;   /* brand gold  */
  --clay:     #C77F06;   /* the logo's shadow gold */
  --clay-dk:  #8F6100;   /* bronze — labels and links on light surfaces */
  --stone:    #EAE3D3;   /* warm tinted light tile — deeper than sand */
  --stone-ln: #D9D0BA;
  --wa:       #25D366;   /* WhatsApp green — brand mark only, never body text */
  --wa-dk:    #0B7D4B;   /* darkened so it clears 4.5:1 on light tiles */

  /* text */
  --on-dark:      #F6F2E8;
  --on-dark-mute: #BAC7DF;
  --on-dark-dim:  #93A7C7;
  --on-moss:      #F0F6EC;
  --on-moss-mute: #D3E7CB;
  --on-butter:    #11204A;
  --on-butter-mt: #3B2E06;
  --on-clay:      #2B1A02;
  --on-clay-mute: #33200A;
  --body:         #39434F;
  --muted:        #5C6672;
  --faint:        #6A6E78;

  /* lines */
  --line:      #E6E3DA;
  --line-dk:   rgba(246,242,232,0.16);
  --field:     #D6D3CA;

  /* metrics */
  --max:      1320px;
  --gutter:   28px;
  --gap:      16px;
  --radius:   22px;
  --radius-s: 16px;

  --sans: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  --disp: 'Gabarito', 'Public Sans', sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--ground);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 700; letter-spacing: -0.025em; margin: 0; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a  { color: var(--ink); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--clay-dk); }
:focus-visible { outline: 3px solid var(--clay-dk); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 999;
  background: var(--ink); color: var(--on-dark);
  padding: 12px 20px; border-radius: 100px; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: var(--on-dark); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec  { padding: var(--gap) 0 0; }
.sec-last { padding-bottom: var(--gap); }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.tile  { border-radius: var(--radius); padding: 32px; overflow: hidden; position: relative; }
.tile-pad-lg { padding: 44px; }
.tile-flat   { padding: 0; }

.c3 { grid-column: span 3; }  .c4 { grid-column: span 4; }
.c5 { grid-column: span 5; }  .c6 { grid-column: span 6; }
.c7 { grid-column: span 7; }  .c8 { grid-column: span 8; }
.c9 { grid-column: span 9; }  .c12 { grid-column: span 12; }
.r2 { grid-row: span 2; }

/* ---------- tile surfaces ---------- */
.t-ink    { background: var(--ink);   color: var(--on-dark); }
.t-moss   { background: var(--moss);  color: var(--on-moss); }
.t-butter { background: var(--butter); color: var(--on-butter); }
.t-clay   { background: var(--clay);  color: var(--on-clay); }
.t-paper  { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.t-sand   { background: var(--sand);  color: var(--ink); }
.t-stone  { background: var(--stone); color: var(--ink); border: 1px solid var(--stone-ln); }
.t-ink a, .t-ink h1, .t-ink h2, .t-ink h3 { color: var(--on-dark); }
.t-moss a, .t-moss h1, .t-moss h2, .t-moss h3 { color: var(--on-moss); }

picture { display: block; }
/* A flat image tile fills whatever height the bento row gives it.
   Absolute positioning is what makes that work — the tile has a min-height,
   not a fixed height, so a percentage height on the image would be indeterminate. */
.tile-flat > picture { position: absolute; inset: 0; }
.tile-flat > picture > img { position: absolute; inset: 0; }
.tile-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-link { display: block; }
.tile-link:hover .tile-img { transform: scale(1.04); }
.tile-img { transition: transform .5s ease; }

/* ---------- type helpers ---------- */
.gab { font-family: var(--disp); font-weight: 700; letter-spacing: -0.025em; }
.lab {
  font-family: var(--disp); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; margin: 0;
}
.lab-clay { color: var(--clay-dk); }
.lab-butter { color: var(--butter); }

.h-xl { font-size: clamp(38px, 6.2vw, 64px); line-height: 0.99; }
.h-lg { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.06; }
.h-md { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; }
.h-sm { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.12; }

.lede { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.68; color: var(--muted); }
.t-ink .lede, .t-moss .lede { color: var(--on-dark-mute); }
.body-text { font-size: 16.5px; line-height: 1.75; color: var(--body); }
.small { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---------- pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 15px; border-radius: 100px;
  font-size: 13px; font-weight: 600; line-height: 1.3;
}
.pill-sand  { background: var(--sand); color: var(--body); }
.pill-ink   { background: var(--ink);  color: var(--on-dark); }
.pill-glass { background: rgba(246,242,232,0.14); color: #F3D79A; }
.pill-moss  { background: rgba(241,245,241,0.16); color: #D9EAD1; }
.pill-float {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(251,250,247,0.95); color: var(--ink);
  font-family: var(--disp); font-size: 14px; font-weight: 700; min-height: 38px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 26px; border-radius: 100px;
  font-family: var(--disp); font-size: 15px; font-weight: 700;
  border: 0; cursor: pointer; text-align: center; transition: background .18s ease, border-color .18s ease, color .18s ease;
}
/* Doubled class so a button keeps its own colour inside a toned tile —
   `.t-ink a` would otherwise win and put cream text on a gold button. */
.btn.btn-ink,   .btn.btn-ink:hover   { color: var(--on-dark); }
.btn.btn-clay,  .btn.btn-clay:hover  { color: var(--on-butter); }
.btn.btn-line,  .btn.btn-line:hover  { color: var(--ink); }
.btn.btn-ghost, .btn.btn-ghost:hover { color: var(--on-dark); }
.btn-ink   { background: var(--ink); }
.btn-ink:hover   { background: var(--ink-soft); }
.btn-clay  { background: var(--butter); }
.btn-clay:hover  { background: var(--clay); }
.btn-line  { background: transparent; border: 1.5px solid #C9C4B6; }
.btn-line:hover  { border-color: var(--ink); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(246,242,232,0.34); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn-block { width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--disp); font-size: 15px; font-weight: 700;
  min-height: 44px;
}
.arrow-link svg { transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; padding: 14px 0 0; }
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 100px; padding: 9px 9px 9px 20px;
  box-shadow: 0 6px 26px rgba(10,42,92,0.10);
}
/* Brand lockup — the client's logo, split into the house mark and the wordmark.
   Heights are set here and widths follow, so the artwork never distorts. */
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; min-width: 0; }
.brand img { display: block; width: auto; }
.brand-mark { height: 40px; }
.brand-word { height: 30px; }
.brand-lockup { height: 62px; }
.brand:hover { opacity: .85; }
@media (max-width: 480px) {
  .brand { gap: 8px; }
  .brand-mark { height: 34px; }
  .brand-word { height: 25px; }
}

.nav-main { display: flex; align-items: center; gap: 22px; }
.nav-main a {
  font-size: 14.5px; font-weight: 500; color: var(--body);
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--clay-dk); }
.nav-main a[aria-current="page"] { font-weight: 700; }

.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: -14px; min-width: 248px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 10px; box-shadow: 0 16px 40px rgba(10,42,92,0.16);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  list-style: none;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: flex; padding: 9px 14px; border-radius: 12px; font-size: 14.5px; width: 100%; }
.sub a:hover { background: var(--sand); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sand); border: 0; cursor: pointer; flex: 0 0 auto;
}

/* mobile drawer */
.nav-drawer {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: var(--ink); padding: 18px var(--gutter) 32px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.nav-drawer.open { display: block; }
body.nav-open { overflow: hidden; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.drawer-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(246,242,232,0.12); border: 0; cursor: pointer;
}
.drawer-nav { list-style: none; }
.drawer-nav > li { border-bottom: 1px solid var(--line-dk); }
.drawer-nav a {
  display: flex; align-items: center; min-height: 56px;
  font-family: var(--disp); font-size: 21px; font-weight: 700; color: var(--on-dark);
}
.drawer-nav a:hover, .drawer-nav a[aria-current="page"] { color: var(--butter); }
.drawer-sub { list-style: none; padding: 0 0 12px 14px; }
.drawer-sub a { min-height: 46px; font-family: var(--sans); font-size: 15.5px; font-weight: 500; color: var(--on-dark-mute); }
.drawer-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: var(--gap) 0 0; }
.page-hero .tile { min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: 13px; margin-bottom: 20px; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: var(--on-dark-mute); }
.crumbs a { color: var(--on-dark-mute); }
.crumbs a:hover { color: var(--butter); }
.crumbs [aria-current] { color: var(--butter); }

/* ---------- parallax bands ---------- */
.band {
  position: relative; display: flex; align-items: center;
  margin-top: var(--gap); min-height: 400px;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  background-attachment: fixed;
}
.band::before { content: ""; position: absolute; inset: 0; }
.band-ink::before  { background: rgba(10,42,92,0.76); }
.band-moss::before { background: rgba(30,82,12,0.72); }
.band-inner { position: relative; z-index: 2; padding: 84px var(--gutter); text-align: center; width: 100%; max-width: var(--max); margin: 0 auto; }
.band h2 { color: var(--on-dark); max-width: 900px; margin: 0 auto; }

/* ---------- numbered service cards ---------- */
.svc-card { min-height: 290px; display: flex; flex-direction: column; }
.svc-top  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.svc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
}
.svc-num { font-family: var(--disp); font-weight: 700; font-size: 30px; }
.svc-list { list-style: none; margin: auto 0 0; display: flex; flex-direction: column; gap: 8px; }
.svc-list li { font-size: 13.5px; font-weight: 500; line-height: 1.45; }

/* ---------- step cards ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.step { background: var(--paper); border-radius: var(--radius-s); padding: 24px; }
.step-dark { background: var(--ink); color: var(--on-dark); }
.step-n { display: block; font-family: var(--disp); font-weight: 700; font-size: 15px; color: var(--clay-dk); margin-bottom: 12px; }
.step-dark .step-n { color: var(--butter); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.step-dark p { color: var(--on-dark-mute); }

/* ---------- people cards ---------- */
.person { padding: 0; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }
.person-body { padding: 22px; }
.person h3 { font-size: 19px; margin-bottom: 4px; }

/* ---------- prose (content pages) ---------- */
.prose > * + * { margin-top: 18px; }
.prose p  { font-size: 16.5px; line-height: 1.78; color: var(--body); }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; margin-top: 40px; }
.prose h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.22; margin-top: 30px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { font-size: 16px; line-height: 1.72; color: var(--body); margin-top: 9px; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--clay);
}
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--clay-dk); text-decoration: underline; text-underline-offset: 3px; }

/* check list */
.checks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.6; }
.checks svg { flex: 0 0 auto; margin-top: 3px; }

/* ---------- stat tiles ---------- */
.stat { display: flex; flex-direction: column; justify-content: center; min-height: 170px; }
.stat-n { font-family: var(--disp); font-weight: 700; font-size: 46px; line-height: 1; }
.stat-l { font-size: 14px; font-weight: 600; margin-top: 8px; }

/* ---------- accordion (FAQ) ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper); overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-family: var(--disp); font-weight: 700; font-size: 17.5px; line-height: 1.4;
  min-height: 60px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--clay-dk); }
.acc .acc-icon { flex: 0 0 auto; transition: transform .2s ease; }
.acc[open] .acc-icon { transform: rotate(45deg); }
.acc-body { padding: 0 24px 24px; }
.acc-body p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.acc-body p + p { margin-top: 12px; }

/* ---------- forms ---------- */
.form-grid { display: flex; flex-direction: column; gap: 18px; }
.form-row  { display: flex; flex-wrap: wrap; gap: 18px; }
.form-col  { flex: 1 1 200px; min-width: 0; }
label {
  display: block; font-family: var(--disp); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
input, select, textarea {
  font-family: var(--sans); font-size: 15.5px; width: 100%;
  min-height: 52px; padding: 0 16px;
  border: 1px solid var(--field); border-radius: 12px;
  background: var(--paper); color: var(--ink);
}
textarea { padding: 14px 16px; min-height: 110px; line-height: 1.6; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 2px solid var(--clay-dk); outline-offset: 1px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235F6A66' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; line-height: 1.6; color: var(--faint); text-align: center; }

/* The captcha asks a question in words rather than showing a picture of one, so
   it is styled as a field with a prompt. The default label is uppercase display
   type at 11.5px, which reads as a heading; a question needs sentence case at a
   readable size. The answer is one or two characters, so the input is narrow —
   a full-width box invites a sentence. */
.form-captcha {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
}
.form-captcha label {
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--ink);
}
.form-captcha input { max-width: 170px; }
.field-hint { margin-top: 9px; font-size: 12.5px; line-height: 1.6; color: var(--faint); }
.alert { border-radius: 12px; padding: 16px 18px; font-size: 14.5px; line-height: 1.6; }
.alert-err { background: #FBEAE4; border: 1px solid #E3B6A5; color: #7A2F15; }
.alert-ok  { background: #E7F0EA; border: 1px solid #A9C9B6; color: #1F4733; }

/* ---------- contact rows ---------- */
.contact-rows { display: flex; flex-direction: column; gap: 18px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row svg { flex: 0 0 auto; margin-top: 3px; }

/* ---------- phone + WhatsApp pairs ----------
   Each mobile is listed once with two tap targets: the number itself dials,
   the chip beside it opens WhatsApp with the enquiry text ready to send. */
.phone-lines { display: flex; flex-direction: column; gap: 12px; }
.phone-line  { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.phone-line > a:first-child { flex: 0 1 auto; }

.wa-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  flex: 0 0 auto; min-height: 38px; padding: 0 14px; border-radius: 100px;
  font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em;
  white-space: nowrap; transition: background .18s ease, color .18s ease;
}
/* Doubled class so the chip keeps its own colour inside a toned tile —
   `.t-ink a` would otherwise win and repaint the label. */
.wa-chip.wa-chip        { background: rgba(37,211,102,0.16); color: #86E8AC; }
.wa-chip.wa-chip:hover,
.wa-chip.wa-chip:focus-visible { background: var(--wa); color: #05331A; }
.wa-chip.wa-round { padding: 0; width: 38px; }

/* On a light tile the same chip needs the brand green at full strength. */
.t-paper .wa-chip.wa-chip, .t-butter .wa-chip.wa-chip, .tile-flat .wa-chip.wa-chip {
  background: rgba(7,94,84,0.1); color: var(--wa-dk);
}
.t-paper .wa-chip.wa-chip:hover, .t-butter .wa-chip.wa-chip:hover,
.tile-flat .wa-chip.wa-chip:hover { background: var(--wa-dk); color: #FFFFFF; }

/* WhatsApp-tinted button, used where a full-width call to action is wanted. */
.btn.btn-wa, .btn.btn-wa:hover { color: #05331A; }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: #1FBF5B; }

/* ---------- map ---------- */
.map-tile { min-height: 300px; padding: 0; background: var(--sand); }
.map-tile iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* ---------- footer ---------- */
.site-footer { padding: var(--gap) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 36px; }
.footer-grid h3 { margin-bottom: 18px; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.footer-list a { font-size: 14px; color: var(--on-dark-mute); display: inline-flex; align-items: center; min-height: 32px; }
.footer-list a:hover { color: var(--butter); }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { display: block; width: auto; max-width: 100%; }
.footer-brand .brand-mark { height: 50px; flex: 0 0 auto; }
.footer-brand .brand-word { height: 38px; flex: 0 1 auto; }
/* The logo's tagline, set as live text so it stays legible and selectable
   at sizes where the artwork's own lettering would be unreadable. */
.brand-tagline {
  font-family: var(--disp); font-style: italic; font-weight: 600;
  font-size: 14.5px; line-height: 1.5; color: var(--butter); margin: 0;
}
@media (max-width: 480px) {
  .footer-brand .brand-mark { height: 42px; }
  .footer-brand .brand-word { height: 32px; }
}
.socials { display: flex; gap: 9px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(246,242,232,0.1);
}
.socials a:hover { background: var(--clay); }
/* MahaRERA agent registration, badged under the social icons. The number is set
   in tabular figures so the digits stay even and can be read back over a call. */
.footer-rera {
  display: inline-flex; align-items: center; gap: 11px; margin-top: 18px;
  padding: 11px 15px; border: 1px solid var(--line-dk); border-radius: 12px;
  background: rgba(246,242,232,0.06);
}
.footer-rera svg { flex: 0 0 auto; }
.footer-rera-lab { font-size: 10.5px; letter-spacing: 0.12em; display: block; margin-bottom: 3px; }
.footer-rera-num {
  display: block; font-size: 15px; font-weight: 600; color: var(--on-dark);
  font-variant-numeric: tabular-nums; letter-spacing: 0.03em;
}
.footer-base {
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--line-dk);
}
.footer-base p, .footer-base a { font-size: 12.5px; color: var(--on-dark-dim); margin: 0; }
.footer-base a:hover { color: var(--butter); }
.footer-credit { white-space: nowrap; }
.footer-credit a { color: var(--on-dark-mute); font-weight: 600; }
.footer-credit a:hover { color: var(--butter); }

/* ---------- sticky mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22,.8,.3,1); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .nav-main { gap: 16px; }
  .nav-main a { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 1000px) {
  /* Below this width every tile goes full width by default, because a wide tile
     that collapses while its partner does not is what leaves holes in the mosaic.
     Tiles that should stay two-up on a tablet opt in with .t6, in even-numbered
     groups so each row still fills. */
  .c3, .c4, .c5, .c6, .c7, .c8, .c9 { grid-column: span 12; }
  .t6 { grid-column: span 6; }
  .r2 { grid-row: span 1; }
  .tile-pad-lg { padding: 34px; }
  .band { min-height: 340px; }
  .band-inner { padding: 64px var(--gutter); }
}

@media (max-width: 900px) {
  .nav-main, .header-bar > .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-bar { padding: 8px 8px 8px 18px; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; --gap: 12px; --radius: 18px; }
  .c3, .c4, .c5, .c6, .c7, .c8, .c9, .t6 { grid-column: span 12; }
  .m6 { grid-column: span 6; }          /* pairs up on phones */
  .tile { padding: 24px; }
  .tile-pad-lg { padding: 26px; }
  .page-hero .tile { min-height: 260px; }
  .band { min-height: 300px; background-attachment: scroll; }
  .band-inner { padding: 52px var(--gutter); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-credit { white-space: normal; }
  .stat { min-height: 128px; }
  .stat-n { font-size: 38px; }
  .svc-card { min-height: 0; }
  .person img { aspect-ratio: 1 / 1; }
  .acc summary { padding: 18px 20px; font-size: 16.5px; }
  .acc-body { padding: 0 20px 20px; }

  /* sticky call bar */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: var(--ink); border-top: 1px solid var(--line-dk);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 60px; color: var(--on-dark);
    font-family: var(--disp); font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  }
  .mobile-bar a + a { border-left: 1px solid var(--line-dk); }
  .mobile-bar a:hover, .mobile-bar a:active { background: var(--ink-soft); color: var(--butter); }
  body { padding-bottom: 60px; }
}

@media (max-width: 560px) {
  /* a person card pairs up on a large phone, but takes the full width on a narrow one */
  .person.m6 { grid-column: span 12; }
  .person img { aspect-ratio: 5 / 4; }
}

@media (max-width: 420px) {
  :root { --gutter: 14px; }
  .tile { padding: 20px; }
  .tile-pad-lg { padding: 22px; }
  .brand-name { font-size: 17px; }
  .btn { padding: 0 20px; font-size: 14.5px; }
  .form-row { gap: 14px; }
  .form-col { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band { background-attachment: scroll; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .tile-img { transition: none; }
}

@media print {
  .site-header, .mobile-bar, .nav-drawer, .band { display: none !important; }
  body { background: #fff; padding: 0; }
  .tile { border: 1px solid #ccc; break-inside: avoid; }
}

/* ==========================================================================
   Tone-aware content colours (keeps every tile above 4.5:1)
   ========================================================================== */
.mut { font-size: 14.5px; line-height: 1.65; }
.t-ink    .mut { color: var(--on-dark-mute); }
.t-moss   .mut { color: var(--on-moss-mute); }
.t-butter .mut { color: var(--on-butter-mt); }
.t-clay   .mut { color: var(--on-clay-mute); }
.t-paper  .mut, .t-sand .mut { color: var(--muted); }
.t-stone  .mut { color: #4E5664; }

.t-ink    .lst li { color: #C8D5EA; }
.t-moss   .lst li { color: #D9EAD1; }
.t-butter .lst li { color: #2E2405; }
.t-clay   .lst li { color: #33200A; }
.t-paper  .lst li, .t-sand .lst li, .t-stone .lst li { color: var(--body); }

.t-ink    .svc-num { color: rgba(246,242,232,0.30); }
.t-moss   .svc-num { color: rgba(241,245,241,0.38); }
.t-butter .svc-num { color: rgba(17,32,74,0.34); }
.t-clay   .svc-num { color: rgba(36,16,9,0.34); }
.t-paper  .svc-num, .t-sand .svc-num { color: #8A93A8; }
.t-stone  .svc-num { color: rgba(10,42,92,0.24); }

.t-ink    .svc-icon { background: rgba(246,242,232,0.11); }
.t-moss   .svc-icon { background: rgba(241,175,20,0.22); }
.t-butter .svc-icon { background: rgba(17,32,74,0.14); }
.t-clay   .svc-icon { background: rgba(36,16,9,0.15); }
.t-paper  .svc-icon { background: var(--sand); }
.t-sand   .svc-icon { background: var(--paper); }
.t-stone  .svc-icon { background: #FFFFFF; }

.t-ink    .lab-tone { color: var(--butter); }
.t-moss   .lab-tone { color: var(--butter); }
.t-butter .lab-tone { color: var(--on-butter-mt); }
.t-clay   .lab-tone { color: var(--on-clay-mute); }
.t-paper  .lab-tone, .t-sand .lab-tone, .t-stone .lab-tone { color: var(--clay-dk); }

/* Service tile as a whole-card link.
   The tone class sits on the anchor itself, so `color: inherit` would pull the
   page colour in and override the tile's own — the hover state is therefore
   stated per tone rather than inherited. */
a.svc-card.t-ink:hover    { color: var(--on-dark); }
a.svc-card.t-moss:hover   { color: var(--on-moss); }
a.svc-card.t-butter:hover { color: var(--on-butter); }
a.svc-card.t-clay:hover   { color: var(--on-clay); }
a.svc-card.t-paper:hover,
a.svc-card.t-sand:hover,
a.svc-card.t-stone:hover  { color: var(--ink); }
a.svc-card .svc-go { transition: transform .2s ease; }
a.svc-card:hover .svc-go { transform: translateX(5px); }
.svc-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--disp); font-weight: 700; font-size: 14.5px; }

/* flexible helper utilities used across pages */
.flex      { display: flex; }
.wrapflex  { display: flex; flex-wrap: wrap; }
.between   { justify-content: space-between; }
.aend      { align-items: flex-end; }
.acenter   { align-items: center; }
.col       { display: flex; flex-direction: column; }
.jcenter   { justify-content: center; }
.grow      { flex: 1 1 420px; min-width: 0; }
.grow-sm   { flex: 1 1 300px; min-width: 0; max-width: 440px; }
.gap-8  { gap: 8px; }  .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.mt-auto { margin-top: auto; }
.pillrow { display: flex; flex-wrap: wrap; gap: 9px; }
.auto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.divide-top { padding-top: 16px; border-top: 1px solid var(--line); }
.t-ink .divide-top, .t-moss .divide-top { border-top-color: var(--line-dk); }
