/* =====================================================================
   Maids Hands For You — design system
   Brand blue from the logo stays the primary action colour; sage and warm
   neutrals carry the section rhythm. 8px spacing scale.
   ===================================================================== */
:root {
  /* brand */
  --brand: #06469F; --brand-700: #043B86; --brand-800: #03306D; --brand-900: #0A2447;
  --brand-100: #D9E6FA; --brand-50: #EDF3FC;
  /* neutrals */
  --ink: #1D2430; --text: #2F3946; --muted: #5F6B7A; --faint: #8A95A3;
  --line: #E3E7EC; --line-soft: #EDF0F4; --line-strong: #CBD3DD;
  --surface: #FFFFFF; --page: #FBFAF7;
  --warm-50: #FBF9F5; --warm-100: #F4F0E8; --warm-200: #EAE3D6;
  --sage-50: #F2F6F1; --sage-100: #E5EDE2; --sage-200: #CFDCCB; --sage-700: #4A6650;
  --accent: #C4772F; --accent-soft: #FBEEDD;
  --wa: #1FAF54; --wa-700: #178C43; --ok: #1E8E5A; --ok-soft: #E4F5EB; --danger: #B94A48; --danger-soft: #F9E7E6;
  --footer: #172220;
  /* type */
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ml: "Noto Sans Malayalam", "Manjari", "Meera", sans-serif;
  --fs-body: 1.0625rem;
  /* shape */
  --r-sm: 10px; --r: 18px; --r-lg: 24px; --r-xl: 28px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(29,36,48,.05); --shadow: 0 8px 28px rgba(29,36,48,.08); --shadow-lg: 0 20px 50px rgba(6,70,159,.14);
  /* layout */
  --container: 1220px; --gutter: 20px; --topbar-h: 38px; --navbar-h: 72px; --navbar-h-m: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
  /* hero / search aliases (spec names) */
  --brand-blue: var(--brand); --brand-blue-dark: var(--brand-700); --tile-inactive-bg: #E7EFFB; --border: #D5DEEA;
  --text-primary: var(--ink); --text-muted: var(--muted); --radius-card: 22px; --radius-input: 14px; --radius-tile: 16px;
  --shadow-soft: 0 10px 30px rgba(29,36,48,.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--navbar-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.55rem + 2.6vw, 3.75rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.25em; }
strong { color: var(--ink); font-weight: 700; }
[lang="ml"] { font-family: var(--font-ml); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 8px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--lg { width: 1.7em; height: 1.7em; }
.ph { background: var(--accent-soft); color: #7A4B10; padding: 0 .3em; border-radius: 4px; font-weight: 600; border-bottom: 2px dotted var(--accent); }
.dev-note { background: var(--accent-soft); border: 1px dashed var(--accent); color: #7A4B10; border-radius: var(--r-sm); padding: 12px 16px; font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 700; font-family: inherit; font-size: 1rem; line-height: 1.2; padding: .85em 1.35em; border-radius: var(--r-pill); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; min-height: 50px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(6,70,159,.22); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--outline { background: var(--surface); color: var(--brand); border-color: var(--brand-100); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-700); color: #fff; }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--brand-50); color: var(--brand-700); }
.btn--text { background: none; color: var(--brand); padding-inline: .5em; }
.btn--text:hover { text-decoration: underline; transform: none; }
.btn--sm { padding: .6em 1.05em; font-size: .93rem; min-height: 42px; }
.btn--lg { font-size: 1.06rem; padding: .95em 1.6em; min-height: 54px; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* ---------- Sections & rhythm ---------- */
.section { padding-block: clamp(56px, 7.5vw, 104px); }
.section--white { background: var(--surface); }
.section--warm { background: var(--warm-100); }
.section--sage { background: var(--sage-50); }
.section--brand-light { background: var(--brand-50); }
.section--neutral { background: var(--warm-50); }
.section--deep { background: var(--brand-800); color: #D9E4F5; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }
.section--sage .eyebrow { color: var(--sage-700); }
.section--deep .eyebrow { color: #A9C4F0; }
.lead { font-size: 1.15rem; color: var(--muted); line-height: 1.6; }
.section--deep .lead { color: #C9D7EE; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
a.card, .card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 12px; }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sage-100); color: var(--sage-700); flex: none; }
.icon-tile--brand { background: var(--brand-50); color: var(--brand); }
.icon-tile .ico { width: 24px; height: 24px; }
.badge { display: inline-flex; align-items: center; gap: .35em; font-size: .78rem; font-weight: 800; padding: 5px 10px; border-radius: var(--r-pill); background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
.badge .ico { width: .95em; height: .95em; }

/* ---------- Illustrated tile (used when a photo is not yet available) ---------- */
.img-tile { width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sage-100), var(--brand-50)); color: var(--sage-700); }
.img-tile .ico--tile { width: 64px; height: 64px; opacity: .8; }
/* ---------- Comparison tabs (mobile) ---------- */
.tablist { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; -webkit-overflow-scrolling: touch; }
.tab { flex: none; display: inline-flex; align-items: center; gap: .4em; min-height: 46px; padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.tabpanel h3 small { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; margin-top: 2px; }
.tabpanel dl { margin: 0 0 16px; display: grid; gap: 12px; }
.tabpanel dt { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tabpanel dd { margin: 2px 0 0; color: var(--text); }
.tabpanel + .tabpanel { margin-top: 12px; }

/* ---------- Hero (matches Kommodo mockup 5hgNDV98) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFE 55%, #F1F6FD 100%); padding-block: clamp(40px, 5vw, 64px) clamp(200px, 21vw, 300px); isolation: isolate; }
.hero-decor { position: absolute; z-index: 0; color: #4E6A93; opacity: .13; pointer-events: none; }
.hero-decor--palm { top: -10px; right: -40px; width: clamp(180px, 22vw, 320px); }
.hero-decor--boat { bottom: 70px; right: 0; width: clamp(200px, 26vw, 360px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 47fr 49fr; gap: clamp(24px, 4.5vw, 72px); align-items: center; }
.hero h1 { text-wrap: pretty; margin-bottom: 22px; font-size: clamp(2.3rem, 1.35rem + 2.3vw, 3rem); line-height: 1.08; letter-spacing: -.03em; max-width: none; }
.hero h1 em { font-style: normal; color: var(--brand); }
@media (min-width: 900px) { .hero h1 em { display: inline-block; } }
.hero-ml { font-family: var(--font-ml); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-weight: 600; color: var(--brand); margin: 0 0 18px; line-height: 1.55; max-width: 42ch; }
.hero .lead { max-width: 52ch; color: var(--text); margin-bottom: 26px; font-size: 1.12rem; }
.hero .btn--text { color: var(--brand); font-size: 1.06rem; }
.hero .btn--text .ico { color: var(--brand); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--ink); font-size: .88rem; font-weight: 700; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero-trust .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: inline-grid; place-items: center; flex: none; }
.hero-trust .tick .ico { width: 14px; height: 14px; stroke-width: 3; }
.hero-media { position: relative; margin-inline: 22px 34px; }
.hero-media__frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 24px 60px rgba(6,70,159,.16); background: var(--warm-200); }
.hero-media__frame picture, .hero-media__frame img { width: 100%; height: 100%; }
.hero-media__frame img { object-fit: cover; object-position: 60% 45%; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; box-shadow: 0 12px 32px rgba(29,36,48,.12); display: flex; align-items: center; gap: 14px; z-index: 2; }
.float-card .icon-tile { width: 44px; height: 44px; border-radius: 50%; }
.float-card .icon-tile .ico { width: 22px; height: 22px; }
.float-card strong { display: block; font-size: 1.08rem; line-height: 1.15; color: var(--ink); }
.float-card span { font-size: .84rem; color: var(--muted); }
.float-card--1 { top: 26px; left: -30px; }
.float-card--2 { right: -40px; top: 54%; }
.float-card--3 { left: 22px; bottom: 22px; }
.badge { display: inline-flex; align-items: center; gap: .35em; font-size: .78rem; font-weight: 800; padding: 5px 10px; border-radius: var(--r-pill); background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
.badge .ico { width: .95em; height: .95em; }

/* ---------- Category tiles + search panel (Kommodo mockup a7LQmxM6) ---------- */
.search-wrap { margin-top: clamp(-170px, -17vw, -240px); position: relative; z-index: 5; }
.cat-tiles { display: flex; justify-content: center; gap: 12px; margin-bottom: 14px; }
.cat-tile { width: 160px; height: 108px; padding: 14px 10px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid #DCE6F5; border-radius: var(--radius-tile); background: var(--tile-inactive-bg); color: var(--brand-blue); font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
.cat-tile__icon { width: 40px; height: 40px; stroke-width: 1.8; flex: none; }
.cat-tile__label { line-height: 1; }
.cat-tile:hover { background: #E3ECFA; transform: translateY(-1px); }
.cat-tile[aria-pressed="true"] { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; box-shadow: 0 10px 24px rgba(6,70,159,.28); }
.cat-tile[aria-pressed="true"]:hover { background: var(--brand-blue-dark); }
.cat-tile:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; }
.search-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-soft), 0 1px 2px rgba(29,36,48,.04); padding: 22px 26px 22px; }
.search-row { display: grid; grid-template-columns: 1fr 1fr 1fr 60px; gap: 18px; align-items: end; }
.sfield label { display: block; font-size: .96rem; font-weight: 700; color: var(--text-primary); margin-bottom: 7px; }
.sfield select { width: 100%; height: 54px; font: inherit; font-size: 1rem; padding: 0 44px 0 16px; border: 1px solid var(--border); border-radius: var(--radius-input); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232F3946' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; color: var(--text-primary); cursor: pointer; transition: border-color .18s; }
.sfield select:hover { border-color: #B9C7DB; }
.sfield select:focus-visible { outline: 3px solid rgba(6,70,159,.28); outline-offset: 0; border-color: var(--brand-blue); }
.sfield select:has(option:checked[value=""]) { color: var(--text-muted); }
.sfield select:disabled { background-color: #F5F7FA; color: var(--faint); cursor: not-allowed; }
.search-btn { width: 60px; height: 54px; border: 0; border-radius: 12px; background: var(--brand-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem; transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
.search-btn .ico { width: 24px; height: 24px; stroke-width: 2.2; }
.search-btn__text { display: none; }
.search-btn:hover { background: var(--brand-blue-dark); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(6,70,159,.25); }
.search-btn:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; }
.search-more { margin-top: 12px; }
.search-more__toggle { background: none; border: 0; padding: 6px 0; color: var(--brand-blue); font: inherit; font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .4em; cursor: pointer; border-radius: 6px; min-height: 36px; }
.search-more__toggle:hover { text-decoration: underline; }
.search-more__toggle[aria-expanded="true"] { margin-bottom: 8px; }
.search-row--more { grid-template-columns: 1fr 1fr; max-width: 640px; }
.js .filters-more:not(.is-open) { display: none; }
.search-more[hidden] { display: none; }

/* ---------- Trust strip ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.trust-item { padding: 22px 22px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .icon-tile { background: var(--brand-50); color: var(--brand); }
.trust-item strong { display: block; font-size: 1.05rem; line-height: 1.2; color: var(--ink); }
.trust-item span { font-size: .9rem; color: var(--muted); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split h2 { margin-top: 0; }
.media-frame { border-radius: var(--r-lg); overflow: hidden; background: var(--warm-200); }
.media-frame picture, .media-frame img { width: 100%; height: 100%; }
.media-frame img { object-fit: cover; }
.media-frame--portrait { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 3 / 2; }

/* ---------- "What Maids Hands For You is" (Kommodo mockup YLyKwbE1) ---------- */
.about-section { position: relative; overflow: hidden; background: #F8FAFD; padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 88px); isolation: isolate; }
.about-decor { position: absolute; z-index: 0; pointer-events: none; }
.about-decor--wave { left: 0; right: 0; bottom: 0; width: 100%; height: 220px; opacity: .04; }
.about-decor--leaf { left: -10px; bottom: 10px; width: clamp(90px, 10vw, 150px); color: #4A7A5A; opacity: .16; }
.about-decor--boat { right: 0; bottom: 6px; width: clamp(180px, 24vw, 340px); color: #4E6A93; opacity: .12; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 46fr 54fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
.about-copy h2 { text-wrap: pretty; font-size: clamp(2rem, 1.3rem + 1.6vw, 2.65rem); line-height: 1.08; font-weight: 750; letter-spacing: -.02em; max-width: none; margin-bottom: 22px; }
.about-copy p { font-size: 1.0625rem; line-height: 1.7; color: var(--text); max-width: 620px; margin-bottom: 26px; }
.text-cta { display: inline-flex; align-items: center; gap: .45em; color: var(--brand); font-weight: 700; font-size: 1.06rem; text-decoration: none; min-height: 44px; }
.text-cta .ico { transition: transform .2s var(--ease); }
.text-cta:hover { color: var(--brand-700); text-decoration: underline; }
.text-cta:hover .ico { transform: translateX(4px); }
.about-visual { position: relative; margin-right: calc(-1 * ((100vw - min(100vw, var(--container))) / 2 + var(--gutter))); }
.about-media { border-radius: 26px 0 0 26px; overflow: hidden; aspect-ratio: 856 / 735; background: var(--warm-200); }
.about-media picture, .about-media img { width: 100%; height: 100%; }
.about-media img { object-fit: cover; object-position: 60% 50%; }
.compare-card { position: absolute; z-index: 2; top: 5.5%; left: -9%; width: min(600px, 69.5%); min-height: 53%; max-height: 56%; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 44px rgba(29,36,48,.12); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto repeat(5, auto); grid-auto-flow: column; }
.compare-col { display: contents; }
.compare-col__title { margin: 0; padding: 20px 20px 6px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare-col--b .compare-col__title { color: var(--brand); }
.compare-col ul { display: contents; }
.compare-col li { list-style: none; display: flex; gap: 11px; align-items: flex-start; padding: 6px 20px; font-size: .97rem; line-height: 1.38; color: var(--text); }
.compare-col li:last-child, .compare-col--b li:last-child { padding-bottom: 20px; }
.compare-col--b > *, .compare-col--b li { background: #F1F8F4; border-left: 1px solid var(--line); }
.compare-col li .mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 0; }
.mark--minus { background: #FDECEC; color: #E76A6A; }
.mark--check { background: #E7F6EC; color: #25A45A; }
.mark .ico { width: 13px; height: 13px; stroke-width: 3; }
.process { list-style: none; padding: 0; margin: clamp(32px, 4vw, 48px) 0 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.process-step { position: relative; background: #fff; border: 1px solid #DCE4EF; border-radius: 999px; min-height: 96px; padding: 14px 18px 14px 14px; display: flex; align-items: center; gap: 14px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.process-step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.process-step__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.process-step__icon .ico { width: 26px; height: 26px; }
.process-step strong { display: block; font-size: 1.04rem; color: var(--ink); margin-bottom: 2px; line-height: 1.2; }
.process-step span:not(.process-step__icon) { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.process-step + .process-step::before { content: ""; position: absolute; left: -30px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A9BB5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
/* legacy process-line kept for other pages */
.process-line { display: none; }

/* ---------- Services (bento) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.service-card { grid-column: span 2; }
.service-card--lg { grid-column: span 3; padding: 0; overflow: hidden; }
.service-card--lg .service-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--warm-200); }
.service-card--lg .service-card__media picture, .service-card--lg .service-card__media img { width: 100%; height: 100%; }
.service-card--lg .service-card__media img { object-fit: cover; transition: transform .22s var(--ease); }
.service-card--lg:hover .service-card__media img { transform: scale(1.02); }
.service-card--lg .service-card__body { padding: 22px 24px 24px; }
.service-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.service-card__top .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.service-card__top .icon-tile .ico { width: 22px; height: 22px; }
.service-card--lg h3 { font-size: 1.45rem; }
.service-card .link-more { margin-top: auto; font-size: .95rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: calc(16.66% + 30px); right: calc(16.66% + 30px); top: 30px; height: 2px; background: linear-gradient(90deg, var(--sage-200), var(--brand-100), var(--sage-200)); }
.step { position: relative; }
.step__num { width: 60px; height: 60px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); color: var(--brand); font-weight: 800; font-size: 1.05rem; display: grid; place-items: center; margin-bottom: 18px; letter-spacing: .04em; position: relative; z-index: 1; }
.step__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--surface); color: var(--sage-700); border: 1px solid var(--sage-200); display: grid; place-items: center; margin-bottom: 14px; }
.step__icon .ico { width: 26px; height: 26px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Comparison table ---------- */
.compare-table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
thead th { background: var(--warm-50); color: var(--ink); font-weight: 800; font-size: .95rem; }
thead th .col-head { display: flex; align-items: center; gap: 10px; }
thead th .col-head .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
thead th .col-head .icon-tile .ico { width: 18px; height: 18px; }
thead th .col-head small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
tbody th { color: var(--ink); font-weight: 800; background: var(--warm-50); width: 190px; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.compare-tabs { display: none; }
.still-unsure { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; background: var(--sage-50); border: 1px solid var(--sage-200); border-radius: var(--r); padding: 18px 22px; }
.still-unsure p { margin: 0; }

/* ---------- Why list ---------- */
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.why-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.why-list .mark { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); color: var(--ok); border: 1px solid var(--line); display: grid; place-items: center; }
.why-list .mark .ico { width: 20px; height: 20px; stroke-width: 2.6; }
.why-list h3 { font-size: 1.12rem; margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Profile preview ---------- */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard { position: relative; }
.pcard__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.pcard__avatar { width: 56px; height: 56px; border-radius: 16px; background: var(--sage-100); color: var(--sage-700); display: grid; place-items: center; flex: none; }
.pcard__avatar .ico { width: 28px; height: 28px; }
.pcard__title { margin: 0; font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.pcard__sub { margin: 2px 0 0; color: var(--muted); font-size: .92rem; display: inline-flex; align-items: center; gap: .3em; }
.pcard .badge { position: absolute; top: 20px; right: 20px; }
.pcard__facts { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: .95rem; color: var(--text); }
.pcard__facts li { display: flex; gap: 10px; align-items: center; }
.pcard__facts .ico { color: var(--faint); }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pcard__tags li { font-size: .82rem; font-weight: 700; background: var(--warm-100); color: var(--text); padding: 5px 10px; border-radius: var(--r-pill); }
.pcard__note { font-size: .82rem; color: var(--faint); margin: 14px 0 0; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; }
.plan p.plan__name { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.plan p.plan__dur { margin: 0 0 14px; color: var(--text); font-weight: 600; }
.plan p.plan__price { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1; margin: 0 0 20px; }
.plan p.plan__price small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.plan li .ico { color: var(--ok); margin-top: 3px; stroke-width: 2.6; }
.plan--featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.pricing-note { text-align: center; color: var(--text); margin: 26px auto 0; max-width: 60ch; font-weight: 600; }
.other-plans { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.other-plans p { margin: 0; color: var(--text); }
.other-plans ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.other-plans li { background: var(--warm-100); border-radius: var(--r-pill); padding: 6px 12px; font-size: .9rem; font-weight: 700; color: var(--text); }

/* ---------- Districts ---------- */
.districts-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.kerala-map { max-width: 320px; margin-inline: auto; }
.kerala-map svg { width: 100%; height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 22px; }
.chips a { display: inline-flex; align-items: center; gap: .4em; padding: 10px 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); font-weight: 700; text-decoration: none; font-size: .95rem; min-height: 46px; transition: border-color .18s, background .18s, color .18s; }
.chips a:hover { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.chips a .ico { color: var(--brand); width: 1em; height: 1em; }
.office-line { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; color: var(--text); }
.office-line .ico { color: var(--brand); margin-top: 3px; }
.outside { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.outside strong { margin-right: 4px; }

/* ---------- Other help ---------- */
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.mini-card h3 { font-size: 1.05rem; margin: 0 0 2px; }
.mini-card p { margin: 0; font-size: .9rem; }
.mini-card .ico--go { margin-left: auto; color: var(--brand); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote blockquote { margin: 0 0 14px; font-size: 1rem; color: var(--text); }
.quote footer { font-size: .9rem; color: var(--muted); font-weight: 700; }
.stars { color: var(--accent); display: inline-flex; gap: 2px; margin-bottom: 10px; }
.stars .ico { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Worker CTA ---------- */
.worker-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.worker-cta .media-frame { aspect-ratio: 4 / 5; max-height: 520px; }
.benefit-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.benefit-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.benefit-list .ico { color: var(--ok); stroke-width: 2.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 800; color: var(--ink); position: relative; font-size: 1.05rem; line-height: 1.35; min-height: 56px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq summary:hover { background: var(--warm-50); }
.faq summary h3 { display: inline; font: inherit; color: inherit; margin: 0; }
.faq__a { padding: 0 22px 20px; color: var(--text); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Company trust ---------- */
.trust-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.trust-panel h2 { margin-bottom: 6px; }
.trust-panel .legal { color: var(--muted); margin-bottom: 18px; }
.nap-block { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nap-block li { display: flex; gap: 10px; align-items: flex-start; }
.nap-block .ico { color: var(--brand); flex: none; margin-top: 4px; }
.trust-panel__side { display: grid; gap: 12px; }
.fact { background: var(--warm-50); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.fact .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.fact .icon-tile .ico { width: 20px; height: 20px; }
.fact strong { display: block; color: var(--ink); }
.fact span { font-size: .88rem; color: var(--muted); }
.reviewed { margin-top: 18px; font-size: .92rem; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
.final-cta .cta-row { justify-content: center; margin-top: 26px; }
.final-cta .trust-line { margin: 22px 0 0; color: #B8CAEA; font-size: .95rem; font-weight: 600; }

/* ---------- Placeholder pages ---------- */
.page-hero { background: linear-gradient(180deg, var(--warm-50), var(--brand-50)); padding-block: clamp(40px, 5vw, 64px); }
.page-hero .lead { max-width: 70ch; }
.page-hero .cta-row { margin-top: 20px; }
.notice { background: var(--accent-soft); border: 1px solid #ECD3B0; border-radius: 12px; padding: 16px 18px; margin-bottom: 28px; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a { font-weight: 700; }
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; color: var(--faint); padding: 0 6px; }
.breadcrumbs a { text-decoration: none; color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }
.error-page { text-align: center; padding-block: clamp(60px, 10vw, 120px); }

/* ---------- Floating / mobile bar ---------- */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31,175,84,.4); z-index: 90; }
.wa-float:hover { background: var(--wa-700); color: #fff; }
.mobile-bar { display: none; }

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