/* ==========================================================
   Mo Digital — Front-end stylesheet
   Fluid layout: phones → tablets → laptops → desktops → TVs (4K)
   All sizes are in rem, so the whole UI scales on big screens.
   ========================================================== */
:root {
  --red: #e30e2a;
  --red-2: #c90b23;
  --red-dark: #9e0a1a;
  --ink: #111111;
  --text: #4f4f4f;
  --muted: #7a7a7a;
  --line: #ececec;
  --soft: #f7f7f7;
  --pink: #fdf1f2;
  --pink-ic: #fde4e7;
  --dark: #0f0f0f;
  --green: #22a447;
  --star: #f5b301;
  --radius: .75rem;
  --shadow: 0 .4rem 1.6rem rgba(17, 17, 17, .06);
  --cw: 80rem;                       /* content width */
  --pad: 1.5rem;                     /* side gutter */
  --side: max(var(--pad), calc((100% - var(--cw)) / 2));
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (min-width: 1600px) { html { font-size: 17px; } :root { --cw: 86rem; } }
@media (min-width: 1920px) { html { font-size: 20px; } }
@media (min-width: 2560px) { html { font-size: 26px; } }
@media (min-width: 3400px) { html { font-size: 38px; } }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; font-size: 1rem; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1rem; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.red { color: var(--red); }

.container { width: 100%; max-width: calc(var(--cw) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 4.5rem 0; }
.section-sm { padding: 3.25rem 0; }
.bg-soft { background: var(--soft); }
.bg-pink { background: var(--pink); }
.bg-dark { background: var(--dark); color: #cfcfcf; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.mb { margin-bottom: 1.75rem; }

/* ---------- Typography ---------- */
.eyebrow { color: var(--red); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .7rem; }
.h1-eyebrow { display: block; line-height: 1.4; }
.h1 { font-size: 3.4rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 1.1rem; }
.h1-xl { font-size: 3.9rem; }
.h2 { font-size: 2.45rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.h3 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.025em; }
.lead { font-size: 1.1rem; color: #3f3f3f; line-height: 1.65; max-width: 34rem; margin-bottom: 1.6rem; }
.sub { color: var(--text); margin: .6rem 0 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .85rem 1.5rem; border-radius: 3rem; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; white-space: nowrap; line-height: 1.2; }
.btn .ic { width: 1.05rem; height: 1.05rem; }
.btn-ic { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid currentColor; margin-right: -.6rem; }
.btn-ic .ic { width: .85rem; height: .85rem; stroke-width: 2.6; }
.btn-sm { padding: .6rem 1.2rem; font-size: .85rem; }
.btn-sm .btn-ic { width: 1.4rem; height: 1.4rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 .5rem 1.2rem rgba(227, 14, 42, .22); }
.btn-red:hover { background: var(--red-2); border-color: var(--red-2); transform: translateY(-2px); }
.btn-red .btn-ic { background: #fff; color: var(--red); border-color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-red { background: #fff; color: var(--red); border-color: var(--red); border-width: 1.5px; }
.btn-outline-red:hover { background: var(--red); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); border-width: 1.5px; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .15); }
.btn-white .btn-ic { background: var(--pink-ic); border-color: var(--pink-ic); color: var(--red); }
.btn-white:hover { transform: translateY(-2px); }
.btn-plain { padding-left: 2rem; padding-right: 2rem; border-width: 1.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.link-red { display: inline-flex; align-items: center; gap: .45rem; color: var(--red); font-weight: 600; font-size: .88rem; }
.link-red .ic { width: 1rem; height: 1rem; stroke-width: 2.4; transition: transform .2s; }
.link-red:hover .ic { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 .2rem 1.2rem rgba(0, 0, 0, .07); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 5rem; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo-img { max-height: 3rem; width: auto; }
.logo-mark { display: inline-flex; flex-direction: column; line-height: 1; }
.lm-word { display: inline-flex; align-items: center; font-weight: 800; font-size: 2.05rem; letter-spacing: -.03em; color: var(--ink); }
.lm-m { color: var(--red); }
.lm-o { width: 1.55rem; height: 1.55rem; color: var(--red); margin: 0 .14rem 0 .08rem; }
.lm-tag { font-size: .5rem; font-weight: 600; letter-spacing: .14em; color: #555; margin-top: .3rem; white-space: nowrap; }
.lm-tag i { color: var(--red); font-style: normal; margin: 0 .35rem; }
.main-nav { margin-left: auto; margin-right: auto; }
.main-nav ul { display: flex; gap: 2.3rem; }
.main-nav a { position: relative; font-size: .92rem; font-weight: 500; color: #222; padding: .4rem 0; }
.main-nav ul a::after { content: ''; position: absolute; left: 50%; bottom: -.45rem; width: 0; height: 3px; border-radius: 2px; background: var(--red); transform: translateX(-50%); transition: width .25s; }
.main-nav ul a:hover { color: var(--red); }
.main-nav ul a.active { font-weight: 700; color: var(--ink); }
.main-nav ul a.active::after { width: 1.6rem; }
.nav-cta-mobile { display: none; }
.header-cta { flex-shrink: 0; }
.header-cta .ic { width: 1rem; height: 1rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--ink); cursor: pointer; margin-left: auto; }
.nav-toggle .ic { width: 1.8rem; height: 1.8rem; }
.nav-toggle .i-close { display: none; }

/* ---------- Section head ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.sh-right { max-width: 26rem; display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.sh-right p { margin: 0; font-size: .95rem; color: var(--text); align-self: flex-start; }
.bg-dark .sh-right p { color: #d4d4d4; }

/* ---------- Home hero ---------- */
.home-hero { padding: 1.5rem 0 3rem; overflow: hidden; }
.hh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 2rem; align-items: center; padding-right: 0; max-width: none; padding-left: var(--side); }
.hh-text { padding: 2rem 0; }
.hh-text .eyebrow { margin-bottom: 1rem; }
.hh-img { align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.hh-img img { width: 100%; height: auto; max-height: 40rem; object-fit: contain; object-position: right center; }
.stats { display: flex; }
.stats-plain { margin-top: 2.5rem; }
.stats-plain .stat { padding: 0 1.9rem; border-left: 1px solid #dcdcdc; }
.stats-plain .stat:first-child { padding-left: 0; border-left: 0; }
.stat strong { display: flex; align-items: center; gap: .15rem; font-size: 1.55rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.stat strong .star { width: 1.1rem; height: 1.1rem; color: var(--red); }
.stat span { display: block; font-size: .82rem; color: var(--muted); }
.stat > div { min-width: 0; }
.stats-plain .stat-ic { display: none; }
.stat span { white-space: nowrap; }

/* ---------- Inner page hero ---------- */
.page-hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); align-items: center; background: linear-gradient(90deg, #f6f6f6 0%, #f8f8f8 45%, #fff 100%); padding-left: var(--side); min-height: 22rem; overflow: hidden; }
.ph-text { padding: 2.2rem 2rem 2.4rem 0; position: relative; z-index: 2; }
.ph-text .h1 { font-size: 3.15rem; }
.ph-text .lead { font-size: 1.02rem; margin-bottom: 1.4rem; }
.ph-img { align-self: stretch; position: relative; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; object-position: right center; min-height: 100%; }
.crumb { display: flex; align-items: center; gap: .45rem; font-size: .85rem; color: #333; margin-bottom: 1rem; flex-wrap: wrap; }
.crumb .ic { width: .85rem; height: .85rem; }
.crumb a:hover { color: var(--red); }
.ph-services .h1 { font-size: 3.6rem; }
.stats-icons { gap: 1.7rem; flex-wrap: wrap; margin-top: .4rem; }
.stats-icons .stat { display: flex; align-items: center; gap: .6rem; }
.stats-icons .stat-ic { color: var(--red); }
.stats-icons .stat-ic .ic { width: 1.9rem; height: 1.9rem; stroke-width: 1.5; }
.stats-icons .stat strong { font-size: 1.2rem; }
.stats-icons .stat span { font-size: .7rem; }
.hero-feats { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.hf { display: flex; align-items: center; gap: .6rem; }
.hf-ic { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--pink-ic); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.hf-ic .ic { width: 1.25rem; height: 1.25rem; }
.hf strong { display: block; font-size: .78rem; color: var(--ink); font-weight: 600; line-height: 1.3; }
.hf span { font-size: .72rem; color: var(--muted); }

/* ---------- Grids & cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.ic-circle { display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--pink-ic); color: var(--red); flex-shrink: 0; }
.ic-circle .ic { width: 1.6rem; height: 1.6rem; }
.ic-circle.sm { width: 3rem; height: 3rem; }
.ic-circle.sm .ic { width: 1.45rem; height: 1.45rem; }

.srv-mini { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #f1f1f1; }
.srv-mini:hover { transform: translateY(-5px); box-shadow: 0 1rem 2rem rgba(0, 0, 0, .09); }
.srv-mini h3 { font-size: 1.08rem; margin: 1.1rem 0 .55rem; font-weight: 700; }
.srv-mini p { font-size: .88rem; line-height: 1.55; color: var(--text); margin-bottom: 1rem; flex: 1; }
.mini-arrow { color: var(--red-dark); display: inline-flex; }
.mini-arrow .ic { width: 1.1rem; height: 1.1rem; stroke-width: 2.4; }
.srv-mini:hover .mini-arrow { color: var(--red); transform: translateX(4px); }

.home-work .grid-3 { gap: 1rem; }
.work-mini { background: #fff; border-radius: .6rem; overflow: hidden; display: flex; flex-direction: column; }
.work-mini:hover { transform: translateY(-5px); }
.wm-img { aspect-ratio: 236 / 102; overflow: hidden; background: #eee; }
.wm-img img, .pc-img img, .sc-img img, .pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-mini:hover .wm-img img, .proj-card:hover .pc-img img, .srv-card:hover .sc-img img, .post-card:hover .pcard-img img { transform: scale(1.05); }
.wm-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem 1.2rem; }
.cat { display: block; color: var(--red); font-size: .75rem; font-weight: 600; margin-bottom: .2rem; }
.wm-body h3 { font-size: 1.02rem; color: var(--ink); }
.wm-body p { font-size: .8rem; color: #333; margin: .25rem 0 0; }
.mini-arrow.dark { color: var(--ink); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.step { position: relative; display: flex; gap: 1.1rem; align-items: flex-start; padding-right: 2rem; }
.step-ic { width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--pink-ic); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.step-ic .ic { width: 1.7rem; height: 1.7rem; }
.step-num { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); }
.step-num em { font-style: normal; font-weight: 600; font-family: 'Noto Sans Oriya', var(--font); }
.step h3 { font-size: 1.25rem; margin: .1rem 0 .35rem; font-weight: 700; }
.step p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.5; }
.step-arrow { position: absolute; right: -.4rem; top: 1.1rem; color: #c9c9c9; }
.step-arrow .ic { width: 1.5rem; height: 1.5rem; stroke-width: 1.4; }
.process-services .step { align-items: center; }
.process-services .step h3 { font-size: 1.1rem; }

/* ---------- Testimonials ---------- */
.slider-nav { flex-direction: row; gap: .8rem; align-items: center; }
.sn-btn { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 .2rem .8rem rgba(0, 0, 0, .08); transition: .2s; }
.sn-btn .ic { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; }
.sn-btn.red, .sn-btn:hover { background: var(--red); color: #fff; }
.t-slider { overflow: hidden; }
.t-track { display: flex; transition: transform .5s ease; }
.t-slide { flex: 0 0 100%; padding: 0 .1rem; display: flex; justify-content: center; }
.t-slider.multi .t-slide { flex-basis: 33.3333%; padding: 0 .7rem; }
.t-slider.multi .t-track { margin: 0 -.7rem; }
.t-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.6rem; }
.t-dots button { width: .55rem; height: .55rem; border-radius: 50%; border: 0; background: #d7d7d7; padding: 0; cursor: pointer; }
.t-dots button.active { background: var(--red); }
.t-slider.multi .t-dots { display: none; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem 1.4rem; display: flex; gap: 1.6rem; box-shadow: var(--shadow); width: 100%; max-width: 40rem; height: 100%; }
.quote-mark { font-family: Georgia, serif; font-size: 5rem; line-height: .75; color: var(--red); font-weight: 700; height: 2.6rem; }
.testi-body { flex: 1; display: flex; flex-direction: column; }
.testi-body p { font-size: .95rem; color: #3a3a3a; line-height: 1.7; flex: 1; }
.testi-foot { display: flex; align-items: center; gap: .9rem; }
.testi-foot img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; }
.testi-who strong { display: block; font-size: .88rem; color: var(--ink); }
.testi-who span { font-size: .75rem; color: var(--muted); }
.stars { display: flex; gap: .15rem; margin-left: 1.5rem; }
.stars .ic { width: 1.05rem; height: 1.05rem; color: var(--star); }
.stars .ic.off { color: #ddd; }
.testi-grid-sec .testi-card { max-width: none; flex-direction: column; gap: .3rem; padding: 1.5rem 1.6rem; border: 1px solid #f0f0f0; }
.testi-grid-sec .quote-mark { font-size: 4rem; height: 2rem; }
.testi-grid-sec .testi-body p { font-size: .88rem; }
.testi-grid-sec .stars { margin-left: auto; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: linear-gradient(90deg, var(--red) 0%, #d50b25 55%, #c10a20 100%); color: #fff; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; left: 30%; background: url('../img/misc/temple-band.jpg') center / cover no-repeat; mix-blend-mode: multiply; opacity: .35; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 2.1rem; padding-bottom: 2.1rem; }
.cta-band .eyebrow { color: #ff9aa6; margin-bottom: .35rem; }
.cta-band h2 { color: #fff; font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.cta-band p { margin: .5rem 0 0; color: #ffe1e5; font-size: .95rem; }
.page-services .cta-band, .page-blog .cta-band { background: linear-gradient(90deg, #b30a1f 0%, #c30b22 50%, #a8091c 100%); }

/* ---------- Services page ---------- */
.srv-card { background: #fff; border-radius: var(--radius); padding: 1rem 1rem 1.3rem; border: 1px solid #f0f0f0; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.srv-card:hover { box-shadow: 0 1rem 2rem rgba(0, 0, 0, .09); transform: translateY(-4px); }
.sc-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.sc-head .ic-circle { width: 2.8rem; height: 2.8rem; }
.sc-head .ic-circle .ic { width: 1.35rem; height: 1.35rem; }
.sc-head h3 { font-size: 1rem; font-weight: 600; }
.sc-head h3 a:hover { color: var(--red); }
.sc-img { display: block; border-radius: .4rem; overflow: hidden; aspect-ratio: 210 / 85; background: #eee; }
.srv-card p { font-size: .86rem; line-height: 1.55; margin: 1rem 0 .9rem; flex: 1; }
.tools-sec .h3 { margin-bottom: 1.5rem; }
.tools-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; }
.tool { display: grid; place-items: center; height: 4.6rem; padding: .6rem .8rem; background: #fff; border-radius: .55rem; border: 1px solid #f0f0f0; box-shadow: 0 .2rem 1rem rgba(0, 0, 0, .04); }
.tool img { max-height: 2.3rem; width: auto; max-width: 100%; object-fit: contain; }
.tool span { font-weight: 700; color: var(--ink); }
a.tool:hover { transform: translateY(-3px); }

/* ---------- FAQ ---------- */
.faq-sec { padding: 3rem 0 3.5rem; }
.sec-head-faq { margin-bottom: 1.6rem; align-items: center; }
.faq-desc { margin: .5rem 0 0; font-size: .95rem; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; }
.faq-col { display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: #fff; border: 1px solid #eeeeee; border-radius: .45rem; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.3rem; background: none; border: 0; cursor: pointer; text-align: left; font-size: .9rem; color: #222; font-weight: 500; }
.faq-q .ic { color: var(--red); width: 1.1rem; height: 1.1rem; stroke-width: 2.4; transition: transform .25s; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.faq-a > div { overflow: hidden; padding: 0 1.3rem; font-size: .88rem; color: var(--text); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > div { padding-bottom: 1rem; }
.faq-tight .faq-grid { gap: .6rem 1.4rem; }

/* ---------- Work page ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.ft { padding: .6rem 1.35rem; border-radius: 3rem; border: 1px solid #e3e3e3; background: #fff; color: #222; font-size: .82rem; font-weight: 500; cursor: pointer; white-space: nowrap; box-shadow: 0 .15rem .6rem rgba(0, 0, 0, .03); transition: .2s; }
.ft:hover { border-color: var(--red); color: var(--red); }
.ft.active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
.proj-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #f0f0f0; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: opacity .3s, transform .3s; }
.proj-card.hide { display: none; }
.pc-img { display: block; aspect-ratio: 290 / 122; overflow: hidden; background: #eee; }
.pc-body { padding: 1rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 1.18rem; margin: .1rem 0 .55rem; }
.pc-body h3 a:hover { color: var(--red); }
.pc-body > p { font-size: .86rem; line-height: 1.55; margin-bottom: .9rem; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1rem; margin-top: auto; }
.metric { padding: 0 .8rem; border-left: 1px solid #e6e6e6; }
.metric:first-child { padding-left: 0; border-left: 0; }
.metric strong { display: flex; align-items: center; gap: .35rem; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.metric strong .ic { width: 1rem; height: 1rem; color: var(--red); stroke-width: 2.6; }
.metric span { display: block; font-size: .7rem; color: var(--muted); line-height: 1.3; margin-top: .15rem; }
.stats-band { padding: 1.7rem 0; }
.stats-big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-big .stat { display: flex; align-items: center; justify-content: center; gap: 1.1rem; border-left: 1px solid #ecd0d4; padding: .3rem 1rem; }
.stats-big .stat:first-child { border-left: 0; }
.stats-big .stat-ic { color: var(--red); }
.stats-big .stat-ic .ic { width: 2.7rem; height: 2.7rem; stroke-width: 1.4; }
.stats-big .stat strong { font-size: 1.6rem; }
.stats-big .stat span { font-size: .85rem; color: #555; }

/* ---------- About page ---------- */
.story-sec { display: grid; grid-template-columns: minmax(0, 41.5fr) minmax(0, 30fr) minmax(0, 26fr); gap: 2.3rem; align-items: center; padding: 1.1rem var(--side) 1.1rem 0; }
.story-img { align-self: stretch; }
.story-img img { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; border-radius: 0 var(--radius) var(--radius) 0; }
.story-text .h2 { margin-bottom: 1.4rem; font-size: 2.55rem; }
.story-text p { font-size: .88rem; line-height: 1.75; }
.story-timeline { position: relative; display: flex; flex-direction: column; gap: 1.5rem; }
.story-timeline::before { content: ''; position: absolute; left: 1.45rem; top: 1.5rem; bottom: 1.5rem; width: 1px; background: #f0c9cf; }
.tl-item { position: relative; display: flex; gap: 1rem; align-items: flex-start; }
.tl-ic { width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--pink-ic); color: var(--red); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 0 4px #fff; }
.tl-ic .ic { width: 1.35rem; height: 1.35rem; }
.tl-item h4 { font-size: .92rem; font-weight: 600; margin: .1rem 0 .2rem; }
.tl-item p { font-size: .8rem; line-height: 1.5; margin: 0; color: var(--text); }
.values-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30%); align-items: stretch; padding-left: var(--side); margin-top: 1.2rem; }
.values-left { padding: 1rem 0 1.6rem; position: relative; z-index: 2; }
.values-left .h2 { margin-bottom: 1.4rem; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.value-card { background: #fff; border: 1px solid #f0f0f0; border-radius: .6rem; padding: 1.4rem 1.2rem; box-shadow: var(--shadow); }
.value-card h3 { font-size: 1rem; margin: 1.1rem 0 .5rem; font-weight: 700; }
.value-card p { font-size: .8rem; line-height: 1.55; margin: 0; }
.values-img { position: relative; margin-left: -2rem; }
.values-img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.team-sec .sh-right { flex-direction: row; align-items: center; max-width: 36rem; gap: 2.5rem; }
.team-sec .sh-right p { font-size: .88rem; }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.team-card { background: #fff; border: 1px solid #f0f0f0; border-radius: .6rem; padding: 0 1rem 1rem; text-align: center; box-shadow: var(--shadow); }
.team-card:hover { transform: translateY(-4px); }
.tm-photo { width: 76%; margin: 0 auto; aspect-ratio: 98 / 84; overflow: hidden; border-radius: 0 0 .4rem .4rem; background: #eee; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-card h3 { font-size: .95rem; margin: .8rem 0 .15rem; font-weight: 700; }
.team-card > p { font-size: .8rem; color: var(--muted); margin-bottom: .8rem; }
.tm-social { display: flex; justify-content: center; gap: .6rem; }
.tm-social a { width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--pink-ic); color: var(--red); display: grid; place-items: center; }
.tm-social a:hover { background: var(--red); color: #fff; }
.tm-social .ic { width: .85rem; height: .85rem; }
.office-band { position: relative; background: #0b0b0b; color: #ddd; overflow: hidden; min-height: 13.5rem; display: flex; align-items: center; }
.ob-img { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; }
.ob-img img { width: 100%; height: 100%; object-fit: cover; }
.ob-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0b 0%, rgba(11, 11, 11, .75) 25%, rgba(11, 11, 11, 0) 60%); z-index: 1; }
.ob-inner { position: relative; z-index: 2; display: flex; gap: 1.6rem; padding-top: 2rem; padding-bottom: 2rem; }
.ob-pin { color: var(--red); margin-top: .2rem; }
.ob-pin .ic { width: 2.2rem; height: 2.2rem; }
.ob-pin .ic circle { fill: #0b0b0b; }
.ob-text { max-width: 30rem; }
.ob-text .eyebrow { margin-bottom: .3rem; font-size: .7rem; }
.ob-text h2 { color: #fff; font-size: 1.7rem; letter-spacing: -.02em; margin-bottom: .6rem; }
.ob-text p { font-size: .85rem; color: #d0d0d0; margin-bottom: 1rem; }

/* ---------- Pricing page ---------- */
.plans-head { align-items: flex-end; margin-bottom: 1.5rem; }
.billing-toggle { position: relative; display: flex; background: #fff; border-radius: 3rem; padding: .3rem; box-shadow: 0 .3rem 1.2rem rgba(0, 0, 0, .07); }
.billing-toggle button { border: 0; background: none; padding: .6rem 1.6rem; border-radius: 3rem; font-size: .85rem; font-weight: 500; color: #333; cursor: pointer; min-width: 5.5rem; }
.billing-toggle button.active { background: var(--red); color: #fff; font-weight: 600; }
.save-badge { position: absolute; top: -.85rem; right: -.6rem; background: var(--red); color: #fff; font-size: .62rem; font-weight: 600; padding: .2rem .6rem; border-radius: 1rem; white-space: nowrap; }
.plans-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; padding-top: 1rem; }
.plan { position: relative; background: #fff; border: 1px solid #ededed; border-radius: .7rem; padding: 1.5rem 1.4rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan-popular { border: 2px solid var(--red); margin-top: -.6rem; padding-top: 2.6rem; box-shadow: 0 1rem 2.4rem rgba(227, 14, 42, .15); }
.plan-ribbon { position: absolute; left: -2px; right: -2px; top: -1.1rem; background: var(--red); color: #fff; text-align: center; font-size: .7rem; font-weight: 600; letter-spacing: .1em; padding: .45rem; border-radius: .6rem .6rem 0 0; }
.plan-ic { width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--pink-ic); color: var(--red); display: grid; place-items: center; margin-bottom: 1rem; }
.plan-ic .ic { width: 1.5rem; height: 1.5rem; }
.plan-popular .plan-ic { background: var(--red); color: #fff; }
.plan h3 { font-size: 1.4rem; font-weight: 700; }
.plan-desc { font-size: .84rem; color: var(--text); margin: .3rem 0 1rem; min-height: 2.7rem; line-height: 1.5; }
.plan-price { margin-bottom: 1.1rem; display: flex; align-items: baseline; gap: .4rem; }
.plan-price strong { font-size: 1.85rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.plan-price small { font-size: .88rem; color: var(--text); }
.plan-price.text strong { font-size: 1.6rem; }
.plan .btn { margin-bottom: 1.4rem; padding: .7rem 1rem; font-size: .85rem; }
.plan-feats li { display: flex; gap: .6rem; font-size: .85rem; color: #333; margin-bottom: .75rem; line-height: 1.45; }
.plan-feats .ic { width: 1.1rem; height: 1.1rem; color: var(--red); margin-top: .1rem; stroke-width: 2.4; }
.plan:not(.plan-dark):not(.plan-popular) .plan-feats .ic { background: var(--pink-ic); border-radius: 50%; padding: .18rem; }
.plan-dark { background: #0d0d0d; border-color: #0d0d0d; color: #ccc; }
.plan-dark h3, .plan-dark .plan-price strong { color: #fff; }
.plan-dark .plan-ic { background: #fff; color: var(--ink); }
.plan-dark .plan-desc, .plan-dark .plan-feats li { color: #ddd; }
.plan-dark .plan-feats .ic { color: #fff; }
.plan-dark .plan-feats .ic path { stroke: #0d0d0d; }
.compare-sec { padding-top: 1.2rem; }
.compare-sec .h2 { font-size: 2rem; margin-bottom: 1.2rem; }
.table-wrap { overflow-x: auto; border-radius: .5rem; border: 1px solid #efefef; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 44rem; font-size: .84rem; }
.compare th { background: #f7f7f9; color: var(--ink); font-weight: 600; padding: .7rem 1rem; text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare td { padding: .55rem 1rem; text-align: center; border-top: 1px solid #f1f1f1; color: #333; }
.compare td:first-child { display: flex; align-items: center; gap: .7rem; }
.compare .ic.g { color: var(--green); width: 1rem; height: 1rem; }
.compare .hl { background: #fdecee; }
.compare th.hl { color: var(--red); background: #fbdfe3; }

/* ---------- Blog ---------- */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19.5%; gap: 1.1rem; align-items: start; }
.post-grid { gap: 1rem; }
.post-card { background: #fff; border-radius: .55rem; overflow: hidden; border: 1px solid #efefef; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pcard-img { position: relative; display: block; aspect-ratio: 234 / 123; overflow: hidden; background: #eee; }
.badge { position: absolute; top: .7rem; left: .7rem; background: var(--red); color: #fff; font-size: .72rem; font-weight: 500; padding: .25rem .7rem; border-radius: 1rem; border: 2px solid #fff; }
.badge.static { position: static; display: inline-block; margin-bottom: 1rem; border: 0; }
.pcard-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.pcard-body time { font-size: .75rem; color: var(--muted); }
.pcard-body h3 { font-size: 1.05rem; line-height: 1.3; margin: .3rem 0 .5rem; letter-spacing: -.01em; }
.pcard-body h3 a:hover { color: var(--red); }
.pcard-body > p { font-size: .8rem; line-height: 1.55; margin-bottom: .9rem; flex: 1; }
.pcard-foot { display: flex; align-items: center; gap: .55rem; font-size: .74rem; }
.pcard-foot img { width: 1.7rem; height: 1.7rem; border-radius: 50%; object-fit: cover; }
.pcard-foot strong { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-foot span { color: var(--muted); margin-left: .3rem; white-space: nowrap; }
.circle-arrow { margin-left: auto; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.circle-arrow .ic { width: .95rem; height: .95rem; stroke-width: 2.4; }
.circle-arrow:hover { background: var(--red); color: #fff; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: 2rem; }
.pagination a, .pagination .dots { min-width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: .4rem; font-size: .82rem; color: #333; background: #fff; border: 1px solid #eee; }
.pagination .dots { border: 0; background: none; }
.pagination a.active { background: var(--red); color: #fff; border-color: var(--red); }
.pagination a:hover:not(.active) { border-color: var(--red); color: var(--red); }
.pagination .ic { width: 1rem; height: 1rem; stroke-width: 2.4; }
.blog-side { display: flex; flex-direction: column; gap: 1rem; }
.side-search { position: relative; display: flex; background: #fff; border: 1px solid #ececec; border-radius: .45rem; overflow: hidden; box-shadow: var(--shadow); }
.side-search .ss-ic { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: #333; }
.side-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: .75rem .5rem .75rem 2.3rem; font-size: .8rem; }
.side-search button { border: 0; background: var(--red); color: #fff; width: 2.9rem; cursor: pointer; display: grid; place-items: center; }
.side-search button .ic { width: 1.05rem; height: 1.05rem; }
.side-box { background: #fff; border: 1px solid #efefef; border-radius: .55rem; padding: 1.1rem 1rem; box-shadow: var(--shadow); }
.side-box h4 { font-size: 1.05rem; margin-bottom: .8rem; display: flex; align-items: center; gap: .4rem; }
.side-box h4 .ic { color: var(--red); }
.cat-list li a { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: #333; padding: .4rem 0; }
.cat-list li a:hover { color: var(--red); }
.cat-list i { width: .45rem; height: .45rem; border-radius: 2px; flex-shrink: 0; }
.cat-list span { margin-left: auto; background: #f3f3f3; border-radius: 50%; min-width: 1.5rem; height: 1.5rem; display: grid; place-items: center; font-size: .7rem; color: #444; }
.side-news { background: linear-gradient(160deg, var(--red) 0%, #c50a21 100%); color: #fff; border-radius: .55rem; padding: 1.3rem 1.1rem; }
.side-news .eyebrow { color: #ffd0d6; font-size: .68rem; margin-bottom: .3rem; }
.side-news h4 { color: #fff; font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: .6rem; }
.side-news p { font-size: .8rem; color: #ffe3e7; }
.nf-row { display: flex; background: #fff; border-radius: 3rem; padding: .25rem; }
.nf-row input { flex: 1; min-width: 0; border: 0; outline: 0; padding: .5rem .8rem; font-size: .78rem; border-radius: 3rem; }
.nf-row button { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.nf-row button .ic { width: .95rem; height: .95rem; stroke-width: 2.4; }
.nf-check { display: flex; align-items: center; gap: .5rem; font-size: .75rem; margin-top: .8rem; cursor: pointer; }
.nf-check input { width: .95rem; height: .95rem; accent-color: #fff; }
.form-msg { font-size: .78rem; margin-top: .5rem; }
.trending .tr-item { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; }
.tr-num { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--pink-ic); color: var(--red); display: grid; place-items: center; font-size: .72rem; font-weight: 600; flex-shrink: 0; }
.tr-item img { width: 3.3rem; height: 3.3rem; border-radius: .35rem; object-fit: cover; flex-shrink: 0; }
.tr-item strong { display: block; font-size: .72rem; font-weight: 500; color: #222; line-height: 1.35; }
.tr-item time { font-size: .68rem; color: var(--muted); }
.tr-item:hover strong { color: var(--red); }
.empty { padding: 2rem; text-align: center; background: var(--soft); border-radius: .5rem; }

/* ---------- Contact ---------- */
.contact-cards-sec { padding: 1rem 0 0; }
.c-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid #efefef; border-radius: .6rem; padding: 1.15rem 1.2rem; box-shadow: var(--shadow); }
.c-card:hover { transform: translateY(-4px); }
.cc-ic { width: 3rem; height: 3rem; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.cc-ic.green, .way-ic.green { background: var(--green); }
.cc-ic .ic { width: 1.45rem; height: 1.45rem; }
.cc-ic .ic circle[fill="#fff"] { fill: var(--red); }
.c-card h3 { font-size: .95rem; font-weight: 600; }
.c-card strong { display: block; font-size: .95rem; color: var(--ink); font-weight: 600; margin: .1rem 0; word-break: break-word; }
.c-card div > span { font-size: .75rem; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: start; }
.form-card { background: #fff; border: 1px solid #efefef; border-radius: .7rem; padding: 1.8rem 1.6rem 1.4rem; box-shadow: var(--shadow); }
.form-card .sub { margin-bottom: 1.4rem; font-size: .9rem; }
.c-form label { display: block; margin-bottom: 1rem; }
.c-form label > span { display: block; font-size: .82rem; color: #222; font-weight: 500; margin-bottom: .45rem; }
.c-form label b { color: var(--red); }
.c-form input, .c-form select, .c-form textarea { width: 100%; border: 1px solid #e3e3e3; border-radius: .35rem; padding: .75rem .9rem; font-size: .82rem; color: #222; background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s; }
.c-form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 1rem; padding-right: 2.2rem; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 14, 42, .1); }
.c-form textarea { resize: vertical; min-height: 6rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
.c-form .btn { margin-top: .4rem; padding: .9rem; }
.f-note { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--muted); margin: 1.1rem 0 0; }
.f-note .ic { width: .85rem; height: .85rem; color: #888; }
.hp { position: absolute; left: -9999px; }
.alert { padding: .8rem 1rem; border-radius: .4rem; font-size: .85rem; margin-bottom: 1rem; }
.alert.ok { background: #e8f7ee; color: #17663a; }
.alert.err { background: #fdecee; color: #a40b1f; }
.contact-side { display: flex; flex-direction: column; gap: 1rem; }
.map-box { border-radius: .6rem; overflow: hidden; height: 13rem; background: #eee; border: 1px solid #eee; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.office-card { background: #fff; border: 1px solid #efefef; border-radius: .7rem; padding: 1.2rem; box-shadow: var(--shadow); }
.office-card .h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.od { display: flex; gap: .9rem; border: 1px solid #f0f0f0; border-radius: .5rem; padding: 1rem .9rem; }
.od-ic { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--pink-ic); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.od-ic .ic { width: 1.2rem; height: 1.2rem; }
.od-ic .ic circle[fill="#fff"] { fill: var(--pink-ic); }
.od-ic .ic-clock { stroke-width: 2; }
.od h4 { font-size: .88rem; font-weight: 600; margin-bottom: .25rem; }
.od p { font-size: .76rem; color: #444; margin: 0; line-height: 1.5; }
.od p.muted { color: var(--muted); margin-top: .2rem; }
.od .link-red { font-size: .78rem; margin-top: .5rem; }
.ways-band { position: relative; background: linear-gradient(90deg, #9b0617 0%, #b60a1f 40%, #a3081a 70%, #7d0512 100%); color: #fff; overflow: hidden; padding: 2.1rem 0 2.2rem; }
.ways-band::before { content: ''; position: absolute; top: 0; bottom: 0; left: 35%; width: 45%; background: url('../img/misc/temple-band.jpg') center / cover no-repeat; mix-blend-mode: multiply; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.ways-band .container { position: relative; }
.ways-head { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: 1.6rem; }
.ways-head .eyebrow { color: #fff; margin-bottom: .3rem; }
.ways-head h2 { color: #fff; font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.ways-head p { margin: .4rem 0 0; color: #ffe0e4; }
.way { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: .6rem; background: rgba(40, 0, 6, .38); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(4px); }
.way:hover { background: rgba(40, 0, 6, .55); transform: translateY(-3px); }
.way-ic { width: 3rem; height: 3rem; border-radius: 50%; background: var(--red); display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.way-ic .ic { width: 1.45rem; height: 1.45rem; }
.way-ic .ic circle[fill="#fff"] { fill: var(--red); }
.way-ic .ic-mail path[stroke="#fff"] { stroke: var(--red); }
.way-ic.green .ic path[fill="#fff"] { fill: var(--green); }
.cc-ic.green .ic path[fill="#fff"] { fill: var(--green); }
.cc-ic .ic-mail path[stroke="#fff"] { stroke: var(--red); }
.way h3 { color: #fff; font-size: 1rem; font-weight: 600; }
.way p { margin: .1rem 0 0; font-size: .8rem; color: #ffd9de; }

/* ---------- Detail pages ---------- */
.detail-hero, .post-hero { background: linear-gradient(90deg, #f6f6f6, #fff); padding: 3rem 0; }
.dh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.dh-grid .ic-circle { margin-bottom: 1rem; }
.dh-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; }
.metrics.big { max-width: 30rem; margin-top: 1rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; align-items: start; }
.rich { font-size: 1rem; line-height: 1.8; color: #3d3d3d; }
.rich.narrow { max-width: 52rem; }
.rich h2, .rich h3 { margin: 1.6rem 0 .8rem; }
.rich ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.rich ol { padding-left: 1.3rem; }
.rich img { border-radius: .5rem; margin: 1rem 0; }
.rich a { color: var(--red); text-decoration: underline; }
.detail-side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 6rem; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid #f2f2f2; font-size: .88rem; }
.side-links a:hover, .side-links a.active { color: var(--red); }
.side-links .ic { width: .9rem; height: .9rem; }
.narrow-wide { max-width: 60rem; }
.post-meta { display: flex; align-items: center; gap: 1rem; font-size: .85rem; flex-wrap: wrap; }
.post-meta img { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; }
.post-meta strong { color: var(--ink); }
.post-meta span { color: var(--muted); }
.post-cover { width: 100%; border-radius: var(--radius); margin-bottom: 1.6rem; aspect-ratio: 16 / 8; object-fit: cover; }
.empty-page { text-align: center; padding: 3rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: #111; color: #bdbdbd; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1.15fr 1.2fr; gap: 2.5rem; padding-top: 2.6rem; padding-bottom: 2.2rem; }
.logo-light .lm-word { color: #fff; }
.logo-light .lm-tag { color: #bbb; }
.f-about p { font-size: .82rem; line-height: 1.6; margin: 1.1rem 0 1.2rem; max-width: 20rem; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); color: #fff; display: grid; place-items: center; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials .ic { width: 1rem; height: 1rem; }
.f-col h4 { color: var(--red); font-size: .9rem; font-weight: 600; margin-bottom: .9rem; }
.f-col ul li { margin-bottom: .35rem; font-size: .83rem; }
.f-col ul a:hover { color: #fff; }
.f-contact li { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem !important; }
.f-contact li .ic { width: 1.05rem; height: 1.05rem; color: var(--red); }
.f-contact li .ic circle[fill="#fff"] { fill: #111; }
.f-contact li .ic-mail path[stroke="#fff"] { stroke: #111; }
.f-contact .btn { margin-top: .8rem; }
.footer-bottom { border-top: 1px solid #222; }
.fb-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: .78rem; }
.fb-inner p { margin: 0; }
.fb-links { display: flex; gap: .7rem; flex-wrap: wrap; }
.fb-links a:hover { color: #fff; }
.to-top { position: fixed; right: 1.7rem; bottom: 5.3rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 .4rem 1rem rgba(227, 14, 42, .35); opacity: 0; visibility: hidden; transform: translateY(10px); z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top .ic { width: 1.1rem; height: 1.1rem; stroke-width: 2.4; }
.wa-float { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 .4rem 1.2rem rgba(37, 211, 102, .4); z-index: 91; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .ic { width: 1.7rem; height: 1.7rem; }

/* avatars when there is no photo */
.avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--pink-ic); color: var(--red); display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.tm-initials { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(160deg, var(--pink-ic), #fff); color: var(--red); font-size: 2rem; font-weight: 800; }

/* clients */
.clients-strip, .clients-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.clients-grid { margin-top: 1.4rem; }
.client-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; background: #fff; border: 1px solid #f0f0f0; border-radius: .6rem; padding: .9rem .7rem; box-shadow: 0 .2rem 1rem rgba(0, 0, 0, .04); transition: transform .2s; }
.client-card.hide { display: none; }
a.client-card:hover { transform: translateY(-3px); }
.cl-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 4.2rem; }
.cl-logo img { max-height: 4.2rem; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.cl-logo b { width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--pink-ic); color: var(--red); display: grid; place-items: center; font-size: 1.1rem; }
.client-card strong { font-size: .84rem; color: var(--ink); line-height: 1.3; margin-top: .35rem; }
.client-card > span:last-child { font-size: .72rem; color: var(--muted); }

/* pricing terms */
.terms-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 2.5rem; }
.terms-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; line-height: 1.5; }
.terms-list .ic { color: var(--green); width: 1.1rem; height: 1.1rem; margin-top: .15rem; }

/* products */
.prod-list { display: grid; gap: 1.5rem; }
.prod-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid #efefef; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pc-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1rem; padding: 1.6rem 1.6rem 0; min-height: 20rem; background: radial-gradient(circle at 75% 20%, rgba(227, 14, 42, .28), transparent 55%), radial-gradient(circle at 15% 85%, rgba(34, 164, 71, .22), transparent 50%), #101010; }
.pc-logo { align-self: flex-start; max-height: 2.6rem; width: auto; }
.pc-shot { width: 74%; max-width: 19rem; margin-bottom: -2.5rem; filter: drop-shadow(0 1rem 2rem rgba(0, 0, 0, .45)); transition: transform .3s; }
.prod-card:hover .pc-shot { transform: translateY(-6px); }
.pc-info { padding: 2rem 2.2rem; display: flex; flex-direction: column; align-items: flex-start; }
.pc-info h3 { font-size: 1.7rem; margin: .1rem 0 .6rem; }
.pc-info h3 a:hover { color: var(--red); }
.pc-info > p { font-size: .92rem; line-height: 1.65; margin: 0 0 1rem; }
.pc-mods { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1.4rem; width: 100%; }
.pc-mods li { display: flex; align-items: center; gap: .45rem; font-size: .86rem; font-weight: 500; color: var(--ink); }
.pc-mods .ic { color: var(--green); width: 1rem; height: 1rem; }
.pc-from { font-size: .88rem; color: var(--muted); margin: 0 0 1.2rem !important; }
.pc-from strong { color: var(--ink); font-size: 1.15rem; }
.pc-info .btn-row { margin-top: auto; }
.prod-hero .ph-logo { display: inline-flex; background: #101010; border-radius: .6rem; padding: .55rem .9rem; margin-bottom: 1.2rem; }
.prod-hero .ph-logo img { height: 2.2rem; width: auto; }
.ph-visit { margin: 1.1rem 0 0; }
.prod-visual { display: flex; justify-content: center; align-items: center; border-radius: var(--radius); padding: 2rem 1rem; background: radial-gradient(circle at 70% 25%, rgba(227, 14, 42, .25), transparent 55%), radial-gradient(circle at 20% 85%, rgba(34, 164, 71, .2), transparent 50%), #101010; }
.prod-visual img { width: 70%; max-width: 22rem; filter: drop-shadow(0 1.2rem 2rem rgba(0, 0, 0, .5)); }
.feat-grid { gap: 1.1rem; }
.feat-card { background: #fff; border: 1px solid #f0f0f0; border-radius: .6rem; padding: 1.4rem 1.3rem; box-shadow: var(--shadow); }
.feat-card h3 { font-size: 1.02rem; margin: 1rem 0 .45rem; }
.feat-card p { font-size: .85rem; line-height: 1.6; margin: 0; }
/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 36rem), 1fr)); gap: 1.4rem; }
.partner-card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); background: #fff; border: 1px solid #efefef; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pt-logo { display: flex; align-items: center; justify-content: center; padding: 1.5rem; min-height: 12rem; background: #0a0a0a; }
.pt-logo img { width: 100%; max-width: 17rem; height: auto; }
.pt-logo b { color: #fff; font-size: 1.6rem; letter-spacing: .04em; text-align: center; }
.pt-info { padding: 1.7rem 2rem; display: flex; flex-direction: column; align-items: flex-start; }
.pt-info h3 { font-size: 1.45rem; margin: .1rem 0 .55rem; }
.pt-info > p { font-size: .9rem; line-height: 1.65; margin: 0 0 1rem; }
.pt-tags { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.pt-tags li { font-size: .74rem; font-weight: 500; color: var(--ink); background: var(--soft); border: 1px solid #ececec; border-radius: 2rem; padding: .3rem .75rem; }
.bg-soft .pt-tags li { background: #fff; }
.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 68rem; margin: 0 auto; }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 46rem; margin: 0 auto; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1279px) {
  .main-nav ul { gap: 1.5rem; }
  .header-inner { gap: 1.2rem; }
  .h1-xl { font-size: 3.3rem; }
  .ph-text .h1 { font-size: 2.55rem; }
  .ph-services .h1 { font-size: 2.9rem; }
  .ph-text .lead { font-size: .92rem; }
  .ph-text { padding-top: 1.6rem; padding-bottom: 1.8rem; }
  .page-hero { min-height: 18rem; }
  .page-hero { grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); }
  .ph-about .ph-img img { object-position: 62% center; }
  .stats-icons { gap: 1rem; flex-wrap: nowrap; }
  .stats-icons .stat-ic .ic { width: 1.5rem; height: 1.5rem; }
  .stats-icons .stat strong { font-size: 1.05rem; }
  .tools-row { gap: .6rem; }
  .tool { padding: .5rem; height: 4rem; }
  .team-sec .sh-right { gap: 1.5rem; }
  .ft { padding: .5rem 1rem; font-size: .76rem; }
  .filter-tabs { gap: .5rem; }
  .pcard-foot { font-size: .68rem; gap: .4rem; }
  .stats-plain .stat { padding: 0 1.2rem; }
}

@media (max-width: 1099px) {
  .lm-word { font-size: 1.75rem; }
  .lm-o { width: 1.3rem; height: 1.3rem; }
  .main-nav ul { gap: 1.1rem; }
  .main-nav a { font-size: .85rem; }
  .header-cta { padding: .55rem .9rem; }
  .stats-plain .stat { padding: 0 .9rem; }
  .stat strong { font-size: 1.35rem; }
  .story-sec { gap: 1.6rem; }
  .blog-layout { grid-template-columns: minmax(0, 1fr) 15rem; }
}

@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clients-strip, .clients-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-icons { flex-wrap: wrap; }
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .plan-popular { margin-top: 0; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .step:nth-child(2) .step-arrow { display: none; }
}

/* ---------- Tablet & mobile navigation ---------- */
@media (max-width: 991px) {
  .section { padding: 3.5rem 0; }
  .section-sm { padding: 2.6rem 0; }
  .header-inner { height: 4.4rem; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 4.4rem; left: 0; right: 0; bottom: 0; background: #fff; margin: 0; padding: 1.5rem var(--pad) 2rem; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; border-top: 1px solid var(--line); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 1rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .main-nav ul a.active { color: var(--red); }
  .nav-cta-mobile { display: inline-flex; margin-top: 1.5rem; width: 100%; padding: .9rem; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { transform: none; }
  body.nav-open .nav-toggle .i-open { display: none; }
  body.nav-open .nav-toggle .i-close { display: block; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 1.8rem; }
  .sh-right, .team-sec .sh-right { max-width: none; align-items: flex-start; width: 100%; }
  .team-sec .sh-right { flex-direction: column; gap: 1rem; }
  .slider-nav { flex-direction: row !important; }
  .slider-nav { flex-direction: row; }
  .h2 { font-size: 2.1rem; }

  .hh-grid, .page-hero { grid-template-columns: 1fr; padding-left: 0; }
  .hh-grid { gap: 0; }
  .hh-text { padding: 1rem var(--pad) 1.5rem; }
  .hh-img { padding: 0 var(--pad); justify-content: center; }
  .hh-img img { max-height: none; max-width: 40rem; width: 100%; }
  .page-hero { min-height: 0; }
  .ph-text { padding: 2rem var(--pad) 1.8rem; }
  .ph-img img { height: auto; aspect-ratio: auto; }
  .lead { max-width: none; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-slider.multi .t-slide { flex-basis: 50%; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-big { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.2rem; }
  .stats-big .stat:nth-child(3) { border-left: 0; }
  .stats-big .stat { justify-content: flex-start; }
  .story-sec { grid-template-columns: 1fr; padding: 0 0 2rem; gap: 1.6rem; }
  .story-img { grid-row: auto; }
  .story-img img { border-radius: 0; min-height: 0; aspect-ratio: 428 / 270; }
  .story-text, .story-timeline { padding: 0 var(--pad); }
  .story-timeline::before { left: calc(var(--pad) + 1.45rem); }
  .values-sec { grid-template-columns: 1fr; padding: 0; }
  .values-left { padding: 1rem var(--pad) 1.5rem; }
  .values-img { margin: 0; }
  .values-img img { aspect-ratio: 16 / 8; height: auto; object-position: center; }
  .office-band { flex-direction: column; align-items: stretch; }
  .ob-img { position: relative; width: 100%; height: 14rem; }
  .ob-img::before { background: linear-gradient(0deg, #0b0b0b 0%, rgba(11, 11, 11, 0) 45%); }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-side { display: grid; grid-template-columns: 1fr 1fr; }
  .side-search { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-layout, .dh-grid { grid-template-columns: 1fr; gap: 2rem; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-inner, .ways-head { flex-direction: column; align-items: flex-start; }
  .cta-band::before { left: 0; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: .2rem var(--pad) .6rem; scrollbar-width: none; }
  .filter-tabs::-webkit-scrollbar { display: none; }
}

@media (max-width: 767px) {
  .home-hero { padding-top: .5rem; }
  .h1, .ph-text .h1, .ph-services .h1 { font-size: 2.35rem; }
  .h1-xl { font-size: 2.6rem; }
  .h2, .story-text .h2 { font-size: 1.8rem; }
  .h3 { font-size: 1.45rem; }
  .lead { font-size: 1rem; }
  .stats-plain { flex-wrap: wrap; row-gap: 1.2rem; }
  .stats-plain .stat { flex: 0 0 50%; padding: 0 1rem; }
  .stats-plain .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-icons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .grid-3, .post-grid { grid-template-columns: 1fr; }
  .srv-mini-grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-card, .partner-card { grid-template-columns: 1fr; }
  .pt-logo { min-height: 8rem; }
  .pt-info { padding: 1.4rem 1.2rem; }
  .pc-visual { min-height: 15rem; }
  .pc-info { padding: 1.5rem 1.2rem; }
  .pc-info h3 { font-size: 1.4rem; }
  .pc-mods { grid-template-columns: 1fr; }
  .clients-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .cl-logo { height: 3.4rem; }
  .cl-logo img { max-height: 3.4rem; }
  .terms-list { grid-template-columns: 1fr; }
  .wa-float { right: 1rem; bottom: 1rem; width: 2.9rem; height: 2.9rem; }
  .to-top { right: 1.15rem; bottom: 4.5rem; }
  .t-slider.multi .t-slide { flex-basis: 100%; }
  .testi-card { flex-direction: column; gap: .4rem; padding: 1.4rem; }
  .quote-mark { font-size: 4rem; height: 2rem; }
  .testi-foot { flex-wrap: wrap; }
  .stars { margin-left: 0; width: 100%; }
  .testi-grid-sec .stars { margin-left: 0; }
  .process { grid-template-columns: 1fr; gap: 1.4rem; }
  .step { padding-right: 0; }
  .step-arrow { display: none; }
  .tools-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .tool { height: 3.8rem; padding: .5rem; }
  .faq-grid { grid-template-columns: 1fr; gap: .7rem; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-side { grid-template-columns: 1fr; }
  .plans-head .sh-right { width: 100%; }
  .billing-toggle { width: 100%; }
  .billing-toggle button { flex: 1; padding: .6rem .5rem; min-width: 0; }
  .save-badge { right: .2rem; }
  .plans-grid { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.4rem 1.1rem; }
  .cta-band h2, .ways-head h2 { font-size: 1.55rem; }
  .ob-text h2 { font-size: 1.4rem; }
  .ob-inner { gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .fb-inner { flex-direction: column; text-align: center; }
  .fb-links { justify-content: center; }
  .hero-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}

@media (max-width: 479px) {
  :root { --pad: 1rem; }
  .grid-4, .contact-cards, .ways-grid { grid-template-columns: 1fr; }
  .srv-mini-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .srv-mini { padding: 1.1rem 1rem; }
  .srv-mini h3 { font-size: .95rem; }
  .srv-mini p { font-size: .8rem; }
  .ic-circle { width: 2.9rem; height: 2.9rem; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-big { grid-template-columns: 1fr 1fr; }
  .stats-big .stat { flex-direction: column; text-align: center; align-items: center; gap: .4rem; padding: .3rem .4rem; }
  .stats-big .stat-ic .ic { width: 2.1rem; height: 2.1rem; }
  .stats-big .stat strong { font-size: 1.35rem; justify-content: center; }
  .btn-row .btn { flex: 1 1 100%; }
  .metric { padding: 0 .5rem; }
  .metric strong { font-size: 1rem; }
  .lm-word { font-size: 1.55rem; }
  .lm-o { width: 1.15rem; height: 1.15rem; }
  .lm-tag { font-size: .44rem; }
  .hero-feats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
