/* Redstone Techno Engineers — site styles. Brand colors sampled from the logo. */

/* Poppins, self-hosted (SIL Open Font License). Latin covers the copy; the Devanagari
   subset is only fetched by pages that use the rupee sign, which lives there. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-devanagari.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-devanagari.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-devanagari.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-devanagari.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }

:root {
  --ink: #1B1A33;
  --text: #3A3854;
  --muted: #5E5C78;
  --indigo: #3D3A71;
  --indigo-dark: #24223F;
  --pink: #ED297F;
  --pink-strong: #D4176C;
  --pink-hover: #B8125C;
  --pink-on-dark: #FF6FA8;
  --surface: #F6F5FA;
  --line: #E4E2EE;
  --field: #8A87A6;
  --white: #FFFFFF;
  --error: #B3261E;
  --success: #1F7A4D;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(48px, 6vw, 80px);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }

a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pink-strong); }

:focus-visible { outline: 3px solid var(--pink-strong); outline-offset: 2px; border-radius: 4px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--indigo-dark); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

.nowrap { white-space: nowrap; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.icon { width: 1.15em; height: 1.15em; flex: none; }


.lede { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); color: var(--muted); max-width: 36em; text-wrap: pretty; }
.note { font-size: .85rem; color: var(--muted); }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--indigo); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--pink-strong); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px;
  font: 600 .98rem/1.2 var(--font);
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--pink-strong); color: var(--white); }
.btn--primary:hover { background: var(--pink-hover); color: var(--white); }

.btn--outline { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--outline:hover { background: var(--indigo); color: var(--white); }

.btn--light { background: var(--white); color: var(--indigo-dark); }
.btn--light:hover { background: var(--surface); color: var(--indigo-dark); }

.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }

.btn--text { background: none; color: var(--muted); padding-inline: 8px; }
.btn--text:hover { color: var(--ink); }

.btn:disabled { opacity: .6; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--center { justify-content: center; }
@media (max-width: 479px) { .actions .btn, .cta-band__actions .btn { width: 100%; } }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.site-header__logo img { height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav ul a {
  color: var(--ink); font-weight: 500; text-decoration: none; padding: 6px 0;
  box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .2s, color .2s;
}
.site-nav ul a:hover { color: var(--indigo); box-shadow: inset 0 -2px 0 var(--line); }
.site-nav ul a[aria-current="page"] { color: var(--indigo); box-shadow: inset 0 -2px 0 var(--pink); }
.site-nav__actions { display: flex; align-items: center; gap: 20px; }
.site-nav__phone { display: inline-flex; align-items: center; gap: .45em; color: var(--muted); font-weight: 500; font-size: .92rem; text-decoration: none; }
.site-nav__phone:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; margin-right: -10px;
  align-items: center; justify-content: center;
  background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle .icon { width: 26px; height: 26px; }

.header-call { display: none; }

@media (max-width: 959px) {
  .js .nav-toggle { display: inline-flex; }
  .site-header__logo img { height: 38px; }
  .site-header__inner { gap: 10px; }

  .header-call {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; padding: 0 16px; margin-left: auto;
    background: var(--pink-strong); color: var(--white); border-radius: 999px;
    font-weight: 600; font-size: .92rem; text-decoration: none;
  }
  .header-call:hover { background: var(--pink-hover); color: var(--white); }
  .header-call .icon { width: 18px; height: 18px; }

  .js .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 16px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(27, 26, 51, .08);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); box-shadow: none; }
  .js .site-nav ul a[aria-current="page"] { color: var(--pink-strong); }
  .site-nav__actions { flex-direction: column; align-items: stretch; }
  .site-nav__actions .btn { width: 100%; }
  .site-nav__phone { justify-content: center; padding: 8px 0; }

  .no-js .site-header__inner { flex-wrap: wrap; padding-block: 12px; }
  .no-js .site-nav { flex-wrap: wrap; gap: 16px; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface); }
.section--flush-top { padding-top: 0; }

.section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.section-head h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); max-width: 22em; }
.section-head__sub { color: var(--muted); margin-top: .6rem; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }

.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); max-width: 18em; margin-bottom: 1rem; }
.page-head--center { text-align: center; padding-bottom: var(--section-y); }
.page-head--center h1, .page-head--center .lede { margin-inline: auto; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 5vw, 72px); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__title {
  font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero__title em { font-style: normal; color: var(--pink-strong); }
.hero__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 18% 50%; border-radius: 18px; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .hero__photo img { aspect-ratio: 5 / 4; }
}

/* ---------- Trust bar ---------- */

.trust { border-block: 1px solid var(--line); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-block: 20px; }
.trust__label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust__list { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.trust__list li { font-weight: 600; color: var(--indigo); font-size: .95rem; }

/* ---------- Tabs: why a heat pump ---------- */

.tablist { display: inline-flex; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.tab {
  min-height: 44px; padding: 8px 20px;
  font: 600 .92rem var(--font); color: var(--muted);
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--indigo); color: var(--white); }

.tabpanels { display: grid; }
.js .tabpanels > .tabpanel { grid-area: 1 / 1; }
.js .tabpanels > .tabpanel[hidden] { display: block; visibility: hidden; }
.tabpanel:focus-visible { outline-offset: 8px; }
.no-js .tablist { display: none; }
.no-js .tabpanel + .tabpanel { margin-top: 48px; }

.spend__title { font-size: 1.05rem; margin-bottom: clamp(18px, 2.4vw, 28px); }
.spend { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.spend__row {
  display: grid;
  grid-template-columns: 2.8em minmax(0, 1fr);
  grid-template-areas: "value bar" "value label";
  column-gap: clamp(16px, 2.4vw, 32px); row-gap: 8px; align-items: center;
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.6rem);
}
.spend__value {
  grid-area: value; text-align: right;
  font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.spend__bar { grid-area: bar; align-self: end; height: clamp(14px, 1.4vw, 20px); border-radius: 99px; background: #9C9AB3; }
.spend__label { grid-area: label; align-self: start; font-size: .95rem; line-height: 1.4; color: var(--text); }
.spend__row--electric .spend__bar { width: 100%; }
.spend__row--hp .spend__bar { width: 25%; background: var(--pink); }
.spend__row--hp .spend__value { color: var(--pink-strong); }
.spend__row--hp .spend__label { color: var(--ink); font-weight: 600; }
.spend__notes { display: grid; gap: 12px; margin-top: clamp(24px, 3vw, 36px); font-size: .88rem; color: var(--muted); }

.equation {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px;
  margin-top: 32px; padding: 18px 24px;
  background: var(--indigo-dark); color: #CFCDE3; border-radius: var(--radius);
}
.equation strong { color: var(--white); font-weight: 600; }
.equation__result { font-size: 1.2rem; font-weight: 700; color: var(--pink-on-dark); }

.steps { display: grid; gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 14px;
  border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  color: var(--indigo); font-weight: 700;
}
.steps h4 { font-size: 1.05rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); font-size: .95rem; }

@media (max-width: 639px) {
  .steps { gap: 18px; }
  .steps li { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; }
  .steps li::before { grid-row: span 2; margin: 0; }
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .spend__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Sector explorer ---------- */

.sector__panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sector__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 30px); }
.sector__body h3 { font-size: 1.6rem; }
.sector__body h3:focus { outline: none; }
.sector__temp { font-size: .88rem; font-weight: 600; color: var(--pink-strong); }
.sector__photo img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--indigo); background: var(--surface); padding: 5px 11px; border-radius: 999px;
}

.example { background: var(--surface); border-radius: 10px; padding: 14px 16px; }
.example__label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.example__name { font-weight: 600; color: var(--ink); margin-top: 4px; }
.example__detail { font-size: .9rem; color: var(--muted); }
.sector__body .link-arrow { margin-top: auto; padding-top: 4px; }

.sector__tab-img, .sector__tab-icon, .sector__tab-cue, .sector__tab-temp { display: none; }

/* Without JS every sector shows as a stacked card. */
.no-js .sector__tab { display: none; }
.no-js .sector + .sector { margin-top: 20px; }

/* Mobile: chips on top, one panel below. */
.js .sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.js .sector { display: contents; }
.js .sector__tab {
  grid-row: 1;
  min-height: 52px; padding: 8px 10px;
  font: 600 .86rem/1.25 var(--font); color: var(--ink);
  background: var(--white); border: 1px solid var(--field); border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.js .sector__tab:hover { border-color: var(--indigo); }
.js .sector__tab[aria-expanded="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.js .sector__panel { grid-row: 2; grid-column: 1 / -1; margin-top: 8px; display: none; }
.js .sector.is-active .sector__panel { display: block; animation: fade-in .35s var(--ease) both; }

@media (min-width: 960px) {
  .sector__panel { display: grid; grid-template-columns: 1.15fr 1fr; }
  .sector__photo img { aspect-ratio: auto; min-height: 100%; }

  .js .sectors { display: flex; gap: 12px; min-height: 480px; }
  .js .sector {
    display: block; position: relative;
    flex: 1 1 0; min-width: 0;
    border-radius: var(--radius); overflow: hidden;
    transition: flex-grow .5s var(--ease);
  }
  .js .sector.is-active { flex-grow: 5.2; }

  .js .sector__tab {
    position: absolute; inset: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
    padding: 22px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--line); text-align: left;
    overflow: hidden;
  }
  .js .sector__tab:hover { border-color: var(--indigo); }
  .js .sector__tab > * { position: relative; }
  .js .sector__tab-img {
    display: block; position: absolute !important; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: .28; filter: grayscale(.35);
    transition: opacity .3s;
  }
  .js .sector__tab:hover .sector__tab-img { opacity: .5; }
  .js .sector__tab::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(246, 245, 250, .96) 20%, rgba(246, 245, 250, .35));
  }
  .js .sector__tab-icon {
    display: flex; align-items: center; justify-content: center; z-index: 1;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid var(--indigo); color: var(--indigo); background: var(--white);
    transition: background-color .2s, color .2s;
  }
  .js .sector__tab:hover .sector__tab-icon { background: var(--indigo); color: var(--white); }
  .js .sector__tab-cue { display: block; z-index: 1; margin-top: 10px; font-size: .85rem; font-weight: 600; color: var(--indigo); }
  .js .sector__tab-name {
    z-index: 1; margin-top: auto;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 1.15rem; font-weight: 600; color: var(--ink); white-space: nowrap;
  }
  .js .sector__tab-temp { display: block; z-index: 1; margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--pink-strong); }
  .js .sector.is-active .sector__tab { display: none; }

  .js .sector__panel { margin: 0; height: 100%; border: 1px solid var(--line); }
  .js .sector.is-active .sector__panel { display: grid; animation-delay: .15s; }
  .js .sector__body { min-width: 340px; }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Why Redstone + models ---------- */

.why { display: grid; gap: 40px; }
.why > * { min-width: 0; }
.why__list { display: grid; gap: 24px 32px; }
.why__list li { display: flex; gap: 14px; align-items: flex-start; }
.why__icon { flex: none; color: var(--pink-strong); padding-top: 1px; }
.why__icon .icon { width: 24px; height: 24px; }
.why__list h3 { font-size: 1rem; }
.why__list p { font-size: .92rem; color: var(--muted); margin-top: .2rem; }

.models { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.models caption { text-align: left; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-strong); padding-bottom: 12px; }
.models th, .models td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.models thead th { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.models tbody th { font-weight: 700; color: var(--ink); }
.models__sizing { margin-top: 16px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.models .note { margin: 8px 0 20px; }
.models__file { margin-top: 8px; text-align: center; font-size: .8rem; color: var(--muted); }

@media (min-width: 640px) { .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .why { grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; } }

/* ---------- CTA band ---------- */

.cta-band { background: var(--indigo-dark); color: #B9B7D0; padding-block: clamp(40px, 5vw, 60px); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-band__inner > div { flex: 1 1 380px; max-width: 620px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.4rem, 1rem + 1.3vw, 2rem); margin-bottom: .6rem; }
.cta-band p { max-width: 36em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__whatsapp {
  flex-basis: 100%; display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  color: var(--white); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .45);
}
.cta-band__whatsapp:hover { color: var(--pink-on-dark); text-decoration-color: currentColor; }
@media (min-width: 960px) { .cta-band__actions { margin-left: auto; } }

/* ---------- Projects ---------- */

.clients__group { break-inside: avoid; margin-bottom: 40px; }
.clients__group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 12px; }
.count { font-size: .75rem; font-weight: 600; color: var(--indigo); background: var(--surface); border-radius: 999px; padding: 2px 10px; }
.clients__table tr { border-top: 1px solid var(--line); }
.clients__table th, .clients__table td { padding: 12px 0; vertical-align: top; text-align: left; }
.clients__table th { font-weight: 600; color: var(--ink); font-size: .95rem; padding-right: 16px; }
.clients__table th span { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.clients__table td { font-size: .88rem; color: var(--muted); text-align: right; width: 44%; }

/* Groups hold 6 / 12 / 10 rows: pair the two smaller ones so the columns end level. */
@media (min-width: 800px) {
  .clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; align-items: start; }
  .clients__group:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
}

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .gallery { gap: 12px; } }
.gallery a { display: block; border-radius: 12px; overflow: hidden; background: var(--line); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }

.js .gallery[data-collapsed] li:nth-child(n+9) { display: none; }
.gallery__more { display: none; justify-content: center; margin-top: 28px; }
.js .gallery[data-collapsed] + .gallery__more { display: flex; }

@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Dialogs ---------- */

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(15, 14, 30, .94); color: var(--white);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(15, 14, 30, .7); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 64px 16px; }
.lightbox img { max-width: min(1280px, 88vw); max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox figcaption { font-size: .9rem; color: #D9D7EA; text-align: center; max-width: 40em; }

.lightbox__close, .lightbox__nav, .modal__close {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
}
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255, 255, 255, .12); color: var(--white); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox .icon { width: 24px; height: 24px; }

.modal {
  width: calc(100% - 32px); max-width: 480px;
  padding: 0; border: 0; border-radius: 18px;
  color: var(--text); box-shadow: 0 24px 64px rgba(27, 26, 51, .25);
}
.modal::backdrop { background: rgba(27, 26, 51, .55); }
.modal__box { position: relative; padding: 32px 28px 28px; }
.modal__close { position: absolute; top: 10px; right: 10px; background: none; color: var(--muted); }
.modal__close:hover { background: var(--surface); color: var(--ink); }
.modal h2 { font-size: 1.35rem; margin-bottom: .5rem; padding-right: 32px; }
.modal__lede { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.modal .eyebrow { margin-bottom: .5rem; }

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 500; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }

.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--field); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(61, 58, 113, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: .85rem; color: var(--error); }

.choice-group { border: 0; padding: 0; margin: 0 0 18px; }
.choice-group legend { padding: 0; margin-bottom: 6px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: .95rem; cursor: pointer; }
.choice input { width: 18px; height: 18px; accent-color: var(--indigo); }

.form__grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.form__status { min-height: 1.5em; margin-bottom: 12px; font-size: .95rem; }
.form__status.is-error { color: var(--error); }
.form__status.is-success { color: var(--success); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.notice { padding: 20px 24px; border-radius: 12px; margin-bottom: 24px; }
.notice h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.notice--success { background: #EAF6EF; border: 1px solid #BFE3CC; }
.notice--error { background: #FDECEC; border: 1px solid #F3C2C2; color: #8C1D18; }

/* ---------- Contact ---------- */

.contact { display: grid; gap: 48px; }
.contact__info { display: flex; flex-direction: column; gap: 28px; }
.info-item { display: flex; gap: 16px; }
.info-item > div, .site-footer address, .site-footer__contact { min-width: 0; overflow-wrap: break-word; }

.next { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.next h2 { font-size: 1.2rem; margin-bottom: 16px; }
.next__steps { display: grid; gap: 14px; counter-reset: next; }
.next__steps li { counter-increment: next; display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--text); }
.next__steps li::before {
  content: counter(next);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--indigo); color: var(--white); font-size: .85rem; font-weight: 700;
}
.next__proof { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.next__proof a { font-weight: 600; }
.info-item__icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; border-radius: 12px; background: var(--surface); color: var(--indigo);
}
.info-item h2 { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-item p, .info-item address { color: var(--ink); }
.info-item address { margin-bottom: 6px; }
.info-item a:not(.link-arrow) { color: var(--ink); text-decoration: none; font-weight: 500; }
.info-item a:not(.link-arrow):hover { color: var(--pink-strong); }

.map iframe { display: block; width: 100%; height: clamp(300px, 40vw, 440px); border: 0; }

.contact__quick { display: grid; gap: 12px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.contact__quick p { color: var(--muted); font-size: .95rem; text-align: center; }

@media (max-width: 639px) {
  .contact__form .form > .btn--primary { width: 100%; }
}
@media (min-width: 960px) {
  .contact { grid-template-columns: 1.5fr 1fr; gap: 72px; }
  .contact__quick { display: none; }
}

/* ---------- About ---------- */

.split { display: grid; gap: 40px; align-items: center; }
.prose p { font-size: 1.05rem; margin-bottom: 1.1em; max-width: 38em; }
.split__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
@media (min-width: 960px) { .split { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

.process { display: grid; gap: 20px; counter-reset: process; }
.process li { counter-increment: process; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.process li::before { content: "0" counter(process); display: block; font-weight: 700; color: var(--pink-strong); margin-bottom: 12px; }
.process h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.process p { color: var(--muted); }
@media (min-width: 900px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */

.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 44px; font-size: .95rem; }
.site-footer__grid { display: grid; gap: 36px; }
.site-footer__brand img { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { color: var(--muted); max-width: 26em; font-size: .9rem; }
.site-footer__heading { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer li { margin-bottom: .45em; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--pink-strong); }
.site-footer address { margin-bottom: 12px; color: var(--text); }
.site-footer__bottom { margin-top: 32px; font-size: .85rem; color: var(--muted); }
.site-footer__bottom p { padding-block: 18px; border-top: 1px solid var(--line); }
@media (max-width: 799px) {
  .site-footer { padding-top: 32px; }
  .site-footer__grid { gap: 24px; }
  .site-footer__brand img { margin-bottom: 0; }
  .site-footer__brand p, .site-footer nav .site-footer__heading { display: none; }
  .site-footer nav ul { display: flex; flex-wrap: wrap; column-gap: 24px; }
  .site-footer li { margin-bottom: 0; }
  .site-footer nav a, .site-footer__contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer__bottom { margin-top: 24px; }
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 48px; } }

/* ---------- Motion ---------- */

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