/* ==========================================================================
   Wartens Energy — main stylesheet
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Components  6. Sections
   7. Header & navigation  8. Footer  9. Utilities & motion
   ========================================================================== */

/* 1. Fonts (self-hosted) -------------------------------------------------- */
@font-face { font-family: 'Exo 2'; font-weight: 800; font-style: normal; font-display: swap; src: url('/assets/fonts/exo-2-800.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans Malayalam'; font-weight: 400; font-display: swap; src: url('/assets/fonts/noto-sans-malayalam-400.woff2') format('woff2'); unicode-range: U+0D00-0D7F, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Malayalam'; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/noto-sans-malayalam-600.woff2') format('woff2'); unicode-range: U+0D00-0D7F, U+200C-200D, U+25CC; }

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --sand: #F4F9FA;
  --white: #FFFFFF;
  --forest: #00404D;
  --ink: #062E36;
  --slate: #4A6269;
  --line: #DAE7EA;
  --brand: #00838F;
  --action: #00707E;
  --action-hover: #00525D;
  --energy: #7CF29A;
  --mint: #DDEFF2;
  --amber: #7CF29A;  /* offer badges: Solar Lime with dark-teal text */
  --error: #C8372D;
  --info: #1C64B8;

  --on-dark-body: #B8DBE1;
  --forest-2: #0A5260;       /* raised surfaces on Forest */
  --forest-line: #1B6572;

  --font-head: 'Exo 2', 'Noto Sans Malayalam', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'Noto Sans Malayalam', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-h1: 38px; --fs-h2: 30px; --fs-h3: 20px; --fs-body: 16px; --fs-small: 14px; --fs-lead: 18px;

  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-badge: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 64, 77, .06);
  --shadow-md: 0 10px 30px -12px rgba(0, 64, 77, .22);
  --shadow-lg: 0 24px 60px -24px rgba(0, 64, 77, .35);

  --container: 1280px;
  --gutter: 20px;
  --section-y: 64px;
  --header-h: 72px;

  /* Rounded-cell motif, echoing the logo */
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Crect x='4' y='4' width='18' height='18' rx='4' fill='%2300838F' fill-opacity='.07'/%3E%3C/svg%3E");
  --motif-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Crect x='4' y='4' width='18' height='18' rx='4' fill='%237CF29A' fill-opacity='.07'/%3E%3C/svg%3E");
}
@media (min-width: 768px) {
  :root { --fs-h1: 46px; --fs-h2: 34px; --fs-h3: 22px; --gutter: 32px; --section-y: 88px; }
}
@media (min-width: 1100px) {
  :root { --fs-h1: 56px; --fs-h2: 40px; --fs-h3: 24px; --fs-body: 17px; --fs-lead: 19px; --section-y: 104px; --header-h: 80px; }
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; color: var(--forest); margin: 0 0 .5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--action); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
strong { font-weight: 600; }
ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--info); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .band-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--energy); }
:lang(ml) body, html:lang(ml-IN) body { line-height: 1.75; }
::selection { background: var(--energy); color: var(--forest); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--radius-btn); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 4. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * .6); }
.section-white { background: var(--white); }
.section-mint { background: var(--mint); }
.section-motif { background-image: var(--motif); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--slate); font-size: var(--fs-lead); }
.grid { display: grid; gap: 24px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(12, 1fr); gap: 32px; } .split > :first-child { grid-column: 1 / span 6; } .split > :last-child { grid-column: 8 / span 5; } .split.split-even > :first-child { grid-column: 1 / span 6; } .split.split-even > :last-child { grid-column: 7 / span 6; } }
.stack > * + * { margin-top: 16px; }

/* 5. Components ----------------------------------------------------------- */
.kicker { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--slate); margin-bottom: 12px; }
.on-dark .kicker, .band-dark .kicker { color: var(--on-dark-body); }
.lead { font-size: var(--fs-lead); color: var(--slate); }
.muted { color: var(--slate); }
.small { font-size: var(--fs-small); }
.fine-print { font-size: 13px; color: var(--slate); }
.on-dark .fine-print, .band-dark .fine-print { color: var(--on-dark-body); }

/* Buttons */
.btn {
  --btn-bg: var(--energy); --btn-fg: var(--forest); --btn-bd: var(--energy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-btn);
  border: 2px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { --btn-bg: #5EE884; --btn-bd: #5EE884; color: var(--forest); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-secondary { --btn-bg: transparent; --btn-fg: var(--action); --btn-bd: var(--action); }
.btn-secondary:hover { --btn-bg: var(--mint); --btn-bd: var(--action-hover); color: var(--action-hover); }
.btn-energy { --btn-bg: var(--energy); --btn-fg: var(--forest); --btn-bd: var(--energy); }
.btn-energy:hover { --btn-bg: #5EE884; --btn-bd: #5EE884; color: var(--forest); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: var(--energy); }
.btn-outline-light:hover { --btn-bg: rgba(124, 242, 154, .12); --btn-bd: var(--energy); color: #fff; }
.btn-whatsapp { --btn-bg: #0B7A3E; --btn-bd: #0B7A3E; --btn-fg: #fff; }
.btn-whatsapp:hover { --btn-bg: #075C2E; --btn-bd: #075C2E; color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; white-space: nowrap; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--action); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }
.on-dark .link-arrow, .band-dark .link-arrow { color: var(--energy); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-badge); font: 600 14px/1.2 var(--font-body); }
.badge-offer { background: var(--amber); color: var(--forest); }
.badge-label { background: var(--mint); color: var(--forest); border: 1px solid #C2E4EA; }
.badge-soon { background: var(--forest); color: var(--energy); }
.badge .icon { width: 16px; height: 16px; }

/* Icons */
.icon { width: 24px; height: 24px; flex: none; }
.icon-tile { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--mint); color: var(--action); margin-bottom: 16px; }
.icon-tile .icon { width: 26px; height: 26px; }
.on-dark .icon-tile, .band-dark .icon-tile { background: var(--forest-2); color: var(--energy); }

/* Cards */
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); }
.card p:last-child { margin-bottom: 0; }
.card-link:hover, .card-link:focus-within { box-shadow: var(--shadow-md); border-color: #C6E0E5; }
.card-link .stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card-link h3 a { color: inherit; text-decoration: none; }
.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--mint); }
.card-media .card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-media .card-body > :last-child { margin-top: auto; }
.card-dark { background: var(--forest-2); border-color: var(--forest-line); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--on-dark-body); }

/* Check lists */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 6px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300707E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.on-dark .checklist li::before, .band-dark .checklist li::before { background-color: var(--forest-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237CF29A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checklist-2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .checklist-2 { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--mint); color: var(--forest); font-weight: 600; font-size: 14px; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 600; color: var(--forest); }
.table .row-featured { background: #F0F8F9; }
.table .badge { margin-left: 8px; font-size: 12px; padding: 3px 10px; vertical-align: middle; }
.table .row-note { display: block; font-weight: 400; font-size: 13px; color: var(--slate); margin-top: 4px; }
.placeholder { color: var(--slate); font-style: normal; background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(245, 165, 36, .12) 6px 12px); border-radius: 4px; padding: 0 4px; }
.guide-body table { margin: 1.5em 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; min-width: 0; }

/* Accordion (FAQ) */
.accordion { display: grid; gap: 12px; }
.accordion details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--forest); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .2s ease; color: var(--action); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion .answer { padding: 0 22px 20px; color: var(--slate); }
.accordion .answer p:last-child { margin: 0; }
.accordion .topic { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 2px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 15px; color: var(--forest); }
.field .req { color: var(--error); margin-left: 2px; }
.field .hint { font-size: 13px; color: var(--slate); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #C3D3D7; border-radius: var(--radius-btn);
  background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 110px; 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='%2300707E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 42px; }
.input:hover, .select:hover, .textarea:hover { border-color: #98AFB5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 3px rgba(0, 112, 126, .22); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.field .error { display: none; color: var(--error); font-size: 14px; font-weight: 600; }
.field.has-error .error { display: block; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.choice-group legend { margin-bottom: 8px; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid #C3D3D7; border-radius: var(--radius-btn); background: #fff; font-weight: 600; font-size: 15px; color: var(--forest); cursor: pointer; }
.choice input:checked + span { border-color: var(--action); background: var(--mint); box-shadow: inset 0 0 0 1px var(--action); }
.choice input:focus-visible + span { outline: 3px solid var(--info); outline-offset: 2px; }
.form-note { font-size: 13px; color: var(--slate); }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-btn); font-weight: 600; }
.form-status.is-success { display: block; background: var(--mint); color: var(--forest); border: 1px solid #BDE3E9; }
.form-status.is-error { display: block; background: #FDF1F0; color: var(--error); border: 1px solid #F3C7C3; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-card h2, .form-card h3 { margin-bottom: 6px; }

/* Breadcrumbs */
.breadcrumbs { font-size: 14px; margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--slate); }
.breadcrumbs li + li::before { content: '/'; color: #98ABB1; }
.breadcrumbs a { color: var(--slate); }
.on-dark .breadcrumbs li, .on-dark .breadcrumbs a { color: var(--on-dark-body); }

/* Notices */
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; background: #EEF4FB; border: 1px solid #CFE0F3; color: #123E6E; font-size: 15px; }
.notice .icon { color: var(--info); flex: none; margin-top: 2px; }
.notice p:last-child { margin: 0; }

/* 6. Sections ------------------------------------------------------------- */

/* Hero (home) */
.hero { position: relative; overflow: hidden; background: var(--forest); color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 64, 77, .95) 0%, rgba(0, 64, 77, .86) 45%, rgba(0, 64, 77, .35) 100%); }
@media (max-width: 899px) { .hero::before { background: linear-gradient(180deg, rgba(0, 64, 77, .82) 0%, rgba(0, 64, 77, .94) 60%); } }
.hero-inner { padding-block: 56px 64px; display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .hero-inner { padding-block: 110px 120px; grid-template-columns: 7fr 5fr; } }
.hero h1 { color: #fff; max-width: 14ch; margin: 18px 0 18px; }
.hero .lead { color: var(--on-dark-body); max-width: 56ch; }
.hero .btn-row { margin-top: 28px; }
.hero-card { background: rgba(10, 82, 96, .92); border: 1px solid var(--forest-line); border-radius: var(--radius-card); padding: 24px; backdrop-filter: blur(6px); max-width: 420px; }
.hero-card .label { font-size: 14px; color: var(--on-dark-body); }
.hero-card .value { font-family: var(--font-head); font-weight: 800; font-size: 32px; color: #fff; line-height: 1.1; margin: 4px 0 12px; }
.hero-card .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-dark-body); border-top: 1px solid var(--forest-line); padding-top: 12px; }
.hero-card .meta strong { color: var(--energy); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--on-dark-body); padding: 0; list-style: none; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 18px; height: 18px; color: var(--energy); }

/* Page hero (inner pages) */
.page-hero { background: var(--forest) var(--motif-dark); color: #fff; }
.page-hero .container { padding-block: 48px 56px; }
@media (min-width: 900px) { .page-hero .container { padding-block: 72px 80px; } }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: var(--on-dark-body); max-width: 60ch; }
.page-hero .btn-row { margin-top: 24px; }
.page-hero-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .page-hero-split { grid-template-columns: 7fr 5fr; gap: 56px; } }
.page-hero-split img { border-radius: var(--radius-card); border: 1px solid var(--forest-line); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Segment selector */
.segments { margin-top: -48px; position: relative; z-index: 2; }
.segment { display: flex; flex-direction: column; gap: 10px; padding: 28px; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-md); transition: transform .2s ease, box-shadow .2s ease; }
.segment:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.segment h2 { font-size: 22px; margin: 0; }
.segment p { color: var(--slate); margin: 0; }
.segment .link-arrow { margin-top: auto; padding-top: 8px; }
.segment .icon-tile { margin-bottom: 4px; }

/* Solution rows */
.solution-row { display: grid; gap: 28px; align-items: center; padding-block: 36px; border-top: 1px solid var(--line); }
.solution-row:first-of-type { border-top: 0; }
@media (min-width: 900px) {
  .solution-row { grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 48px; }
  .solution-row.reverse .solution-media { order: 2; }
}
.solution-media img { border-radius: var(--radius-card); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); }
.solution-text .kicker { margin-bottom: 8px; }
.solution-text ul { margin: 16px 0 20px; }
.solution-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }

/* Dark band / proof band */
.band-dark { background: var(--forest) var(--motif-dark); color: var(--on-dark-body); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lead, .band-dark p { color: var(--on-dark-body); }
.stats { display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); background: var(--forest-line); border: 1px solid var(--forest-line); border-radius: var(--radius-card); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--forest); padding: 28px 24px; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 5vw, 52px); line-height: 1; color: var(--energy); }
.stat .lbl { margin-top: 10px; color: var(--on-dark-body); font-size: 15px; }
.creds { display: grid; gap: 16px; margin-top: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .creds { grid-template-columns: repeat(4, 1fr); } }
.cred { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--forest-line); border-radius: 12px; background: var(--forest-2); }
.cred .icon { color: var(--energy); margin-top: 2px; }
.cred strong { display: block; color: #fff; font-weight: 600; }
.cred span { font-size: 14px; color: var(--on-dark-body); }

/* Why Wartens */
.why .card { height: 100%; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--forest); color: var(--energy); font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--slate); margin: 0; }

/* Calculator */
.calc { display: grid; gap: 24px; }
@media (min-width: 960px) { .calc { grid-template-columns: 6fr 5fr; gap: 32px; align-items: start; } }
.calc-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
@media (min-width: 768px) { .calc-form { padding: 36px; } }
.range-row { display: flex; gap: 14px; align-items: center; }
.range-row input[type=range] { flex: 1; accent-color: var(--action); height: 32px; }
.range-row .input { width: 140px; flex: none; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--slate); font-weight: 600; }
.input-prefix .input { padding-left: 32px; }
.calc-result { background: var(--forest) var(--motif-dark); color: var(--on-dark-body); border-radius: var(--radius-card); padding: 28px; }
@media (min-width: 960px) { .calc-result { position: sticky; top: calc(var(--header-h) + 16px); } }
@media (min-width: 768px) { .calc-result { padding: 36px; } }
.calc-result h3 { color: #fff; }
.calc-result .pkg { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--forest-2); border: 1px solid var(--forest-line); margin: 14px 0 20px; }
.calc-result .pkg-name { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 20px; }
.calc-result .pkg-size { font-family: var(--font-head); font-weight: 800; color: var(--energy); font-size: 28px; white-space: nowrap; }
.calc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--forest-line); border-radius: 12px; overflow: hidden; border: 1px solid var(--forest-line); }
.calc-metric { background: var(--forest); padding: 16px; }
.calc-metric .k { font-size: 13px; color: var(--on-dark-body); }
.calc-metric .v { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: #fff; line-height: 1.2; margin-top: 4px; }
.calc-metric .v.accent { color: var(--energy); }
.calc-metric .v.pending { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--on-dark-body); }
.calc-notes { margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; display: grid; gap: 6px; }
.calc-notes li { display: flex; gap: 8px; }
.calc-notes .icon { width: 18px; height: 18px; color: var(--energy); margin-top: 2px; }
.calc-result .btn-row { margin-top: 22px; }
.calc-result .btn { flex: 1 1 200px; }

/* Service area */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.area-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-badge); font-weight: 600; color: var(--forest); }
.area-list .icon { width: 18px; height: 18px; color: var(--action); }
.area-list li.primary { background: var(--forest); color: #fff; border-color: var(--forest); }
.area-list li.primary .icon { color: var(--energy); }

/* NRI band */
.nri-band { background: var(--mint) var(--motif); }
.feature-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .icon-tile { width: 42px; height: 42px; margin: 0; flex: none; background: #fff; }
.feature-list .icon-tile .icon { width: 22px; height: 22px; }
.feature-list strong { display: block; color: var(--forest); }
.feature-list span { color: var(--slate); font-size: 15px; }

/* Closing CTA band */
.cta-band { background: var(--forest) var(--motif-dark); color: var(--on-dark-body); }
.cta-band .container { padding-block: 64px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1fr auto; padding-block: 80px; } }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-band .btn-row { justify-content: flex-start; }

/* Package cards / tiers */
.tier { border-top: 4px solid var(--brand); }
.tier.premium { border-top-color: var(--forest); }

/* Comparison */
.compare th[scope=col] { min-width: 160px; }
.compare td .yes { color: var(--action); font-weight: 600; }
.compare td .no { color: var(--slate); }

/* Filter bar (projects) */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn { min-height: 44px; padding: 8px 18px; border-radius: var(--radius-badge); border: 1.5px solid #C3D3D7; background: #fff; color: var(--forest); font: 600 15px/1 var(--font-body); cursor: pointer; }
.filter-btn[aria-pressed=true] { background: var(--forest); color: #fff; border-color: var(--forest); }
.project-card[hidden] { display: none; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--slate); margin: 0; padding: 0; list-style: none; }
.project-meta li { display: inline-flex; align-items: center; gap: 6px; }
.project-meta .icon { width: 16px; height: 16px; color: var(--action); }

/* Offices */
.office { display: flex; flex-direction: column; gap: 6px; }
.office h3 { font-size: 18px; margin: 0; }
.office p { margin: 0; }
.office a { font-weight: 600; }

/* Founder */
.founder { display: grid; gap: 28px; align-items: start; }
@media (min-width: 800px) { .founder { grid-template-columns: 280px 1fr; gap: 48px; } }
.founder img { border-radius: var(--radius-card); border: 1px solid var(--line); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* Group structure */
.group-tree { display: grid; gap: 16px; }
@media (min-width: 900px) { .group-tree { grid-template-columns: repeat(3, 1fr); } }
.group-tree .card.current { border: 2px solid var(--brand); }

/* Guide article */
.guide-body { font-size: var(--fs-lead); }
.guide-body h2 { font-size: 28px; margin-top: 1.6em; }
.guide-body li { margin-bottom: .5em; }
.guide-body ol { padding-left: 1.4em; }

/* Legal */
.legal-body h2 { font-size: 26px; margin-top: 1.6em; }
.legal-body { max-width: 760px; }

/* Map placeholder */
.map-frame { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); background: var(--mint); }
.map-frame img { width: 100%; aspect-ratio: 12 / 7; object-fit: cover; }

/* Coming soon */
.soon-card { border-style: dashed; border-color: #BCD3D8; background: #FBFDFD; }
.soon-card .badge { position: absolute; top: 20px; right: 20px; }

/* 7. Header & navigation -------------------------------------------------- */
.utility-bar { background: var(--forest); color: var(--on-dark-body); font-size: 14px; }
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.utility-bar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.utility-bar a:hover { color: var(--energy); }
.utility-bar .icon { width: 16px; height: 16px; color: var(--energy); }
.utility-left, .utility-right { display: flex; align-items: center; gap: 20px; }
.utility-bar .hide-sm { display: none; }
@media (min-width: 900px) { .utility-bar .hide-sm { display: inline-flex; } }
.lang-switch { display: inline-flex; border: 1px solid var(--forest-line); border-radius: 8px; overflow: hidden; }
.lang-switch a { padding: 3px 10px; font-weight: 600; font-size: 13px; color: var(--on-dark-body); }
.lang-switch a[aria-current=true] { background: var(--energy); color: var(--forest); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0, 64, 77, .35); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); transition: height .2s ease; }
.site-header.is-scrolled .header-inner { height: calc(var(--header-h) - 14px); }
.brand { display: inline-flex; flex: none; padding-block: 8px; }
.brand img { height: 42px; width: auto; transition: height .2s ease; }
.site-header.is-scrolled .brand img { height: 36px; }
@media (min-width: 1100px) { .brand img { height: 48px; } .site-header.is-scrolled .brand img { height: 40px; } }
.brand img { max-width: none; }
.primary-nav { display: none; margin-left: auto; }
.header-cta { display: none; }
.nav-toggle { margin-left: auto; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-btn); border: 1px solid var(--line); background: #fff; color: var(--forest); cursor: pointer; }
@media (min-width: 1240px) {
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: static; }
.nav-trigger { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 8px; white-space: nowrap; border: 0; border-radius: 8px; background: none; color: var(--forest); font: 600 15px/1 var(--font-body); cursor: pointer; text-decoration: none; }
.nav-trigger .icon { width: 16px; height: 16px; transition: transform .2s ease; color: var(--action); display: none; }
@media (min-width: 1440px) { .nav-trigger .icon { display: block; } .nav-trigger { padding-inline: 10px; } }
.nav-trigger:hover, .nav-trigger[aria-expanded=true] { background: var(--mint); color: var(--forest); }
.nav-trigger[aria-expanded=true] .icon { transform: rotate(180deg); }
.nav-trigger.is-current { box-shadow: inset 0 -3px 0 var(--brand); border-radius: 8px 8px 0 0; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 64, 77, .35); display: none; }
.mega.is-open { display: block; animation: megaIn .18s ease; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-inner { display: grid; grid-template-columns: 3fr 9fr 4fr; gap: 32px; padding-block: 32px 36px; }
.mega-intro h2 { font-size: 24px; margin-bottom: 8px; }
.mega-intro p { color: var(--slate); font-size: 15px; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; align-content: start; }
.mega-links a { display: flex; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; color: inherit; }
.mega-links a:hover { background: var(--mint); }
.mega-links .icon { color: var(--action); margin-top: 2px; }
.mega-links strong { display: block; color: var(--forest); font-weight: 600; }
.mega-links span { font-size: 14px; color: var(--slate); }
.mega-feature { background: var(--forest) var(--motif-dark); color: var(--on-dark-body); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mega-feature h3 { color: #fff; font-size: 20px; margin: 0; }
.mega-feature p { font-size: 15px; margin: 0 0 8px; }
.mega-feature .icon-tile { background: var(--forest-2); color: var(--energy); margin: 0; width: 44px; height: 44px; }
.mega-feature .btn { align-self: flex-start; margin-top: auto; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; background: #fff; display: none; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.drawer.is-open { display: flex; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); min-height: var(--header-h); position: sticky; top: 0; background: #fff; }
.drawer-head img { height: 42px; width: auto; }
.drawer-body { padding: 8px var(--gutter) 32px; flex: 1; }
.drawer-section { border-bottom: 1px solid var(--line); }
.drawer-section > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; background: none; border: 0; font: 800 20px/1.2 var(--font-head); color: var(--forest); cursor: pointer; text-align: left; }
.drawer-section > button .icon { transition: transform .2s ease; color: var(--action); }
.drawer-section > button[aria-expanded=true] .icon { transform: rotate(180deg); }
.drawer-links { list-style: none; margin: 0; padding: 0 0 16px; display: none; }
.drawer-links.is-open { display: block; }
.drawer-links a { display: block; padding: 10px 0; text-decoration: none; color: var(--forest); font-weight: 600; }
.drawer-links a span { display: block; font-weight: 400; font-size: 14px; color: var(--slate); }
.drawer-foot { padding: 20px var(--gutter) 28px; display: grid; gap: 12px; border-top: 1px solid var(--line); background: var(--sand); }
body.drawer-open { overflow: hidden; }

/* Floating WhatsApp + mobile sticky CTA */
.wa-float { position: fixed; right: 16px; bottom: 84px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #0B7A3E; color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45); transition: transform .2s ease, background-color .2s ease; }
.wa-float:hover { transform: scale(1.06); background: #075C2E; color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 89; display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0, 64, 77, .4); }
.mobile-cta .btn { flex: 1; min-height: 48px; }
.mobile-cta .btn-call { flex: 0 0 52px; padding: 0; }
@media (min-width: 900px) { .mobile-cta { display: none; } .wa-float { bottom: 24px; right: 24px; } }
@media (max-width: 899px) { body { padding-bottom: 72px; } }

/* 8. Footer --------------------------------------------------------------- */
.site-footer { background: var(--forest); color: var(--on-dark-body); font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--energy); text-decoration: underline; }
.footer-top { display: grid; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 4fr 8fr; gap: 64px; } }
.footer-brand img { width: 220px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 36ch; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .footer-cols { grid-template-columns: repeat(5, 1fr); } }
.footer-cols h2 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--energy); margin-bottom: 14px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-offices { display: grid; gap: 20px; padding-block: 32px; border-top: 1px solid var(--forest-line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-offices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-offices { grid-template-columns: repeat(5, 1fr); } }
.footer-offices h3 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: #fff; margin: 0 0 4px; }
.footer-offices p { margin: 0; font-size: 14px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; padding-block: 24px; border-top: 1px solid var(--forest-line); }
.footer-contact a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--energy); }
.social { display: flex; gap: 8px; margin-left: auto; list-style: none; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--forest-line); }
.social a:hover { background: var(--forest-2); text-decoration: none; }
.social .icon { width: 20px; height: 20px; }
.footer-legal { padding-block: 24px 32px; border-top: 1px solid var(--forest-line); font-size: 13px; display: grid; gap: 10px; }
@media (min-width: 900px) { .footer-legal { grid-template-columns: 1fr auto; } }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 0; }
.footer-legal p { margin: 0; }
.footer-motto { font-family: var(--font-head); font-weight: 800; color: #fff; letter-spacing: .02em; }

/* 9. Utilities & motion --------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.center-row { justify-content: center; }
.nowrap { white-space: nowrap; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .utility-bar, .site-header, .wa-float, .mobile-cta, .cta-band, .site-footer .social { display: none !important; }
  body { background: #fff; padding: 0; }
}
.h3 { font-size: var(--fs-h3); line-height: 1.2; }

/* Malayalam labels run longer: use the drawer menu up to a wider breakpoint */
@media (max-width: 1599px) {
  html[lang="ml-IN"] .primary-nav, html[lang="ml-IN"] .header-cta { display: none; }
  html[lang="ml-IN"] .nav-toggle { display: inline-grid; }
}

/* Malayalam typography: taller line-height for stacked conjuncts, no wide tracking */
html[lang="ml-IN"] h1, html[lang="ml-IN"] h2, html[lang="ml-IN"] h3, html[lang="ml-IN"] h4 { line-height: 1.4; letter-spacing: 0; font-weight: 600; }
html[lang="ml-IN"] { --fs-h1: 30px; --fs-h2: 25px; --fs-h3: 19px; }
@media (min-width: 768px) { html[lang="ml-IN"] { --fs-h1: 38px; --fs-h2: 30px; --fs-h3: 21px; } }
@media (min-width: 1100px) { html[lang="ml-IN"] { --fs-h1: 44px; --fs-h2: 33px; --fs-h3: 22px; } }
html[lang="ml-IN"] .hero h1, html[lang="ml-IN"] .page-hero h1 { max-width: 24ch; }
html[lang="ml-IN"] .kicker, html[lang="ml-IN"] .footer-cols h2, html[lang="ml-IN"] .accordion .topic { letter-spacing: .02em; text-transform: none; }
html[lang="ml-IN"] .btn, html[lang="ml-IN"] .nav-trigger { font-weight: 600; }
html[lang="ml-IN"] .hero-card .value, html[lang="ml-IN"] .stat .num, html[lang="ml-IN"] .calc-metric .v, html[lang="ml-IN"] .calc-result .pkg-size { font-family: 'Exo 2', var(--font-head); }

/* ==========================================================================
   v3 — Photo-led redesign (October 2026)
   ========================================================================== */
:root { --radius-card: 20px; --radius-xl: 28px; --shadow-photo: 0 30px 60px -30px rgba(0, 40, 50, .55); }

/* Transparent header over photo heroes ------------------------------------ */
.brand .logo-on-dark { display: none; }
.has-photo-hero .site-header:not(.is-scrolled):not(:has(.mega.is-open)) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; box-shadow: none; }
.has-photo-hero .site-header:not(.is-scrolled):not(:has(.mega.is-open)) .brand .logo-on-light { display: none; }
.has-photo-hero .site-header:not(.is-scrolled):not(:has(.mega.is-open)) .brand .logo-on-dark { display: block; }
.has-photo-hero .site-header:not(.is-scrolled):not(:has(.mega.is-open)) .nav-trigger { color: #fff; }
.has-photo-hero .site-header:not(.is-scrolled):not(:has(.mega.is-open)) .nav-trigger .icon { color: var(--energy); }
.has-photo-hero .site-header:not(.is-scrolled):not(:has(.mega.is-open)) .nav-trigger:hover { background: rgba(255, 255, 255, .12); }
.has-photo-hero .site-header:not(.is-scrolled):not(:has(.mega.is-open)) .nav-toggle { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #fff; }
.has-photo-hero main > :first-child { margin-top: calc(-1 * var(--header-h)); }
.site-header { transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease; }

/* Shared photo helpers ------------------------------------------------------ */
.ph { position: relative; overflow: hidden; background: #0d4752; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-zoom > img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ph-zoom:hover > img, a:hover .ph-zoom > img, a:focus-visible .ph-zoom > img { transform: scale(1.05); }
.shade-bottom::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 40, 48, 0) 35%, rgba(0, 40, 48, .88) 100%); pointer-events: none; }
.illustrative { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(0, 0, 0, .45); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 4px 9px; border-radius: 99px; backdrop-filter: blur(4px); }

/* Home hero -------------------------------------------------------------------- */
.hx { position: relative; isolation: isolate; color: #fff; min-height: min(100svh, 900px); display: flex; flex-direction: column; justify-content: flex-end; background: #00404d; overflow: hidden; }
.hx-media { position: absolute; inset: 0; z-index: -2; }
.hx-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-media img:nth-child(1) { animation: hxZoomOnce 16s ease-out forwards; }
.hx-media img:nth-child(n+2) { opacity: 0; }
.hx-media.is-ready img:nth-child(n+2) { animation: hxOver 21s infinite; }
.hx-media.is-ready img:nth-child(3) { animation-delay: 7s; }
@keyframes hxOver { 0%, 30% { opacity: 0; transform: scale(1.08); } 36% { opacity: 1; } 64% { opacity: 1; } 70%, 100% { opacity: 0; transform: scale(1); } }
@keyframes hxZoom { 0% { transform: scale(1.12); } 38% { transform: scale(1); } 100% { transform: scale(1); } }
.hx::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 40, 48, .92) 0%, rgba(0, 48, 58, .72) 42%, rgba(0, 48, 58, .15) 75%), linear-gradient(0deg, rgba(0, 40, 48, .85) 0%, rgba(0, 40, 48, 0) 40%); }
.hx-inner { display: grid; gap: 40px; align-items: end; padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px; }
@media (min-width: 1000px) { .hx-inner { grid-template-columns: 1.35fr 1fr; padding-bottom: 72px; } }
.hx h1 { color: #fff; font-size: clamp(40px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -.02em; margin: 20px 0; max-width: 13ch; }
.hx h1 .hl { color: var(--energy); }
.hx .lead { color: #D6ECEF; font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; }
.hx .btn-row { margin-top: 30px; }
.glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-radius: var(--radius-card); }
.hx-card { padding: 24px; max-width: 420px; justify-self: end; width: 100%; }
.hx-card .label { font-size: 14px; color: #D6ECEF; }
.hx-card .value { font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1.05; margin: 6px 0 14px; }
.hx-card .value small { font-size: 16px; color: #D6ECEF; font-weight: 600; }
.hx-card .meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14px; color: #D6ECEF; }
.hx-card .meta strong { color: var(--energy); }
.hx-card .btn { margin-top: 18px; width: 100%; }
.hx-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: #D6ECEF; }
.hx-trust li { display: inline-flex; gap: 8px; align-items: center; }
.hx-trust .icon { width: 18px; height: 18px; color: var(--energy); }

/* Ticker */
.ticker { border-top: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 40, 48, .55); backdrop-filter: blur(6px); overflow: hidden; }
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 16px 0; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 600; font-size: 15px; color: #fff; }
.ticker span::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--energy); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Photo page hero (inner pages) */
.page-hero.has-photo { position: relative; isolation: isolate; background: #00404d; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; }
@media (min-width: 900px) { .page-hero.has-photo { min-height: 560px; } }
.page-hero.has-photo .phx-media { position: absolute; inset: 0; z-index: -2; }
.page-hero.has-photo .phx-media img { width: 100%; height: 100%; object-fit: cover; animation: hxZoomOnce 14s ease-out forwards; }
@keyframes hxZoomOnce { from { transform: scale(1.1); } to { transform: scale(1); } }
.page-hero.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 40, 48, .93) 0%, rgba(0, 48, 58, .7) 50%, rgba(0, 48, 58, .2) 100%), linear-gradient(0deg, rgba(0, 40, 48, .7) 0%, rgba(0, 40, 48, 0) 50%); }
.page-hero.has-photo > .container { width: 100%; padding-top: calc(var(--header-h) + 56px); padding-bottom: 64px; }
.page-hero.has-photo h1 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; letter-spacing: -.02em; }
.page-hero.has-photo .lead { color: #D6ECEF; }

/* Photo cards (segments, sectors, products) */
.pcards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pcards.three { grid-template-columns: repeat(3, 1fr); } .pcards.four { grid-template-columns: repeat(4, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; border-radius: var(--radius-xl); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-photo); }
.pcard.tall { min-height: 460px; }
.pcard .ph { position: absolute; inset: 0; z-index: -1; }
.pcard .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 40, 48, .05) 25%, rgba(0, 40, 48, .92) 100%); }
.pcard-body { padding: 26px; }
.pcard h2, .pcard h3 { color: #fff; margin: 6px 0 8px; font-size: 24px; }
.pcard p { color: #D6ECEF; margin: 0 0 14px; font-size: 15px; }
.pcard .kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--energy); }
.pcard .go { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--energy); color: var(--forest); transition: transform .25s ease; }
.pcard:hover .go, .pcard:focus-visible .go { transform: translateX(4px); }
.pcard:hover { color: #fff; }
.pcard .go .icon { width: 20px; height: 20px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard-foot span { font-weight: 600; }
.segments-x { margin-top: -90px; position: relative; z-index: 3; }

/* Bento grid */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; } .bento .b-wide { grid-column: span 2; } .bento .b-tall { grid-row: span 2; } }
.btile { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; text-decoration: none; isolation: isolate; }
.btile .ph { position: absolute; inset: 0; z-index: -1; }
.btile .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 40, 48, 0) 30%, rgba(0, 40, 48, .9) 100%); }
.btile h3 { color: #fff; font-size: 22px; margin: 4px 0 6px; }
.btile p { color: #D6ECEF; font-size: 15px; margin: 0; max-width: 40ch; }
.btile .kick { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--energy); }
.btile:hover { color: #fff; }
.btile .arrow { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transition: background-color .2s ease, transform .2s ease; }
.btile:hover .arrow { background: var(--energy); color: var(--forest); transform: rotate(-45deg); }
.btile .arrow .icon { width: 18px; height: 18px; }
.btile.stat { background: var(--energy); color: var(--forest); justify-content: space-between; }
.btile.stat .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.btile.stat p { color: var(--forest); font-weight: 600; }
.btile.stat .fine { font-size: 12px; font-weight: 400; opacity: .8; }
.btile.dark { background: var(--forest) var(--motif-dark); justify-content: space-between; }
.btile.dark .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--energy); }

/* Feature split with large photo */
.fsplit { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .fsplit { grid-template-columns: 1fr 1fr; gap: 72px; } .fsplit.rev > :first-child { order: 2; } }
.fsplit-media { position: relative; }
.fsplit-media .ph { border-radius: var(--radius-xl); aspect-ratio: 4 / 5; box-shadow: var(--shadow-photo); }
@media (min-width: 1000px) { .fsplit-media .ph { aspect-ratio: 5 / 6; } }
.fsplit-media .ph.wide { aspect-ratio: 4 / 3; }
.float-badge { position: absolute; left: -12px; bottom: 28px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; max-width: 280px; }
@media (min-width: 1000px) { .float-badge { left: -36px; } }
.float-badge .big { font-family: var(--font-head); font-weight: 800; font-size: 34px; color: var(--action); line-height: 1; }
.float-badge span { font-size: 14px; color: var(--slate); }
.numbered { list-style: none; counter-reset: n; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--action); width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); }
.numbered h3 { font-size: 20px; margin: 4px 0 4px; }
.numbered p { margin: 0; color: var(--slate); }

/* Proof band with photo */
.proof-x { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.proof-x .bg { position: absolute; inset: 0; z-index: -2; }
.proof-x .bg img { width: 100%; height: 100%; object-fit: cover; }
.proof-x::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 52, 62, .94), rgba(0, 40, 48, .97)); }
.proof-x .stats { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .14); }
.proof-x .stat { background: rgba(0, 48, 58, .7); }

/* Photo timeline (how it works) */
.ptimeline { display: grid; gap: 18px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; counter-reset: st; }
@media (min-width: 700px) { .ptimeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ptimeline { grid-template-columns: repeat(5, 1fr); } }
.ptimeline li { counter-increment: st; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.ptimeline .ph { aspect-ratio: 4 / 3; }
.ptimeline .ph::before { content: counter(st); position: absolute; z-index: 1; left: 14px; top: 14px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--energy); color: var(--forest); font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.ptimeline .body { padding: 18px 20px 22px; }
.ptimeline h3 { font-size: 18px; margin: 0 0 6px; }
.ptimeline p { margin: 0; font-size: 15px; color: var(--slate); }

/* Gallery carousel */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.gallery-head .section-head { margin: 0; }
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--forest); display: grid; place-items: center; cursor: pointer; }
.gallery-nav button:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.gallery-nav .flip .icon { transform: scaleX(-1); }
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 20px; margin: 0 calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 min(78vw, 420px); scroll-snap-align: start; }
.gallery figure.wide { flex-basis: min(88vw, 620px); }
.gallery .ph { border-radius: var(--radius-card); height: clamp(240px, 32vw, 380px); }
.gallery figcaption { font-size: 14px; color: var(--slate); margin-top: 10px; }

/* Full-bleed photo band */
.pband { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.pband .bg { position: absolute; inset: 0; z-index: -2; }
.pband .bg img { width: 100%; height: 100%; object-fit: cover; }
.pband::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 40, 48, .94) 0%, rgba(0, 48, 58, .78) 50%, rgba(0, 48, 58, .3) 100%); }
.pband.center::before { background: rgba(0, 40, 48, .78); }
.pband h2 { color: #fff; }
.pband .lead, .pband p { color: #D6ECEF; }
.pband .kicker { color: var(--energy); }
.pband .container { padding-block: clamp(72px, 10vw, 140px); }
.pband .feature-list strong { color: #fff; }
.pband .feature-list span { color: #D6ECEF; }
.pband .feature-list .icon-tile { background: rgba(255, 255, 255, .12); color: var(--energy); }
.pband .area-list li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(4px); }
.pband .area-list li .icon { color: var(--energy); }
.pband .area-list li.primary { background: var(--energy); color: var(--forest); border-color: var(--energy); }
.pband .area-list li.primary .icon { color: var(--forest); }
.pband-card { padding: 32px; max-width: 560px; }

/* Closing CTA with photo */
.cta-band.has-photo { position: relative; isolation: isolate; overflow: hidden; background: #00404d; }
.cta-band.has-photo .bg { position: absolute; inset: 0; z-index: -2; }
.cta-band.has-photo .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 40, 48, .9) 0%, rgba(0, 48, 58, .62) 55%, rgba(0, 48, 58, .25) 100%); }
.cta-band.has-photo .container { padding-block: clamp(80px, 10vw, 130px); }
.cta-band.has-photo h2 { font-size: clamp(30px, 4vw, 48px); max-width: 18ch; }

/* Media cards (guides, products) */
.mcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .25s ease, transform .25s ease; position: relative; }
.mcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); color: inherit; }
.mcard .ph { aspect-ratio: 16 / 10; }
.mcard .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mcard h3 { margin: 0; font-size: 21px; }
.mcard p { margin: 0; color: var(--slate); font-size: 15px; }
.mcard .link-arrow { margin-top: auto; padding-top: 8px; }
.mcard .meta { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--action); }

/* Photo row (product galleries) */
.photo-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .photo-row { grid-template-columns: 2fr 1fr 1fr; } }
.photo-row .ph { border-radius: var(--radius-card); aspect-ratio: 4 / 3; }
@media (min-width: 700px) { .photo-row .ph { aspect-ratio: auto; min-height: 300px; } }

/* Calculator chart */
.calc-chart { margin-top: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--forest-line); border-radius: 12px; padding: 16px 16px 10px; }
.calc-chart .ttl { display: flex; justify-content: space-between; font-size: 13px; color: var(--on-dark-body); margin-bottom: 10px; }
.calc-chart .ttl strong { color: var(--energy); font-family: var(--font-head); font-size: 18px; }
.calc-chart .bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 120px; }
.calc-chart .bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.calc-chart .bar i { display: block; width: 100%; max-width: 38px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--energy), #13B888); transition: height .5s cubic-bezier(.2, .7, .2, 1); }
.calc-chart .bar span { font-size: 11px; color: var(--on-dark-body); }
.calc-chart .note { font-size: 11px; color: var(--on-dark-body); margin: 8px 0 0; }

/* Sections spacing tweaks */
.section-head h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.015em; }
.card { border-radius: var(--radius-card); }
.mega-feature { position: relative; overflow: hidden; isolation: isolate; }
.mega-feature .ph { position: absolute; inset: 0; z-index: -1; }
.mega-feature .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 40, 48, .35), rgba(0, 40, 48, .92)); }
.mega-feature.has-photo { min-height: 260px; justify-content: flex-end; }

@media (prefers-reduced-motion: reduce) {
  .hx-media img { animation: none !important; transform: none; }
  .hx-media img:nth-child(n+2) { display: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 12px; padding: 16px var(--gutter); }
  .ticker-track span[aria-hidden] { display: none; }
  .page-hero.has-photo .phx-media img { animation: none; }
}
@media (max-width: 699px) { .segments-x { margin-top: -40px; } .pcard { min-height: 320px; } .hx { min-height: 92svh; } .gallery-nav { display: none; } }
.btile .ph::after { background: linear-gradient(180deg, rgba(0, 40, 48, .05) 20%, rgba(0, 40, 48, .92) 100%); }
@media (max-width: 1099px) {
  .btile { min-height: 300px; }
  .btile.b-tall { min-height: 440px; }
  .btile.stat, .btile.dark { min-height: 0; gap: 28px; }
}
