/* HelpLagbe Digital — site styles */

/* ===== Fonts (self-hosted, brand kit) ===== */
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Hind Siliguri"; src: url("assets/fonts/hind-siliguri-regular-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Hind Siliguri"; src: url("assets/fonts/hind-siliguri-semibold-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Hind Siliguri"; src: url("assets/fonts/hind-siliguri-regular-bn.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "Hind Siliguri"; src: url("assets/fonts/hind-siliguri-semibold-bn.woff2") format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "Tiro Bangla"; src: url("assets/fonts/tiro-bangla-bn.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }

/* ===== Tokens ===== */
:root {
  --green: #029B6F;      /* buttons only: green = clickable */
  --teal-deep: #017A55;  /* hover, text links */
  --teal-darker: #015E42;
  --teal-soft: #A5D6C2;  /* tags */
  --yellow: #F4D35E;     /* concept tag only */
  --ink: #222222;
  --ink-2: #333532;
  --cream: #F7F1E3;
  --white: #FFFFFF;
  --line: #E4E1D8;
  --radius: 12px;
  --max: 1200px;
  --head: "Montserrat", "Hind Siliguri", "Segoe UI", Arial, sans-serif;
  --body: "Hind Siliguri", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0; }
p { margin: 0; }
a { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; border-radius: 4px; }
section[id], article[id] { scroll-margin-top: 84px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Bangla pages */
html[lang="bn"] body { line-height: 1.8; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] .work-h2 { font-family: "Tiro Bangla", "Montserrat", serif; font-weight: 400; letter-spacing: 0; }
html[lang="bn"] .hero h1 { line-height: 1.15; }
html[lang="bn"] h3, html[lang="bn"] h4, html[lang="bn"] .btn { font-family: "Hind Siliguri", "Montserrat", sans-serif; font-weight: 600; }

/* ===== Page transition (browsers that support it) ===== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 1.1875rem; text-decoration: none; cursor: pointer; border: 0;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.btn-ghost-light { color: #fff; border: 1.5px solid #fff; }
.btn-ghost-light:hover { color: var(--teal-soft); border-color: var(--teal-soft); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 1rem; background: var(--teal-deep); }
.btn-small:hover { background: var(--teal-darker); }
.text-link { font-family: var(--head); font-weight: 700; font-size: 1rem; text-underline-offset: 4px; transition: color .2s; }
.text-link:hover { color: var(--teal-darker); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.brand img { width: 146px; height: auto; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; border-radius: 999px; }
.lang-switch:hover { color: var(--teal-deep); background: #F2F7F4; }
.menu-toggle { font-family: var(--head); font-weight: 700; font-size: .9375rem; background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; min-height: 44px; padding: 0 18px; cursor: pointer; }
.site-nav { position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 600; border-bottom: 1px solid var(--line); }
html[lang="bn"] .site-nav li a { font-family: var(--body); }
.site-nav li a:hover, .site-nav a[aria-current="page"] { color: var(--teal-deep); }
.site-nav .btn { margin-top: 8px; align-self: flex-start; }

/* ===== Hero ===== */
.hero { padding: 44px 0 48px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 { font-weight: 800; font-size: clamp(2.75rem, 11vw, 5.75rem); line-height: .98; letter-spacing: -0.035em; }
.lead { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 460px; }
.phone { margin: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; aspect-ratio: 9 / 16; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-phones .phone-b { margin-top: 40px; }
.facts { list-style: none; margin: 48px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.facts li { display: flex; align-items: baseline; gap: 14px; }
.fact-n { font-family: var(--head); font-weight: 800; font-size: 2rem; line-height: 1; min-width: 3.4em; color: var(--ink); }
.fact-l { color: var(--ink-2); }

/* One orchestrated load moment for the hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-text { animation: rise .5s var(--ease) both; }
  .hero-phones .phone-a { animation: rise .6s var(--ease) .08s both; }
  .hero-phones .phone-b { animation: rise .6s var(--ease) .16s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  /* Scroll reveal, only when JS is running */
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  @view-transition { navigation: none; }
}

/* ===== Sections ===== */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--cream); }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2, .about-grid h2, .cta h2, .work-h2 { font-weight: 800; font-size: clamp(1.875rem, 5vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }
.section-head p { margin-top: 12px; color: var(--ink-2); }
.see-all { margin-top: 28px; }

/* Services list on home */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a { display: block; padding: 22px 0; text-decoration: none; color: inherit; }
.service-list a:hover h3 { color: var(--teal-deep); }
.service-list h3 { font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; transition: color .2s; }
.service-list p { margin-top: 6px; color: var(--ink-2); }

.tag { display: inline-block; font-family: var(--body); font-weight: 600; font-size: .8125rem; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--teal-soft); color: #0D3B2C; }
.tag-new { font-size: .75rem; }
.tag-concept { background: var(--yellow); color: #3A2E00; }
.tag-meta { font-size: .9375rem; color: var(--ink-2); }

/* Work on home */
.project { display: grid; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.project:first-of-type { padding-top: 0; }
.project-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 460px; }
.project-media .phone-offset { margin-top: 32px; }
.project-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.project-body h3 { font-size: clamp(1.75rem, 4.5vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 14px; }
.project-body > p:not(.project-tags) { margin-top: 12px; max-width: 34em; color: var(--ink-2); }
.project-body .did { color: var(--ink); }
.project-body .text-link { display: inline-block; margin-top: 18px; }
.subhead { font-size: 1.375rem; font-weight: 700; margin: 48px 0 20px; }
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.brand-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.brand-card a { display: block; color: inherit; text-decoration: none; }
.brand-card:hover { border-color: #C9C4B6; }
.brand-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s var(--ease); }
.brand-card:hover img { transform: scale(1.02); }
.brand-card.wide img { aspect-ratio: 3 / 2; }
.brand-meta { padding: 16px 18px 18px; position: relative; background: #fff; }
.brand-meta h4 { font-size: 1.0625rem; font-weight: 700; }
.brand-meta p { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }

/* Why / values */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.why-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.why-list h3 { font-size: 1.25rem; font-weight: 700; }
.why-list p { margin-top: 6px; color: var(--ink-2); }

/* Process: a real sequence, so numbers are earned */
.steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-n { grid-row: span 2; font-family: var(--head); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--ink); }
.steps h3 { font-size: 1.25rem; font-weight: 700; }
.steps p { margin-top: 6px; color: var(--ink-2); }

/* About */
.about-grid { display: grid; gap: 20px; }
.about-text { max-width: 36em; color: var(--ink-2); font-size: 1.125rem; }
.about-text p + p { margin-top: 14px; }
.founder-name { font-family: var(--head); font-weight: 800; font-size: 1.75rem; color: var(--ink); }
.tools strong { color: var(--ink); }

/* CTA band */
.cta { background: var(--ink); color: #fff; padding: 64px 0; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; color: #D9D9D6; max-width: 32em; }
.cta-inner { display: grid; gap: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: #1A1A1A; color: #BDBDB8; padding: 48px 0 24px; font-size: .9375rem; }
.site-footer a { color: #E8E8E4; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--teal-soft); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-brand p { max-width: 30em; }
.footer-part { margin-top: 10px; }
.footer-h { font-family: var(--head); font-size: .9375rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
html[lang="bn"] .footer-h { font-family: var(--body); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-links a { text-decoration: none; display: inline-block; padding: 4px 0; word-break: break-word; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; font-size: .875rem; }
.footer-bottom p:last-child { display: flex; gap: 20px; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center;
  transition: background-color .2s, transform .2s var(--ease); }
.wa-float:hover { background: var(--teal-deep); transform: translateY(-2px); }
.site-footer { padding-bottom: 96px; }

/* ===== Inner pages ===== */
.page-intro { padding: 48px 0 40px; }
.page-intro h1 { font-weight: 800; font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: 1.02; letter-spacing: -0.035em; }
html[lang="bn"] .page-intro h1 { line-height: 1.2; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: .9375rem; transition: color .2s, border-color .2s; }
html[lang="bn"] .jump a { font-family: var(--body); }
.jump a:hover { border-color: var(--teal-deep); color: var(--teal-deep); }

/* Work page */
.work-h2 { margin-bottom: 8px; }
.site-block, .brand-block { padding: 32px 0; border-bottom: 1px solid var(--line); }
.site-block:last-child, .brand-block:last-child { border-bottom: 0; padding-bottom: 0; }
.brand-block-head { max-width: 40em; }
.brand-block-head h3 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; }
.brand-block-head h3:first-child { margin-top: 0; }
.brand-block-head p:not(.project-tags) { margin-top: 10px; color: var(--ink-2); }
.brand-block-head strong { color: var(--ink); }
.brand-block-head .text-link { display: inline-block; margin-top: 12px; }

/* Horizontal strip: images keep their real shape */
.strip-wrap { position: relative; }
.strip { list-style: none; margin: 20px -20px 0; padding: 4px 20px 14px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 20px; scrollbar-width: thin; scroll-behavior: smooth; }
.strip li { flex: 0 0 auto; scroll-snap-align: start; }
.strip img { height: 240px; width: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.strip-phones .phone { width: 160px; aspect-ratio: 9 / 18; }
.strip-phones .phone img { height: 100%; width: 100%; border: 0; border-radius: 0; }
.strip-btn { display: none; position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 1.25rem; line-height: 1; z-index: 2; transition: opacity .2s, border-color .2s; }
.strip-btn:hover { border-color: var(--ink); }
.strip-btn[disabled] { opacity: 0; pointer-events: none; }
.strip-btn.prev { left: -6px; } .strip-btn.next { right: -6px; }

/* Services page */
.service-detail { display: grid; gap: 20px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: 0; }
.sd-n { font-family: var(--head); font-weight: 800; font-size: 1rem; color: var(--ink-2); display: block; margin-bottom: 8px; }
.sd-head h2 { font-weight: 800; font-size: clamp(1.625rem, 4.5vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sd-head p { margin-top: 10px; color: var(--ink-2); max-width: 32em; }
.sd-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 26px; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--teal-deep); border-bottom: 2px solid var(--teal-deep); transform: rotate(-45deg); }
.sd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }

/* FAQ */
.faq-grid { display: grid; gap: 24px; }
.brief-note { margin-top: 10px; color: var(--ink-2); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-family: var(--head); font-weight: 700; font-size: 1.0625rem; }
html[lang="bn"] .faq summary { font-family: var(--body); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 36em; }

/* Contact */
.contact-intro { padding-bottom: 64px; }
.contact-options { display: grid; gap: 16px; margin-top: 36px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact-card h2 { font-size: 1.25rem; font-weight: 700; }
html[lang="bn"] .contact-card h2 { font-family: var(--body); font-weight: 600; }
.contact-value { font-family: var(--head); font-weight: 700; font-size: clamp(1.25rem, 5vw, 1.625rem); color: var(--ink); }
.contact-email { font-size: 1.0625rem; overflow-wrap: anywhere; }
.contact-card p:not(.contact-value) { color: var(--ink-2); }
.contact-card .btn { margin-top: 8px; }

.planner-grid { display: grid; gap: 28px; }
.planner { display: grid; gap: 22px; }
.planner fieldset { border: 0; margin: 0; padding: 0; }
.planner legend, .field label { font-family: var(--head); font-weight: 700; font-size: 1rem; margin-bottom: 10px; display: block; padding: 0; }
html[lang="bn"] .planner legend, html[lang="bn"] .field label { font-family: var(--body); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #CFCABD; border-radius: 999px; background: #fff; font-size: .9375rem; transition: background-color .15s, border-color .15s, color .15s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #CFCABD; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-deep); outline: 2px solid transparent; box-shadow: 0 0 0 3px rgba(1,122,85,.18); }
.planner-error { color: #A4161A; font-weight: 600; }
.planner-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Prose (privacy) */
.prose { max-width: 44em; }
.prose h2 { font-size: 1.375rem; font-weight: 700; margin: 32px 0 8px; }
.prose p + p { margin-top: 12px; }
.prose p { color: var(--ink-2); }
.updated { margin-top: 32px; font-size: .9375rem; }
.notfound { padding: 96px 0; }

/* ===== Tablet / desktop ===== */
@media (min-width: 720px) {
  .container { padding: 0 40px; }
  .site-nav { padding: 8px 40px 24px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .facts li { flex-direction: column; gap: 8px; }
  .service-list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .why-list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .brand-grid { grid-template-columns: repeat(6, 1fr); }
  .brand-card { grid-column: span 2; }
  .brand-card.wide { grid-column: span 3; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .strip { margin: 20px -40px 0; padding: 4px 40px 16px; gap: 16px; scroll-padding-inline: 40px; }
  .strip img { height: 340px; }
  .strip-phones .phone { width: 220px; }
  .page-intro { padding: 72px 0 56px; }
  .contact-options { grid-template-columns: 1fr 1fr; gap: 24px; }
  .contact-card { padding: 32px; }
  .contact-email { font-size: 1.375rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .header-inner { justify-content: flex-start; }
  .brand { margin-right: auto; }
  .site-nav, .site-nav.is-open { position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; border: 0; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .site-nav ul { display: flex; gap: 28px; }
  .site-nav li a { border: 0; padding: 8px 0; }
  .site-nav .btn { margin-top: 0; }
  .header-tools { order: 3; }
  .brand img { width: 168px; }

  .hero { padding: 88px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .hero-phones { justify-self: end; width: 100%; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 48px; }
  .project { grid-template-columns: 460px 1fr; gap: 64px; align-items: center; padding: 48px 0; }
  .project:nth-of-type(even) { grid-template-columns: 1fr 460px; }
  .project:nth-of-type(even) .project-media { order: 2; }
  .why-list { grid-template-columns: repeat(4, 1fr); column-gap: 32px; border-top: 0; }
  .why-list li { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 20px; }
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 32px; border-top: 0; }
  .steps li { grid-template-columns: 1fr; border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 20px; }
  .step-n { grid-row: auto; margin-bottom: 14px; }
  .about-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
  .cta-inner { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .cta-actions { justify-content: flex-end; }
  .service-detail { grid-template-columns: 1fr 1fr; gap: 64px; padding: 48px 0; }
  .faq-grid, .planner-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .strip-btn { display: block; }
}
@media (min-width: 1280px) {
  .strip { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; scroll-padding-inline: 0; }
  .strip-btn.prev { left: -22px; } .strip-btn.next { right: -22px; }
}

/* =========================================================
   ===== Premium layer v2 (world-class agency upgrade) =====
   Scoped so Bangla pages keep their current look until phase 2.
   ========================================================= */
:root {
  --forest: #07291E;
  --forest-2: #0B3A2B;
  --mint: #8FE3C2;
  --grad: linear-gradient(120deg, #02B57F, #05C98F 45%, #F4D35E 125%);
  --shadow-lg: 0 24px 64px rgba(2, 41, 30, .14);
}

/* --- Button shine sweep (safe everywhere) --- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .45s var(--ease); }
.btn-primary:hover::after { left: 125%; }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(2,155,111,.35); }

/* --- Koto-style mega hero (homepage, light) --- */
.hero--max { padding: 48px 0 56px; }
.hero--max .hero-grid { grid-template-columns: 1fr; gap: 0; }
.hero--max h1 { font-size: clamp(3.25rem, 14.5vw, 10.5rem); line-height: .95; letter-spacing: -.04em; }
.hero--max .lead { font-size: clamp(1.125rem, 2vw, 1.4375rem); max-width: 36em; margin-top: 28px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); border: 1px solid #CFE7DC; border-radius: 999px; padding: 9px 16px; margin-bottom: 26px; background: #EDF7F2; }
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(2,155,111,.7); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Client logo strip (colored logos, continuous) --- */
.logo-strip { overflow: hidden; padding: 34px 0 40px; border-top: 1px solid var(--line); background: #fff; }
.logo-strip-label { font-family: var(--head); font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.logo-track { display: flex; align-items: center; gap: clamp(44px, 6vw, 84px); width: max-content; margin-top: 26px; animation: marq 32s linear infinite; }
.logo-strip:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 46px; width: auto; max-width: none; }
.logo-track img.lg-tall { height: 70px; }
@keyframes marq { to { transform: translateX(calc(-50% - clamp(22px, 3vw, 42px))); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; } }

/* --- Service cards (homepage) --- */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.svc-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #CFE7DC; }
.svc-card:hover::before { opacity: 1; }
.svc-card a { display: block; padding: 26px 24px 24px; text-decoration: none; color: inherit; height: 100%; }
.svc-card h3 { font-size: 1.1875rem; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc-card p { margin-top: 8px; color: var(--ink-2); font-size: .9792rem; }
.svc-price { display: inline-block; margin-top: 14px; font-family: var(--head); font-weight: 700; font-size: .875rem; color: var(--teal-deep); background: #EDF7F2; border-radius: 999px; padding: 6px 12px; }

/* --- Testimonials (dark forest band) --- */
.section--forest { background:
    radial-gradient(800px 420px at 100% 0%, rgba(2,181,127,.22), transparent 60%),
    var(--forest); border-top: 0; }
.section--forest .section-head h2 { color: #fff; }
.section--forest .section-head p { color: #A9C9BB; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.quote-card { position: relative; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 28px 26px 24px; backdrop-filter: blur(4px); transition: transform .25s var(--ease), border-color .25s; }
.quote-card:hover { transform: translateY(-4px); border-color: rgba(143,227,194,.45); }
.quote-stars { color: var(--yellow); letter-spacing: 3px; font-size: .9375rem; }
.quote-card blockquote { margin: 12px 0 0; color: #E3F1E9; font-size: 1.0313rem; line-height: 1.7; }
.quote-who { margin-top: 18px; display: grid; gap: 2px; }
.quote-who strong { font-family: var(--head); font-weight: 700; color: #fff; font-size: .9375rem; }
.quote-who span { color: #9DBFB0; font-size: .875rem; }

/* --- CTA upgrade --- */
.cta--grad { background:
    radial-gradient(900px 480px at 15% 120%, rgba(2,181,127,.35), transparent 62%),
    radial-gradient(700px 380px at 100% -20%, rgba(244,211,94,.14), transparent 55%),
    var(--forest); }
.cta--grad .btn-ghost-light:hover { color: var(--mint); border-color: var(--mint); }

/* --- Mega typography on English inner pages (Koto style) --- */
html[lang="en"] .page-intro h1 { font-size: clamp(3rem, 12.5vw, 8.5rem); line-height: .95; letter-spacing: -.04em; }
html[lang="en"] .section-head h2, html[lang="en"] .about-grid h2, html[lang="en"] .cta h2, html[lang="en"] .work-h2 { font-size: clamp(2.125rem, 6.5vw, 4rem); letter-spacing: -.03em; line-height: 1.02; }

/* --- Stagger reveals in grids --- */
.js .svc-grid [data-reveal], .js .quotes [data-reveal], .js .why-list [data-reveal], .js .steps [data-reveal] { transition-delay: 0s; }
@media (prefers-reduced-motion: no-preference) {
  .js .svc-grid [data-reveal]:nth-child(2), .js .quotes [data-reveal]:nth-child(2), .js .why-list [data-reveal]:nth-child(2), .js .steps [data-reveal]:nth-child(2) { transition-delay: .08s; }
  .js .svc-grid [data-reveal]:nth-child(3), .js .quotes [data-reveal]:nth-child(3), .js .why-list [data-reveal]:nth-child(3), .js .steps [data-reveal]:nth-child(3) { transition-delay: .16s; }
  .js .svc-grid [data-reveal]:nth-child(4), .js .why-list [data-reveal]:nth-child(4), .js .steps [data-reveal]:nth-child(4) { transition-delay: .24s; }
  .js .svc-grid [data-reveal]:nth-child(5) { transition-delay: .32s; }
  .js .svc-grid [data-reveal]:nth-child(6) { transition-delay: .4s; }
  .js .svc-grid [data-reveal]:nth-child(7) { transition-delay: .48s; }
}

/* --- Brand cards: richer hover --- */
.brand-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.brand-card { transition: border-color .25s, transform .25s var(--ease), box-shadow .25s var(--ease); }

@media (min-width: 720px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .hero--dark { padding: 96px 0 80px; }
}

/* =========================================================
   ===== v3 layer: Koto-inspired light base, mega type  =====
   ========================================================= */

/* Word-by-word headline reveal (JS adds .wsplit; spans get --wi) */
.js .wsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .wsplit .w i { display: inline-block; font-style: normal; }
@media (prefers-reduced-motion: no-preference) {
  .js .wsplit .w i { transform: translateY(115%); transition: transform .7s var(--ease); transition-delay: calc(var(--wi, 0) * .05s); }
  .js .wsplit.in .w i { transform: none; }
}

/* Bigger, bolder project showcase on home */
.project-media .phone { border-radius: 24px; box-shadow: 0 20px 50px rgba(2,41,30,.12); }
.project-body h3 { font-size: clamp(2rem, 6vw, 3.25rem); }

/* Brand grid as Cuberto-style name list on desktop (hover shows preview) */
.hover-preview { position: fixed; z-index: 60; width: 320px; height: 320px; border-radius: 18px; background-size: cover; background-position: center; pointer-events: none; opacity: 0; transform: scale(.9); transition: opacity .25s var(--ease), transform .25s var(--ease); box-shadow: var(--shadow-lg); display: none; }
@media (min-width: 960px) and (hover: hover) {
  .hover-preview { display: block; }
  .hover-preview.on { opacity: 1; transform: none; }
  .brand-grid.as-list { display: block; border-top: 1px solid var(--line); }
  .brand-grid.as-list .brand-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; overflow: visible; }
  .brand-grid.as-list .brand-card:hover { box-shadow: none; transform: none; }
  .brand-grid.as-list .brand-card img { display: none; }
  .brand-grid.as-list .brand-meta { padding: 0; background: transparent; }
  .brand-grid.as-list .brand-card a { padding: 30px 0; }
  .brand-grid.as-list .brand-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
  .brand-grid.as-list h4 { font-size: clamp(1.875rem, 3.5vw, 2.875rem); font-weight: 800; letter-spacing: -.025em; transition: color .25s, transform .35s var(--ease); }
  .brand-grid.as-list .brand-card:hover h4 { color: var(--teal-deep); transform: translateX(12px); }
  .brand-grid.as-list .brand-meta p { margin: 0; font-size: 1rem; text-align: right; flex-shrink: 0; max-width: 40%; }
}

/* Parent-brand emphasis in hero lead */
.lead .parent-brand { font-weight: 700; font-size: 1.18em; color: var(--teal-deep); }

/* Giant footer CTA */
.cta--grad { padding: 96px 0 104px; }
.cta--grad h2 { font-size: clamp(2.75rem, 10vw, 7rem); line-height: .98; letter-spacing: -.035em; }
.cta--grad p { font-size: 1.125rem; }
@media (min-width: 960px) {
  .cta--grad .cta-inner { grid-template-columns: 1fr; }
  .cta--grad .cta-actions { justify-content: flex-start; }
}

/* --- Bangla pages: mega type (tuned for Bangla script) --- */
html[lang="bn"] .hero--max h1 { font-size: clamp(2.625rem, 11vw, 8rem); line-height: 1.12; letter-spacing: 0; }
html[lang="bn"] .page-intro h1 { font-size: clamp(2.375rem, 9.5vw, 6.25rem); line-height: 1.12; letter-spacing: 0; }
html[lang="bn"] .section-head h2, html[lang="bn"] .about-grid h2, html[lang="bn"] .work-h2 { font-size: clamp(1.875rem, 5.5vw, 3.25rem); line-height: 1.18; }
html[lang="bn"] .cta--grad h2 { font-size: clamp(2.125rem, 8vw, 5.25rem); line-height: 1.14; letter-spacing: 0; }
html[lang="bn"] .hero-badge, html[lang="bn"] .logo-strip-label { font-family: var(--body); letter-spacing: .02em; }
html[lang="bn"] .svc-price { font-family: var(--body); }
html[lang="bn"] .quote-who strong { font-family: var(--body); }
html[lang="bn"] .brand-grid.as-list h4 { letter-spacing: -.01em; }

/* --- Sticky mobile CTA bar (built by JS) --- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; }
@media (max-width: 719px) {
  .sticky-cta { display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .sticky-cta .sticky-start { flex: 1; }
  .sticky-cta .wa-float { position: static; flex: 0 0 auto; width: 52px; height: 52px; transform: none !important; }
  body.has-sticky-cta > .wa-float { display: none; }
  body.has-sticky-cta .site-footer { padding-bottom: 140px; }
}

/* Project result line */
.result { margin-top: 10px; color: var(--teal-deep); font-weight: 600; }
.result::before { content: "↗ "; font-weight: 800; }

/* Starting package line on services page */
.pkg { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.pkg .svc-price { margin-top: 0; flex: 0 0 auto; }
.pkg-note { color: var(--ink-2); font-size: .9375rem; max-width: 34em; }

/* Subhead note + swipe hint */
.subhead-note { margin: -12px 0 20px; color: var(--ink-2); font-size: .9375rem; }
.strip-hint { margin-top: 8px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
@media (min-width: 960px) { .strip-hint { display: none; } }

/* Brand cards: show logo, controlled height */
.brand-card > a > img, .brand-card img { height: 210px; object-fit: contain; padding: 26px; background: #fff; }
.hover-preview { background-color: #fff; background-size: 78%; background-repeat: no-repeat; background-position: center; }

/* =========================================================
   ===== v4: packaging studio (case studies, rules)    =====
   ========================================================= */
.hero-pkg .hero-grid { align-items: center; }
.hero-pkg h1 { font-weight: 800; font-size: clamp(2.5rem, 7.5vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; }
.hero-case { display: block; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease); }
.hero-case:hover { transform: translateY(-3px); }
.hero-case img { width: 100%; aspect-ratio: 1000 / 601; object-fit: cover; }
.hero-case-cap { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: .9375rem; color: var(--ink-2); }

.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.case-filter button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #CFCABD; background: #fff; font: 600 .9375rem var(--head); color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.case-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.case-filter button:hover { border-color: var(--ink); }
html[lang="bn"] .case-filter button { font-family: "Hind Siliguri", sans-serif; }

.case-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.case-card[hidden] { display: none; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #CFE7DC; }
.case-card a { display: block; color: inherit; text-decoration: none; height: 100%; }
.case-card img { width: 100%; aspect-ratio: 1000 / 601; object-fit: cover; border-bottom: 1px solid var(--line); }
.case-meta { padding: 18px 20px 22px; }
.case-meta h3 { margin-top: 12px; font-size: 1.25rem; font-weight: 800; }
.case-kind { margin-top: 2px; font-family: var(--head); font-weight: 600; font-size: .9375rem; color: var(--teal-deep); }
html[lang="bn"] .case-kind { font-family: "Hind Siliguri", sans-serif; }
.case-meta p:last-child { margin-top: 8px; color: var(--ink-2); font-size: .9688rem; }
.case-lang { font-size: .8125rem; color: #7a776d; white-space: nowrap; }

.rules-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rules-list li { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; }
.rules-list b { display: block; font-family: var(--head); font-weight: 800; font-size: 1.375rem; letter-spacing: -.01em; }
.rules-list span { display: block; margin-top: 4px; color: var(--ink-2); font-size: .9375rem; }
.site-links { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.site-links a { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: inherit; text-decoration: none; transition: border-color .2s; }
.site-links a:hover { border-color: var(--teal-deep); }
.site-links b { display: block; font-family: var(--head); }
.site-links span { display: block; margin-top: 4px; color: var(--ink-2); font-size: .9375rem; }

.sd-case { display: block; margin-top: 20px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); max-width: 420px; }
.sd-case img { width: 100%; }
.sd-head .svc-price { margin-top: 14px; }
.sd-note { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--yellow); background: #FFFBEA; font-size: .9375rem; color: var(--ink-2); }
.also-list a { display: inline-block; margin-top: 8px; }

.case-intro h1 { font-size: clamp(2.25rem, 7vw, 4rem); margin-top: 14px; }
.case-kind-lg { font-size: 1.125rem; margin-top: 6px; }
.case-intro .project-tags { margin-top: 22px; }
.case-body { padding-top: 0; }
.case-cols { display: grid; gap: 32px; }
.case-gallery { display: grid; gap: 22px; }
.case-fig { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.case-fig figcaption { padding: 12px 16px; font-size: .9375rem; color: var(--ink-2); border-top: 1px solid var(--line); }
.case-side h2 { font-size: 1.25rem; font-weight: 800; margin-top: 26px; }
.case-side h2:first-child { margin-top: 0; }
html[lang="bn"] .case-side h2 { font-size: 1.5rem; }
.case-side .check-list { margin-top: 12px; }
.rules-mini { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.rules-mini li { padding: 10px 12px; border-radius: 10px; background: #EDF7F2; font-size: .9375rem; }
.case-note { margin: 22px 0 18px; padding: 12px 14px; border-left: 3px solid var(--yellow); background: #FFFBEA; font-size: .875rem; color: var(--ink-2); }
.case-next { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 2px; font-size: .9375rem; }
.case-next span { color: var(--ink-2); }

@media (min-width: 720px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
  .rules-list { grid-template-columns: repeat(4, 1fr); }
  .svc-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid.svc-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .case-cols { grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
  .case-side { position: sticky; top: 96px; }
  .site-links { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) { .rules-list.rules-6 { grid-template-columns: repeat(3, 1fr); } }
/* v5: brand identity packages */
.pkg-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pkg-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; }
.pkg-card.pkg-mid { border: 2px solid var(--ink); }
.pkg-card h3 { font-size: 1.375rem; font-weight: 800; }
.pkg-card > p { margin-top: 6px; color: var(--ink-2); }
.pkg-card .check-list { margin: 16px 0 18px; flex: 1; }
.pkg-card .svc-price { align-self: flex-start; margin: 0 0 14px; }
.pkg-card .btn { align-self: flex-start; }
.case-dl { margin: 0 0 14px; }
@media (min-width: 720px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .svc-grid:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(3, 1fr); } }
