/* ============ DOOBAZAR IT — shared stylesheet (scaled-down) ============ */
* { margin: 0; padding: 0; box-sizing: border-box }

:root {
  --bg: #F4F3EF;
  --ink: #0B0B0B;
  --muted: #63625C;
  --card: #FFFFFF;
  --blue: #D9E9FB;
  --lime: #C9F04D;
  --line: #E7E5DE;
  --r: 28px;
  --font: 'Poppins', sans-serif;
  --gutter: 32px;
}

html { scroll-behavior: smooth }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 400; overflow-x: hidden; -webkit-font-smoothing: antialiased }
a { text-decoration: none; color: inherit }
img { display: block; max-width: 100% }
::selection { background: var(--lime); color: #0B0B0B }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) }

.pill-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: var(--ink); padding: 12px 26px; border-radius: 100px; font-weight: 500; font-size: 14.5px; border: none; cursor: pointer; transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .35s, box-shadow .35s }
.pill-btn:hover { transform: translateY(-3px) scale(1.03); background: #c8ddf4; box-shadow: 0 12px 26px rgba(0,0,0,.08) }
.pill-btn.dark { background: var(--ink); color: #fff }
.pill-btn.dark:hover { background: #222 }

.tag-dot { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px }
.tag-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none }

.big-h { font-size: clamp(25px, 3.2vw, 34px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em }
.section-pad { padding: 90px 0 }

/* ---- header (NOT fixed) ---- */
header { position: static; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 100 }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.02em }
.logo img { height: 34px; width: auto }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 14.5px }
.nav-links a { position: relative; padding: 6px 0; opacity: .85; transition: opacity .3s }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--ink); transition: width .35s }
.nav-links a:hover::after, .nav-links a.active::after { width: 100% }
.nav-links a:hover { opacity: 1 }

/* Nav CTA button.
   `.nav-links a` is specificity (0,1,1) and outranks both `.pill-btn` and a
   bare `.nav-cta` (0,1,0), so the button was rendering with `padding: 6px 0`
   and `opacity: .85` from the plain-link rule above — a washed-out dark pill
   with no horizontal padding. Matching the specificity is what actually makes
   it read as a button. */
.nav-links a.nav-cta { padding: 11px 24px; opacity: 1; line-height: 1.15; white-space: nowrap; flex: none }
.nav-links a.nav-cta::after { display: none }
.nav-links a.nav-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px }

/* ---- hamburger (mobile only) ---- */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0; z-index: 110 }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; margin: 0 auto; transition: transform .3s, opacity .3s }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.nav-toggle.open span:nth-child(2) { opacity: 0 }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* ---- footer ---- */
footer { background: var(--ink); color: #fff; margin-top: 90px; overflow: hidden }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding: 72px 0 52px }
.foot-top h4 { font-size: 13px; font-weight: 500; color: #8a8a85; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .12em }
.foot-top ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px }
.foot-top ul a { opacity: .85; transition: opacity .3s, padding-left .3s }
.foot-top ul a:hover { opacity: 1; padding-left: 6px }
.foot-brand .logo img { height: 34px }
.foot-brand p { color: #a5a5a0; font-size: 14.5px; line-height: 1.7; margin-top: 16px; max-width: 320px }
.foot-logo { filter: brightness(0) invert(1) }
.foot-giant { font-size: clamp(52px, 8vw, 130px); font-weight: 600; letter-spacing: -.04em; line-height: .95; text-align: center; color: #181818; padding-bottom: 10px; user-select: none; white-space: nowrap }
.foot-bottom { border-top: 1px solid #1f1f1f; padding: 22px 0; display: flex; justify-content: space-between; color: #8a8a85; font-size: 13px }

/* Reveal-on-scroll. Gated on html.js (set by an inline script in the head)
   so that if JavaScript never runs the content is simply visible rather
   than permanently invisible. */
html.js [data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1) }
html.js [data-reveal].is-visible { opacity: 1; transform: none }

/* ---- HERO (home) ---- */
.hero { min-height: 86vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px 32px 60px; position: relative }
.hero h1 { font-size: clamp(40px, 5.4vw, 80px); font-weight: 500;line-height: 1.2; letter-spacing: -.03em; max-width: 900px }
.hero h1 .line { display: block; overflow: hidden }
.hero h1 .line span { display: inline-block }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap }
.hero h1 em svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 18px }
.hero p { max-width: 560px; margin-top: 40px; font-size: 16.5px; line-height: 1.7; color: var(--muted) }
.scroll-btn { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin-top: 48px; font-size: 15px; transition: transform .4s }
.scroll-btn:hover { transform: translateY(6px) }

/* ---- INTRO ---- */
.intro-card { background: var(--card); border-radius: var(--r); padding: 72px 64px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; box-shadow: 0 34px 70px rgba(0,0,0,.04) }
.intro-left img { border-radius: 20px; margin-top: 100px; aspect-ratio: 4/3.1; object-fit: cover }
.intro-right h2 { margin-bottom: 44px }
.intro-right p { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.55; font-weight: 400; margin-bottom: 38px }

/* ---- MARQUEE ---- */
.marquee-sec { padding: 56px 0; overflow: hidden }
.marquee-label { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 36px }
.marquee { display: flex; width: max-content; animation: mq 28s linear infinite }
.marquee:hover { animation-play-state: paused }
.marquee span { font-size: 28px; font-weight: 600; letter-spacing: -.02em; color: #B9B7AF; padding: 0 44px; white-space: nowrap }
.marquee span:nth-child(even) { font-weight: 300; font-style: italic }
@keyframes mq { to { transform: translateX(-50%) } }

/* ---- section head ---- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 32px }
.sec-head p { max-width: 400px; color: var(--muted); font-size: 15.5px; line-height: 1.7 }

/* ---- SERVICES cards ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.svc-card { background: var(--card); border-radius: 24px; padding: 40px 34px; position: relative; overflow: hidden; transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s; min-height: 300px; display: flex; flex-direction: column }
.svc-card:hover { transform: translateY(-10px); box-shadow: 0 26px 52px rgba(0,0,0,.07) }
.svc-card .num { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: .1em }
.svc-card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--blue); display: grid; place-items: center; font-size: 20px; margin: 28px 0 auto; transition: transform .5s, background .5s }
.svc-card:hover .ico { background: var(--lime); transform: rotate(-8deg) scale(1.08) }
.svc-card h3 { font-size: 22px; font-weight: 500; margin: 28px 0 12px; letter-spacing: -.01em }
.svc-card p { color: var(--muted); font-size: 14.5px; line-height: 1.7 }

/* ---- WORKS ---- */
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px }
.work-card { border-radius: 26px; overflow: hidden; background: var(--card); transition: transform .5s cubic-bezier(.22,1,.36,1) }
.work-card:hover { transform: translateY(-8px) }
.work-card .thumb { overflow: hidden; aspect-ratio: 16/10.5 }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.22,1,.36,1) }
.work-card:hover .thumb img { transform: scale(1.06) }
.work-card .meta { padding: 24px 30px }
.work-card .meta .row { display: flex; justify-content: space-between; align-items: center; gap: 14px }
.work-card .meta h3 { font-size: 20px; font-weight: 500 }
.work-card .meta span { font-size: 12.5px; color: var(--muted); background: var(--bg); padding: 7px 16px; border-radius: 100px; flex: none }
.work-card .meta p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 12px }
.work-card .result { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 600; color: #3d8b28 }

/* ---- TESTIMONIALS ---- */
.testi-sec { background: var(--ink); border-radius: 38px; color: #fff; padding: 90px 0; margin: 0 16px }
.testi-sec .tag-dot::before { background: var(--lime) }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px }
.testi-card { background: #151515; border: 1px solid #232323; border-radius: 24px; padding: 38px 32px; transition: transform .45s, border-color .45s }
.testi-card:hover { transform: translateY(-8px); border-color: #3a3a3a }
.testi-card .stars { color: var(--lime); font-size: 13px; letter-spacing: 4px; margin-bottom: 22px }
.testi-card p { font-size: 16.5px; line-height: 1.65; font-weight: 300; color: #e8e8e4 }
.testi-who { display: flex; align-items: center; gap: 14px; margin-top: 30px }
.testi-who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover }
.testi-who b { display: block; font-weight: 500; font-size: 14.5px }
.testi-who small { color: #8a8a85; font-size: 12.5px }

/* ---- PROCESS ---- */
.proc-list { border-top: 1px solid var(--line) }
.proc-item { display: grid; grid-template-columns: 120px 1fr 1.2fr; gap: 32px; padding: 42px 0; border-bottom: 1px solid var(--line); align-items: start; transition: padding .4s }
.proc-item:hover { padding-left: 16px }
.proc-item .n { font-size: 18px; font-weight: 500; color: var(--muted) }
.proc-item h3 { font-size: clamp(24px, 2.1vw, 34px); font-weight: 500; letter-spacing: -.02em }
.proc-item p { color: var(--muted); font-size: 15.5px; line-height: 1.75 }

/* ---- PRICING ---- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch }
.price-card { background: var(--card); border-radius: 26px; padding: 42px 36px; display: flex; flex-direction: column; border: 1px solid transparent; transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s }
.price-card:hover { transform: translateY(-10px); box-shadow: 0 30px 62px rgba(0,0,0,.08) }
.price-card .p-name { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.price-card .p-amount { font-size: clamp(34px, 2.8vw, 46px); font-weight: 600; letter-spacing: -.03em; margin: 18px 0 6px }
.price-card .p-amount small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0 }
.price-card .p-sub { color: var(--muted); font-size: 14px; margin-bottom: 30px }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 36px; flex: 1 }
.price-card ul li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; line-height: 1.5 }
.price-card ul li i { color: #3d8b28; margin-top: 4px; font-size: 12px }
.price-card .pill-btn { justify-content: center }
.price-card.popular { background: var(--ink); color: #fff; position: relative; transform: scale(1.03) }
.price-card.popular:hover { transform: scale(1.03) translateY(-10px) }
.price-card.popular .p-name, .price-card.popular .p-sub { color: #9c9c96 }
.price-card.popular ul li i { color: var(--lime) }
.price-card.popular .pill-btn { background: var(--lime); color: var(--ink) }
.price-card.popular .pill-btn:hover { background: #d6f76b }
.pop-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 600; padding: 7px 20px; border-radius: 100px; letter-spacing: .05em }
.price-note { text-align: center; margin-top: 40px; color: var(--muted); font-size: 14px }
.price-note a { font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink) }

/* ---- FAQ ---- */
.faq-wrap { max-width: 820px; margin: 0 auto }
.faq-item { background: var(--card); border-radius: 18px; margin-bottom: 12px; overflow: hidden }
.faq-q { width: 100%; background: none; border: none; font-family: var(--font); cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 24px 30px; font-size: 16.5px; font-weight: 500; text-align: left; color: var(--ink) }
.faq-q i { transition: transform .4s; font-size: 14px; flex: none; margin-left: 18px }
.faq-item.open .faq-q i { transform: rotate(45deg) }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.22,1,.36,1) }
.faq-a p { padding: 0 30px 28px; color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 700px }

/* ---- WHY US ---- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px }
.why-card { background: var(--card); border-radius: 24px; padding: 36px 30px; text-align: left }
.why-card .stat { font-size: clamp(34px, 2.8vw, 48px); font-weight: 600; letter-spacing: -.03em }
.why-card .stat sup { font-size: .5em; color: #3d8b28 }
.why-card h4 { font-size: 16px; font-weight: 500; margin: 14px 0 10px }
.why-card p { color: var(--muted); font-size: 13.5px; line-height: 1.65 }

/* ---- CONTACT (home + contact) ---- */
.contact-card { background: var(--card); border-radius: var(--r); padding: 64px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px }
.contact-left h2 { margin: 22px 0 24px }
.contact-left p { color: var(--muted); font-size: 15.5px; line-height: 1.75; max-width: 400px }
.c-info { margin-top: 38px; display: flex; flex-direction: column; gap: 18px }
.c-info a { display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 500; transition: transform .3s; word-break: break-word }
.c-info a:hover { transform: translateX(6px) }
.c-info i { width: 44px; height: 44px; background: var(--bg); border-radius: 50%; display: grid; place-items: center; font-size: 15px; flex: none }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; background: #E7F9EC; color: #0B6b2e; padding: 14px 26px; border-radius: 100px; font-weight: 500; font-size: 14.5px; margin-top: 30px; transition: transform .35s, background .35s }
.wa-btn:hover { transform: translateY(-3px); background: #d7f4e0 }
.hours { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 2 }
.hours b { color: var(--ink); font-weight: 500 }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.form-grid .full { grid-column: 1/-1 }
.f-field label { display: block; font-size: 12.5px; font-weight: 500; margin-bottom: 8px; color: var(--muted) }
.f-field input, .f-field select, .f-field textarea { width: 100%; background: var(--bg); border: 1px solid transparent; border-radius: 14px; padding: 14px 18px; font-family: var(--font); font-size: 14.5px; color: var(--ink); outline: none; transition: border .3s, background .3s; appearance: none }
.f-field textarea { resize: vertical; min-height: 120px }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--ink); background: #fff }
.plan-pills { display: flex; gap: 10px; flex-wrap: wrap }
.plan-pills label { display: block; margin: 0 }
.plan-pills input { display: none }
.plan-pills span { display: inline-block; padding: 11px 20px; border-radius: 100px; background: var(--bg); font-size: 13.5px; font-weight: 500; cursor: pointer; border: 1.5px solid transparent; transition: all .3s; color: var(--ink) }
.plan-pills input:checked + span { background: var(--ink); color: #fff }
.plan-pills span:hover { border-color: var(--ink) }
.form-ok { margin-top: 18px; background: #E7F9EC; color: #0b6b2e; padding: 15px 20px; border-radius: 12px; font-size: 14px; font-weight: 500 }
.form-err { margin-top: 18px; background: #FBEAEA; color: #a12626; padding: 15px 20px; border-radius: 12px; font-size: 14px; font-weight: 500 }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { padding: 120px 32px 70px; text-align: center }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 74px); font-weight: 500; letter-spacing: -.03em; line-height: 1.06 }
.page-hero h1 .line { display: block; overflow: hidden }
.page-hero h1 .line span { display: inline-block }
.page-hero p { max-width: 560px; margin: 30px auto 0; color: var(--muted); font-size: 16px; line-height: 1.7 }

/* ---- STORY (about) ---- */
.story-card { background: var(--card); border-radius: var(--r); padding: 72px 64px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px }
.story-card img { border-radius: 20px; aspect-ratio: 4/3.4; object-fit: cover; margin-top: 48px }
.story-card h2 { margin-bottom: 36px }
.story-card .body p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.65; margin-bottom: 24px }
.story-card .body p:last-of-type { color: var(--muted); font-size: 15.5px }

/* ---- VALUES ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.value-card { background: var(--card); border-radius: 24px; padding: 40px 34px; transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s }
.value-card:hover { transform: translateY(-10px); box-shadow: 0 26px 52px rgba(0,0,0,.07) }
.value-card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--blue); display: grid; place-items: center; font-size: 20px; margin-bottom: 26px; transition: transform .5s, background .5s }
.value-card:hover .ico { background: var(--lime); transform: rotate(-8deg) scale(1.08) }
.value-card h3 { font-size: 21px; font-weight: 500; margin-bottom: 12px }
.value-card p { color: var(--muted); font-size: 14.5px; line-height: 1.7 }

/* ---- TEAM ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px }
.team-card { background: var(--card); border-radius: 24px; overflow: hidden; transition: transform .45s }
.team-card:hover { transform: translateY(-8px) }
.team-card .ph { overflow: hidden; aspect-ratio: 1/1.05 }
.team-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(35%); transition: transform .9s cubic-bezier(.22,1,.36,1), filter .6s }
.team-card:hover img { transform: scale(1.06); filter: grayscale(0) }
.team-card .info { padding: 22px 26px }
.team-card h3 { font-size: 17px; font-weight: 500 }
.team-card span { color: var(--muted); font-size: 13px }

/* ---- SERVICE ROWS (services) ---- */
.svc-row { background: var(--card); border-radius: var(--r); padding: 60px 64px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; margin-bottom: 22px; align-items: center; transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s }
.svc-row:hover { transform: translateY(-6px); box-shadow: 0 30px 62px rgba(0,0,0,.06) }
.svc-row .left { display: flex; flex-direction: column; gap: 22px }
.svc-row .num { font-size: 13.5px; color: var(--muted); font-weight: 500; letter-spacing: .1em }
.svc-row .ico { width: 64px; height: 64px; border-radius: 18px; background: var(--blue); display: grid; place-items: center; font-size: 25px; transition: transform .5s, background .5s }
.svc-row:hover .ico { background: var(--lime); transform: rotate(-8deg) scale(1.08) }
.svc-row h2 { font-size: clamp(26px, 2.4vw, 38px); font-weight: 500; letter-spacing: -.02em }
.svc-row .right p { color: var(--muted); font-size: 15.5px; line-height: 1.8; margin-bottom: 28px }
.svc-tags { display: flex; flex-wrap: wrap; gap: 10px }
.svc-tags span { background: var(--bg); border-radius: 100px; padding: 9px 18px; font-size: 13px; font-weight: 500; transition: background .3s, color .3s }
.svc-tags span:hover { background: var(--ink); color: #fff }

/* ---- QUICK CARDS (contact) ---- */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px }
.quick-card { background: var(--card); border-radius: 22px; padding: 34px 30px; text-align: center; transition: transform .4s }
.quick-card:hover { transform: translateY(-8px) }
.quick-card i { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); display: inline-grid; place-items: center; font-size: 18px; margin-bottom: 18px }
.quick-card h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px }
.quick-card p { color: var(--muted); font-size: 14px; word-break: break-word }

/* ---- CTA BAND ---- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r); padding: 76px 48px; text-align: center }
.cta-band h2 { font-size: clamp(32px, 3.6vw, 50px); font-weight: 500; letter-spacing: -.02em; margin-bottom: 18px }
.cta-band p { color: #a5a5a0; font-size: 16px; margin-bottom: 38px }
.cta-band .pill-btn { background: var(--lime) }
.cta-band .pill-btn:hover { background: #d6f76b }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .services-grid, .testi-grid, .why-grid, .team-grid { grid-template-columns: 1fr 1fr }
  .price-grid { grid-template-columns: 1fr 1fr }
  .price-card.popular { transform: none }
  .price-card.popular:hover { transform: translateY(-10px) }
  .intro-card, .contact-card, .story-card { grid-template-columns: 1fr; padding: 52px 40px }
  .svc-row { grid-template-columns: 1fr; padding: 48px 40px; gap: 30px }
  .values-grid { grid-template-columns: 1fr 1fr }
  .quick-grid { grid-template-columns: 1fr 1fr }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 36px }

  /* mobile nav */
  header { position: relative }
  .nav-toggle { display: flex }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 6px 0 16px; display: none;
    box-shadow: 0 24px 40px rgba(0,0,0,.07);
  }
  .nav-links.open { display: flex }
  .nav-links a { padding: 14px 32px; font-size: 16px; opacity: 1 }
  .nav-links a::after { display: none }
  .nav-links a.nav-cta { margin: 14px 32px 4px; justify-content: center; padding: 14px 26px; font-size: 15.5px }
}

@media (max-width: 860px) {
  .section-pad { padding: 72px 0 }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 44px; gap: 20px }
  .marquee span { font-size: 23px; padding: 0 32px }
  .testi-sec { margin: 0 12px; border-radius: 28px; padding: 72px 0 }
  .page-hero { padding: 96px 24px 56px }
  .cta-band { padding: 62px 34px }
  .intro-left img { margin-top: 0 }
}

@media (max-width: 640px) {
  :root { --gutter: 22px; }
  .services-grid, .testi-grid, .works-grid, .why-grid, .price-grid, .team-grid, .values-grid, .quick-grid { grid-template-columns: 1fr }
  .proc-item { grid-template-columns: 1fr; gap: 10px; padding: 34px 0 }
  .form-grid { grid-template-columns: 1fr }
  .wrap { padding: 0 20px }
  .section-pad { padding: 60px 0 }
  .hero { min-height: auto; padding: 48px 20px 54px }
  .hero h1 { font-size: 34px; line-height: 1.18 }
  .hero p { margin-top: 28px; font-size: 15.5px }
  .scroll-btn { margin-top: 34px }
  .page-hero { padding: 84px 20px 48px }
  .page-hero h1 { font-size: 31px; line-height: 1.15 }
  .intro-card, .contact-card, .story-card { padding: 40px 24px; gap: 34px }
  .story-card img { margin-top: 0 }
  .svc-row { padding: 38px 26px }
  .cta-band { padding: 52px 26px }
  .cta-band p { font-size: 15px }
  .testi-card { padding: 30px 24px }
  .faq-q { padding: 20px 22px; font-size: 15.5px }
  .faq-a p { padding: 0 22px 24px }
  .marquee span { font-size: 20px; padding: 0 24px }
  .foot-top { grid-template-columns: 1fr; gap: 30px; padding: 56px 0 40px }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center }
  .foot-giant { font-size: clamp(34px, 13vw, 66px) }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 30px }
  .page-hero h1 { font-size: 27px }
  .big-h { font-size: 24px }
  .pill-btn { padding: 11px 20px }
  .wa-btn { width: 100%; justify-content: center; text-align: center }
  .plan-pills span { padding: 10px 16px; font-size: 12.5px }
}

/* ============ HEADING INTRO (replaces the old GSAP mask-rise) ============ */
html.js #heroH1 .line span,
html.js #pageH1 .line span { transform: translateY(110%); transition: transform 1s cubic-bezier(.16,1,.3,1) }
html.js #heroH1.is-in .line span,
html.js #pageH1.is-in .line span { transform: none }
html.js #heroH1 .line:nth-child(1) span,
html.js #pageH1 .line:nth-child(1) span { transition-delay: .05s }
html.js #heroH1 .line:nth-child(2) span,
html.js #pageH1 .line:nth-child(2) span { transition-delay: .17s }
html.js #heroH1 .line:nth-child(3) span,
html.js #pageH1 .line:nth-child(3) span { transition-delay: .29s }

/* ============ FORM EXTRAS ============ */
/* Honeypot: kept out of sight for people, left in the DOM for bots.
   Deliberately not display:none, which some bots skip. */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden }

/* Plan radios are grouped in a fieldset so the group has a real label. */
fieldset.f-field { border: 0; padding: 0; margin: 0; min-width: 0 }
fieldset.f-field legend { display: block; font-size: 12.5px; font-weight: 500; margin-bottom: 8px; color: var(--muted); padding: 0 }

/* Keyboard focus must stay visible now that the radios are hidden. */
.plan-pills input:focus-visible + span { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px }

/* ============ TESTIMONIAL INITIALS ============ */
/* Replaces stock-photo portraits, which implied real client photos. */
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 14px; font-weight: 600; letter-spacing: .02em; flex: none }

/* ============ HOME PRICING (moved out of index.php) ============ */
/* The home page shows only two of the three plan cards. Uses an id so it
   still wins inside the responsive blocks above. */
#pricing .price-grid { grid-template-columns: repeat(2, 1fr); max-width: 840px; margin-left: auto; margin-right: auto }
@media (max-width: 640px) {
  #pricing .price-grid { grid-template-columns: 1fr }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  html.js [data-reveal],
  html.js [data-reveal].is-visible { opacity: 1; transform: none; transition: none }
  html.js #heroH1 .line span,
  html.js #pageH1 .line span { transform: none; transition: none }
  .marquee { animation: none }
  .pill-btn, .svc-card, .svc-card .ico, .work-card, .work-card .thumb img,
  .value-card, .value-card .ico, .price-card, .testi-card, .quick-card,
  .team-card, .team-card img, .proc-item, .svc-row, .svc-row .ico,
  .c-info a, .wa-btn, .scroll-btn, .faq-a, .faq-q i { transition: none }
  .pill-btn:hover, .svc-card:hover, .work-card:hover, .value-card:hover,
  .price-card:hover, .testi-card:hover, .quick-card:hover, .team-card:hover,
  .scroll-btn:hover, .wa-btn:hover, .c-info a:hover { transform: none }
}
