/*
Theme Name:  DSA Carpet Cleaning Glasgow
Theme URI:   https://carpetcleaningglasgow.uk
Author:      DSA Carpet Cleaning Glasgow
Description: Professional carpet cleaning theme
Version:     7.0
Text Domain: dsa
*/

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --blue: #017FCC;
  --blue-d: #0163a3;
  --blue-l: #dff0fb;
  --black: #0a0a0a;
  --dark: #0d1a2b;
  --grey: #4a5568;
  --mid: #718096;
  --light: #f4f8fc;
  --bdr: #e2eaf3;
  --green: #25D366;
  --fh: "Sora", sans-serif;
  --fb: "DM Sans", sans-serif;
  --r: 12px;
  --xl: 20px;
  --ease: all .25s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  color: var(--black);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--fb); border: none; background: none; }
input, select, textarea { font-family: var(--fb); }
svg { display: inline-block; vertical-align: middle; }

/* ── Remove grey WordPress side margins ── */
html, body { margin: 0 !important; padding: 0 !important; }
#page, .site, #content, #primary, .site-content,
.hentry, .entry-content, .wp-site-blocks {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}
/* Remove "Proudly powered by WordPress" */
.site-info, #colophon, footer.site-footer,
.wp-site-blocks > footer:not(.site-footer-dsa) { display: none !important; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--fh); line-height: 1.22; color: var(--black); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { color: var(--grey); font-size: 1.1rem; line-height: 1.8; }

/* ── Layout ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 86px 0; }
.sec-white { padding: 86px 0; background: #fff; }
.sec-grey { padding: 86px 0; background: var(--light); }
.sec-dark { padding: 86px 0; background: var(--dark); }
.label {
  display: inline-block; font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-l);
  padding: 5px 15px; border-radius: 50px; margin-bottom: 14px;
}
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head p { max-width: 620px; margin: 12px auto 0; font-size: 1.1rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: 9px;
  font-family: var(--fh); font-weight: 700; font-size: .97rem;
  transition: var(--ease); white-space: nowrap; cursor: pointer;
  border: none; text-decoration: none !important; line-height: 1.2;
}
.btn svg { width: 17px !important; height: 17px !important; flex-shrink: 0; }
.btn-blue  { background: var(--blue); color: #fff !important; box-shadow: 0 4px 16px rgba(1,127,204,.32); }
.btn-blue:hover  { background: var(--blue-d); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--blue) !important; font-weight: 800; }
.btn-white:hover { background: var(--blue-l); transform: translateY(-2px); }
.btn-dark  { background: var(--black); color: #fff !important; }
.btn-dark:hover  { background: #1a2436; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.65); }
.btn-ghost:hover { background: #fff; color: var(--blue) !important; }
.btn-wa    { background: var(--green); color: #fff !important; }
.btn-wa:hover    { background: #1fba58; transform: translateY(-2px); }
.btn-lg    { padding: 15px 32px; font-size: 1.04rem; }
.btn-full  { width: 100%; justify-content: center; padding: 16px; }

/* ── Top bar ── */
.topbar { background: var(--dark); padding: 8px 0; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.tb-left { display: flex; gap: 20px; flex-wrap: wrap; }
.tb-left a { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82); transition: var(--ease); }
.tb-left a svg { color: var(--blue); }
.tb-left a:hover { color: var(--blue); }
.tb-right { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.8); }
.tb-stars { color: #f59e0b; letter-spacing: 1px; }

/* ── Header ── */
.site-header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  position: sticky; top: 0; z-index: 1000;
  transition: var(--ease);
}
.site-header.stuck { box-shadow: 0 4px 30px rgba(0,0,0,.13); }
.nav-row {
  display: flex; align-items: center;
  justify-content: space-between; height: 72px; gap: 18px;
}
.site-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.site-logo img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; }
.logo-name { display: block; font-family: var(--fh); font-size: 1.05rem; font-weight: 900; color: var(--black); line-height: 1.15; }
.logo-city { display: block; font-size: .71rem; color: var(--mid); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .has-dd > a {
  padding: 7px 12px; border-radius: 8px; font-size: .9rem;
  font-weight: 600; color: var(--black); transition: var(--ease); display: block;
}
.main-nav > a:hover, .has-dd > a:hover,
.main-nav > a.cur, .has-dd > a.cur { color: var(--blue); background: var(--blue-l); }
.has-dd { position: relative; }
.has-dd > a::after { content: " ▾"; font-size: .7rem; opacity: .7; }
.dd-menu {
  position: absolute; top: calc(100% + 7px); left: 0;
  background: #fff; border-radius: var(--xl);
  box-shadow: 0 12px 48px rgba(1,127,204,.18);
  min-width: 225px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: var(--ease); z-index: 1001;
}
.has-dd:hover .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-menu a {
  display: block; padding: 9px 13px; border-radius: 8px;
  font-size: .88rem; font-weight: 600; color: var(--black);
  transition: var(--ease);
}
.dd-menu a:hover { background: var(--blue-l); color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 9px; }
.nav-phone {
  display: flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .88rem; color: var(--black);
  padding: 7px 12px; border-radius: 8px; border: 1.5px solid var(--bdr);
  transition: var(--ease);
}
.nav-phone svg { color: var(--blue); }
.nav-phone:hover { border-color: var(--blue); color: var(--blue); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 23px; height: 2px; background: var(--black); border-radius: 2px; transition: var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; background: #fff; border-top: 1px solid var(--bdr); padding: 14px 22px 22px; }
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 11px 0; font-size: .97rem; font-weight: 600;
  border-bottom: 1px solid var(--bdr); color: var(--black); transition: var(--ease);
}
.mobile-nav a:hover { color: var(--blue); padding-left: 7px; }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 10px; }

/* ── Page hero ── */
.page-hero {
  background: linear-gradient(135deg, #08121f, #0d1f3c);
  color: #fff; padding: 68px 0; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 13px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 630px; margin: 0 auto; font-size: 1.1rem; }
.crumb {
  display: flex; align-items: center; gap: 7px;
  justify-content: center; font-size: .83rem;
  color: rgba(255,255,255,.5); margin-bottom: 13px; flex-wrap: wrap;
}
.crumb a { color: rgba(255,255,255,.7); transition: var(--ease); }
.crumb a:hover { color: #fff; }

/* ── CTA Section ── */
.sec-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-d));
  padding: 68px 0; text-align: center;
}
.sec-cta h2 { color: #fff; margin-bottom: 12px; }
.sec-cta p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 27px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Form ── */
.f-box {
  background: #fff; border-radius: var(--xl); padding: 34px;
  box-shadow: 0 4px 24px rgba(1,127,204,.1); border: 2px solid var(--bdr);
}
.f-title { margin-bottom: 4px; font-size: 1.35rem; }
.f-sub { font-size: 1rem; margin-bottom: 22px; color: var(--grey); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.f-field { display: flex; flex-direction: column; gap: 5px; }
.f-full { grid-column: 1 / -1; }
.f-field label { font-size: .87rem; font-weight: 700; color: var(--black); }
.f-field input, .f-field select, .f-field textarea {
  padding: 12px 14px; border: 2px solid var(--bdr); border-radius: 9px;
  font-family: var(--fb); font-size: 1rem; color: var(--black);
  background: #fff; transition: var(--ease); outline: none; width: 100%;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(1,127,204,.12);
}
.f-field textarea { resize: vertical; min-height: 100px; }
.f-note { grid-column: 1/-1; font-size: .85rem; color: var(--mid); }
.f-err { color: #dc2626; font-size: .88rem; margin-top: 8px; font-weight: 600; }
/* ── Form Success — small green checkmark ── */
.f-suc {
  text-align: center; padding: 28px;
  background: #f0fdf4; border: 2px solid #16a34a;
  border-radius: var(--xl); display: none;
}
.f-suc-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  background: #16a34a; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.f-suc-icon svg {
  width: 28px !important; height: 28px !important;
  stroke: #fff !important; fill: none !important;
}
.f-suc h3 { color: #14532d; margin-bottom: 7px; }
.f-suc p { color: #15803d; font-size: 1rem; }

/* ── Reviews Slider ── */
.rev-slider { overflow: hidden; width: 100%; }
.rev-track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.rev-slide { flex-shrink: 0; /* width set by JS */ }
.rev-card {
  background: #fff; border: 2px solid var(--bdr);
  border-radius: var(--xl); padding: 24px; height: 100%;
  display: flex; flex-direction: column; transition: var(--ease);
}
.rev-card:hover { border-color: var(--blue); box-shadow: 0 4px 24px rgba(1,127,204,.1); }
.rev-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.rev-text { font-size: 1.03rem; color: var(--grey); margin-bottom: 17px; line-height: 1.75; flex: 1; }
.rev-auth { display: flex; align-items: center; gap: 11px; }
.rev-av {
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue);
  color: #fff; font-family: var(--fh); font-weight: 800; font-size: .97rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rev-info strong { display: block; font-size: .88rem; color: var(--black); }
.rev-info small { font-size: .78rem; color: var(--mid); }
.rev-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.rev-arrow {
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  border: 2px solid var(--bdr); display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: var(--ease);
}
.rev-arrow:hover { background: var(--blue); border-color: var(--blue); }
.rev-arrow:hover svg { stroke: #fff !important; }
.rev-dots { display: flex; gap: 8px; align-items: center; }
.rev-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--bdr);
  cursor: pointer; transition: var(--ease); border: none; padding: 0;
}
.rev-dot.on { background: var(--blue); width: 22px; border-radius: 4px; }

/* ── Instagram Reels ── */
.reels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; z-index: 1; }
.reel {
  border-radius: 16px; overflow: hidden; aspect-ratio: 9/16;
  position: relative; cursor: pointer; transition: var(--ease);
  display: block;
}
.reel:hover { transform: scale(1.03); box-shadow: 0 16px 48px rgba(0,0,0,.3); }
/* Colourful gradients — visible even without images */
.reel-1 { background: linear-gradient(160deg, #0d2a4a 0%, #0a5ca8 60%, #017FCC 100%); }
.reel-2 { background: linear-gradient(160deg, #1a0a3a 0%, #5a1a9a 60%, #9b3de8 100%); }
.reel-3 { background: linear-gradient(160deg, #0a1f0a 0%, #156a15 60%, #22a022 100%); }
.reel-4 { background: linear-gradient(160deg, #1f0d00 0%, #7a2d00 60%, #c45500 100%); }
.reel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
}
/* Real image inside reel — shown when uploaded */
.reel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.reel-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px; background: rgba(255,255,255,.88);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; transition: var(--ease); z-index: 2;
}
.reel-play svg { color: var(--blue); }
.reel:hover .reel-play { background: var(--blue); transform: translate(-50%, -50%) scale(1.1); }
.reel:hover .reel-play svg { color: #fff; }
.reel-badge {
  position: absolute; top: 11px; left: 11px; z-index: 2;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff; font-size: .7rem; font-weight: 700;
  padding: 3px 9px; border-radius: 50px;
}
.reel-label {
  position: absolute; bottom: 14px; left: 12px; right: 12px; z-index: 2;
  color: #fff; font-size: .84rem; font-weight: 700; text-align: center;
  line-height: 1.4; text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.reel-label small { display: block; font-weight: 400; font-size: .74rem; opacity: .85; margin-top: 3px; }

/* ── Before/After ── */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.ba-card { border-radius: 15px; overflow: hidden; border: 2px solid var(--bdr); }
.ba-halves { display: grid; grid-template-columns: 1fr 1fr; }
.ba-half { aspect-ratio: 1; position: relative; overflow: hidden; }
.ba-half img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { background: linear-gradient(145deg, #8b6914, #5c4200); }
.ba-after  { background: linear-gradient(145deg, #22c55e, #15803d); }
.ba-tag {
  position: absolute; top: 7px; left: 7px;
  font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 50px;
}
.ba-tag-b { background: rgba(0,0,0,.55); color: #fff; }
.ba-tag-a { background: #16a34a; color: #fff; }
.ba-caption {
  padding: 10px 14px; background: var(--light);
  font-size: .85rem; font-weight: 700; text-align: center; color: var(--black);
}

/* ── Trust bar ── */
.trust-bar {
  border-top: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr);
  padding: 26px 0; background: #fff;
}
.trust-bar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--black); }
.trust-item svg { color: var(--blue); }

/* ── Footer ── */
.site-footer-dsa { background: var(--dark); color: rgba(255,255,255,.72); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; padding-bottom: 44px; }
.footer-brand { max-width: 270px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { width: 42px; height: 42px; object-fit: contain; border-radius: 7px; }
.footer-logo-name { display: block; font-family: var(--fh); font-size: .97rem; font-weight: 800; color: #fff; }
.footer-logo-city { font-size: .7rem; color: rgba(255,255,255,.4); }
.footer-brand p { font-size: .88rem; line-height: 1.75; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 8px; }
.footer-soc {
  width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.footer-soc svg { width: 15px !important; height: 15px !important; color: rgba(255,255,255,.65); }
.footer-soc:hover { background: var(--blue); border-color: var(--blue); }
.footer-soc:hover svg { color: #fff; }
.footer-col h4 {
  font-size: .88rem; font-weight: 800; color: #fff;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: .88rem; color: rgba(255,255,255,.62);
  transition: var(--ease); display: flex; align-items: center; gap: 8px;
}
.footer-links a::before { content: none; }
.footer-links a:hover { color: #fff; }
.footer-links a .fl-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; display: inline-block; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact-item svg { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span, .footer-contact-item a { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.5; }
.footer-contact-item a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 17px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: .79rem; color: rgba(255,255,255,.45);
}
.footer-bottom div { display: flex; gap: 16px; }
.footer-bottom a { color: rgba(255,255,255,.45); transition: var(--ease); }
.footer-bottom a:hover { color: var(--blue); }

/* ── Sticky mobile bar ── */
.sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 800; background: #fff; border-top: 2.5px solid var(--blue);
  padding: 9px 14px; gap: 8px; box-shadow: 0 -4px 20px rgba(0,0,0,.12);
}
.sticky-bar .btn { flex: 1; padding: 11px 6px; font-size: .85rem; }

/* ── WhatsApp Widget ── */
.wa-widget {
  position: fixed; bottom: 84px; right: 22px;
  z-index: 9990; display: flex; flex-direction: column;
  align-items: flex-end; gap: 9px;
}
.wa-fab {
  width: 54px; height: 54px; background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.42);
  cursor: pointer; transition: var(--ease); border: none;
  position: relative; z-index: 9991;
}
.wa-fab svg { width: 26px !important; height: 26px !important; fill: #fff; }
.wa-fab:hover { transform: scale(1.08); }
.wa-panel {
  background: #fff; border-radius: var(--xl);
  box-shadow: 0 12px 48px rgba(1,127,204,.22);
  width: 290px; overflow: hidden; display: none;
  position: relative; z-index: 9991;
}
.wa-panel.open { display: block; animation: waIn .3s ease both; }
@keyframes waIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.wa-head {
  background: var(--green); padding: 13px 16px;
  display: flex; align-items: center; gap: 10px;
}
.wa-ava { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.wa-ava img { width: 100%; height: 100%; object-fit: cover; }
.wa-head strong { display: block; color: #fff; font-size: .9rem; font-family: var(--fh); }
.wa-head span { font-size: .72rem; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 5px; }
.wa-dot { width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }
.wa-body { padding: 14px; }
.wa-bubble {
  background: #f0f4f8; border-radius: 0 10px 10px 10px;
  padding: 11px 14px; margin-bottom: 11px;
  font-size: .9rem; color: var(--black); line-height: 1.6;
}
.wa-options { display: flex; flex-direction: column; gap: 7px; }
.wa-options a {
  display: block; padding: 9px 12px;
  background: var(--blue-l); border: 1.5px solid rgba(1,127,204,.22);
  border-radius: 8px; font-size: .87rem; font-weight: 600;
  color: var(--blue); transition: var(--ease);
}
.wa-options a:hover { background: var(--blue); color: #fff; }

/* ── Popup ── */
.booking-popup {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.65); z-index: 9999;
  align-items: center; justify-content: center; padding: 20px;
}
.booking-popup.open { display: flex; }
.popup-box {
  background: #fff; border-radius: 22px; max-width: 480px; width: 100%;
  overflow: hidden; animation: popIn .4s cubic-bezier(.34,1.56,.64,1) both;
  position: relative;
}
@keyframes popIn { from{opacity:0;transform:scale(.88) translateY(16px)} to{opacity:1;transform:none} }
.popup-close {
  position: absolute; top: 10px; right: 10px; width: 28px; height: 28px;
  background: rgba(255,255,255,.2); border-radius: 50%; font-size: .95rem;
  color: #fff; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: var(--ease); font-weight: 700;
}
.popup-close:hover { background: rgba(255,255,255,.35); }
.popup-head {
  background: linear-gradient(135deg, var(--blue), var(--blue-d));
  padding: 24px 26px; text-align: center;
}
.popup-badge {
  display: inline-block; background: #f59e0b; color: #000;
  font-size: .7rem; font-weight: 800; padding: 3px 11px;
  border-radius: 50px; margin-bottom: 8px;
}
.popup-head h3 { color: #fff; font-size: 1.35rem; margin-bottom: 5px; }
.popup-head p  { font-size: .9rem; color: rgba(255,255,255,.9); }
.popup-body { padding: 22px 26px; }
.popup-perks {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7px; margin-bottom: 16px;
}
.popup-perks span { font-size: .87rem; font-weight: 600; color: var(--black); }
.popup-step { display: none; }
.popup-step.on { display: block; }
.popup-fields {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 9px; margin-bottom: 11px;
}
.popup-fields input, .popup-fields select {
  padding: 11px 12px; border: 2px solid var(--bdr);
  border-radius: 8px; font-family: var(--fb); font-size: .94rem;
  outline: none; transition: var(--ease); width: 100%;
}
.popup-fields input:focus, .popup-fields select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(1,127,204,.12);
}
.popup-btn-row { display: flex; gap: 8px; }
.popup-skip {
  text-align: center; margin-top: 11px; font-size: .8rem;
  color: var(--mid); cursor: pointer; transition: var(--ease);
}
.popup-skip:hover { color: var(--blue); }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card {
  background: #fff; border: 2px solid var(--bdr);
  border-radius: var(--xl); overflow: hidden; transition: var(--ease);
}
.blog-card:hover { border-color: var(--blue); box-shadow: 0 12px 48px rgba(1,127,204,.17); transform: translateY(-4px); }
.blog-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--light); position: relative; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-cat { position: absolute; top: 10px; left: 10px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.blog-body { padding: 20px; }
.blog-meta { display: flex; gap: 12px; font-size: .8rem; color: var(--mid); margin-bottom: 9px; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.3; }
.blog-body h3 a { color: var(--black); transition: var(--ease); }
.blog-body h3 a:hover { color: var(--blue); }
.blog-body p { font-size: .95rem; margin-bottom: 14px; }
.read-more { display: inline-flex; align-items: center; gap: 5px; font-size: .9rem; font-weight: 700; color: var(--blue); }
.read-more:hover { gap: 9px; }

/* ── Fade animation ── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.in { opacity: 1; transform: none; }
.fade-up:nth-child(2){transition-delay:.07s}
.fade-up:nth-child(3){transition-delay:.14s}
.fade-up:nth-child(4){transition-delay:.21s}

/* ── Post content ── */
.entry-content h2, .entry-content h3 { margin: 26px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 12px 0 16px 20px; }
.entry-content li { margin-bottom: 7px; font-size: 1.05rem; color: var(--grey); }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content img { border-radius: var(--r); margin: 18px 0; }
.entry-content blockquote {
  border-left: 4px solid var(--blue); padding: 12px 20px; margin: 18px 0;
  background: var(--blue-l); border-radius: 0 var(--r) var(--r) 0; font-style: italic;
}


/* ══════════════════════════════════════════════════════════
   COMPLETE RESPONSIVE CSS — Tested on all devices
   Galaxy S6 (360px), Note 5 (480px), Tablet (768px), Desktop
══════════════════════════════════════════════════════════ */

/* ── 1100px — Large tablet ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reels-grid  { grid-template-columns: repeat(2, 1fr); }
  .blog-grid   { grid-template-columns: 1fr 1fr; }
  .ba-grid     { grid-template-columns: 1fr 1fr; }
}

/* ── 900px — Tablet ── */
@media (max-width: 900px) {
  .svc-grid    { grid-template-columns: 1fr 1fr !important; }
}

/* ── 768px — Mobile ── */
@media (max-width: 768px) {
  /* spacing */
  .sec, .sec-white, .sec-grey, .sec-dark { padding: 48px 0; }
  .wrap { padding: 0 18px; }
  .sec-head { margin-bottom: 28px; }

  /* nav */
  .main-nav, .nav-cta { display: none !important; }
  .hamburger            { display: flex !important; }
  .sticky-bar           { display: flex !important; }
  .topbar               { padding: 6px 0; }
  .tb-left              { display: none; }
  .topbar .tb-right     { font-size: .78rem; }
  .nav-row              { height: 64px; }

  /* hero */
  .hero-grid            { grid-template-columns: 1fr !important; gap: 0 !important; }
  .hero-img-col         { display: none !important; }
  .hero-btns            { flex-wrap: wrap; }
  .hero-btns .btn       { flex: 1 1 140px; justify-content: center; }

  /* stats */
  .stats-bar            { grid-template-columns: 1fr 1fr !important; }
  .stats-bar > div      { border-right: none !important; padding: 18px 10px !important; border-bottom: 1px solid rgba(255,255,255,.15) !important; }
  .stats-bar > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15) !important; }

  /* services */
  .svc-grid             { grid-template-columns: 1fr !important; }
  .svc-grid > div       { display: flex !important; flex-direction: row !important; min-height: 130px; }
  .svc-grid > div > div:first-child { width: 130px !important; min-width: 130px; flex-shrink: 0 !important; aspect-ratio: auto !important; height: auto !important; }

  /* features / why DSA */
  .features-grid        { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .why-grid             { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* reels */
  .reels-grid           { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .reel                 { aspect-ratio: 4/5 !important; min-height: 200px; }
  .reel-label           { font-size: .78rem !important; bottom: 10px !important; }

  /* before/after */
  .ba-grid              { grid-template-columns: 1fr 1fr !important; }

  /* blog */
  .blog-grid            { grid-template-columns: 1fr !important; }

  /* form */
  .f-grid               { grid-template-columns: 1fr !important; }
  .f-full, .f-note      { grid-column: 1 !important; }
  .f-box                { padding: 22px 16px; }

  /* footer */
  .footer-grid          { grid-template-columns: 1fr !important; }
  .footer-brand         { max-width: 100%; }

  /* popup */
  .popup-perks          { grid-template-columns: 1fr 1fr !important; }
  .popup-fields         { grid-template-columns: 1fr !important; }
  .popup-box            { margin: 12px; max-height: 88vh; overflow-y: auto; }

  /* WhatsApp */
  .wa-widget            { bottom: 76px; right: 14px; }
  .wa-panel             { width: 270px; }

  /* trust bar */
  .trust-bar .wrap      { flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
  .trust-item           { font-size: .82rem; }

  /* section CTA */
  .cta-btns             { flex-direction: column; align-items: center; }
  .cta-btns .btn        { width: 100%; max-width: 320px; justify-content: center; }

  /* contact/map stacked */
  .why-grid iframe      { height: 250px !important; }

  /* service page sticky sidebar */
  [style*="sticky"]     { position: static !important; top: 0 !important; }

  /* single post */
  .post-layout          { grid-template-columns: 1fr !important; }
  .single-sidebar       { display: none !important; }

  /* map section grid */
  .map-grid             { grid-template-columns: 1fr !important; }
  .map-grid iframe      { height: 260px !important; }
}

/* ── 480px — Small phones (Galaxy S6 360px, Note 5 480px) ── */
@media (max-width: 480px) {
  .wrap                 { padding: 0 14px; }
  h1                    { font-size: 1.75rem !important; line-height: 1.2 !important; }
  h2                    { font-size: 1.4rem !important; }
  h3                    { font-size: 1rem !important; }
  p                     { font-size: 1rem; }

  /* nav */
  .nav-row              { height: 58px; }
  .site-logo img        { width: 36px !important; height: 36px !important; }
  .logo-name            { font-size: .88rem !important; }
  .logo-city            { display: none; }

  /* hero */
  .hero-btns .btn       { font-size: .88rem !important; padding: 11px 16px !important; }
  section[style*="padding:92px"] { padding: 48px 0 40px !important; }

  /* stats */
  .stats-bar > div strong { font-size: 1.5rem !important; }
  .stats-bar > div span   { font-size: .78rem !important; }

  /* service cards */
  .svc-grid             { grid-template-columns: 1fr !important; }
  .svc-grid > div       { flex-direction: column !important; min-height: auto !important; }
  .svc-grid > div > div:first-child { width: 100% !important; min-width: 100% !important; aspect-ratio: 16/9 !important; height: auto !important; }

  /* features 1 col */
  .features-grid        { grid-template-columns: 1fr !important; }

  /* reels 2 col */
  .reels-grid           { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .reel-label           { font-size: .72rem !important; }
  .reel-label small     { display: none !important; }
  .reel-play            { width: 40px !important; height: 40px !important; }
  .reel-play svg        { width: 16px !important; height: 16px !important; }

  /* before/after */
  .ba-grid              { grid-template-columns: 1fr !important; }

  /* form */
  .f-box                { padding: 18px 14px; border-radius: 12px; }
  .f-field input,
  .f-field select,
  .f-field textarea     { font-size: .95rem; padding: 10px 12px; }

  /* footer */
  .footer-grid          { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-col h4        { font-size: .85rem; }
  .footer-links a       { font-size: .84rem; }

  /* trust bar */
  .trust-bar            { padding: 16px 0; }
  .trust-item           { font-size: .78rem; gap: 6px; }
  .trust-item svg       { width: 17px !important; height: 17px !important; }

  /* CTA */
  .sec-cta              { padding: 44px 0; }
  .cta-btns .btn        { font-size: .9rem !important; padding: 12px 16px !important; }

  /* Thank you page */
  .ty-steps             { grid-template-columns: 1fr !important; }
  .ty-btns              { flex-direction: column !important; }
  .ty-btns .btn         { width: 100% !important; justify-content: center !important; }

  /* Reviews */
  .rev-card             { padding: 14px; }
  .rev-text             { font-size: .9rem; }

  /* Section padding */
  .sec, .sec-white, .sec-grey, .sec-dark { padding: 36px 0 !important; }

  /* Sticky bar buttons */
  .sticky-bar .btn      { font-size: .8rem !important; padding: 10px 6px !important; }
}

/* ── 360px — Very small phones ── */
@media (max-width: 380px) {
  .logo-name            { font-size: .82rem !important; }
  h1                    { font-size: 1.6rem !important; }
  h2                    { font-size: 1.3rem !important; }
  .hero-btns .btn       { font-size: .82rem !important; padding: 10px 12px !important; }
  .stats-bar > div strong { font-size: 1.35rem !important; }
  .reels-grid           { grid-template-columns: 1fr 1fr !important; gap: 6px !important; }
  .reel-play            { width: 36px !important; height: 36px !important; }
  .trust-item span      { font-size: .74rem; }
}

/* ══ TARGETED MOBILE FIXES ══ */

/* Why DSA image — no overflow on mobile */
.why-img-wrap { overflow: hidden !important; }
.why-img-wrap > div[style*="position:absolute;bottom"] { 
  position: absolute !important; 
  bottom: 12px !important; 
  left: 12px !important; 
  right: auto !important;
}

/* Two column sections — stack on mobile */
.dsa-two-col { overflow: visible; }

@media (max-width: 768px) {
  /* Why DSA — stack vertically */
  .dsa-two-col { 
    grid-template-columns: 1fr !important; 
    gap: 28px !important; 
  }
  
  /* Why DSA image — hide on mobile, show features only */
  .why-img-wrap { 
    display: none !important; 
  }

  /* Features grid — 2 col on mobile */  
  .features-grid { 
    grid-template-columns: 1fr 1fr !important; 
    gap: 10px !important; 
  }
  
  /* Stats bar */
  .stats-bar { 
    grid-template-columns: 1fr 1fr !important; 
  }
  
  /* Hero section */
  section[style*="padding:92px 0 82px"] { 
    padding: 48px 0 36px !important; 
  }

  /* Prevent anything from going outside the screen */
  * { max-width: 100vw; }
  section, div.wrap, .sec-grey, .sec-white, .sec-dark {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  /* Features — 1 col on tiny screens */
  .features-grid { 
    grid-template-columns: 1fr !important; 
  }
  
  /* Feature cards — horizontal layout */
  .features-grid > div { 
    padding: 12px !important; 
  }
  .features-grid > div h4 { 
    font-size: .88rem !important; 
  }
  .features-grid > div p { 
    font-size: .82rem !important; 
  }
}

/* ══ FORM + SERVICE CARDS MOBILE FIXES ══ */

/* Form section — stack on mobile */
.form-section-grid { overflow: visible; }

@media (max-width: 768px) {
  /* Form section stacks: contact info on top, form below */
  .form-section-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* f-grid — always single column on mobile */
  .f-grid {
    grid-template-columns: 1fr !important;
  }
  .f-full, .f-note {
    grid-column: 1 !important;
  }
  .f-box {
    padding: 20px 16px !important;
  }

  /* Service cards — show properly on mobile */
  .svc-grid {
    grid-template-columns: 1fr !important;
  }
  .svc-grid > div {
    display: flex !important;
    flex-direction: row !important;
    overflow: hidden;
    min-height: 120px;
  }
  .svc-grid > div > div:first-child {
    width: 120px !important;
    min-width: 120px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    flex-shrink: 0 !important;
  }
  .svc-grid > div > div:last-child {
    padding: 14px 16px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .svc-grid > div > div:last-child h3 {
    font-size: 1rem !important;
    margin-bottom: 6px !important;
  }
  .svc-grid > div > div:last-child p {
    font-size: .88rem !important;
    margin-bottom: 10px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .svc-grid > div > div:last-child div[style*="display:flex;gap:10px"] {
    flex-direction: row !important;
    gap: 8px !important;
  }
  .svc-grid > div > div:last-child .btn {
    font-size: .8rem !important;
    padding: 8px 12px !important;
  }

  /* Our-services page — 1 col */
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  /* Map + location section */
  .map-grid {
    grid-template-columns: 1fr !important;
    border-radius: 12px !important;
  }
  .map-grid iframe {
    height: 250px !important;
  }
  .map-grid > div:first-child {
    padding: 24px 20px !important;
    order: 2;
  }
  .map-grid iframe {
    order: 1;
  }
}

@media (max-width: 480px) {
  /* Form box */
  .f-box {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
  .f-title {
    font-size: 1.15rem !important;
  }
  .f-field input,
  .f-field select,
  .f-field textarea {
    padding: 11px 12px !important;
    font-size: .95rem !important;
  }
  .f-field label {
    font-size: .82rem !important;
  }

  /* Service cards smaller */
  .svc-grid > div > div:first-child {
    width: 100px !important;
    min-width: 100px !important;
  }

  /* Contact info cards */
  .form-section-grid > div:first-child > div[style*="display:flex;flex-direction:column"] > a {
    padding: 11px !important;
  }
}

/* ══ FINAL IMAGE & MOBILE FIXES ══ */

/* Before/After images — fill their containers properly */
.ba-half { position: relative; overflow: hidden; }
.ba-half img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
.ba-tag {
  position: absolute !important;
  top: 7px !important;
  z-index: 2 !important;
}
.ba-tag-b { left: 7px !important; }
.ba-tag-a { left: 7px !important; }

/* Why DSA image — fill container */
.why-img-wrap img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Hero image — fill box */
.hero-img-col > div img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* About page image */
.about-img-wrap {
  position: relative !important;
  overflow: hidden !important;
}
.about-img-wrap img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Our Services page — mobile fix */
.svc-os-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.os-svc-card { flex-direction: row; }
.os-svc-card > div:first-child { width: 160px; min-width: 160px; flex-shrink: 0; }

@media (max-width: 768px) {
  .svc-os-grid { grid-template-columns: 1fr !important; }
  .os-svc-card { flex-direction: column !important; }
  .os-svc-card > div:first-child {
    width: 100% !important;
    min-width: 100% !important;
    height: 200px !important;
  }
  .os-svc-card > div:last-child { padding: 16px !important; }
}

@media (max-width: 480px) {
  .os-svc-card > div:first-child { height: 180px !important; }
}

/* Service cards on homepage — mobile image fix */
.svc-grid > div > div:first-child {
  position: relative;
  overflow: hidden;
}
.svc-grid > div > div:first-child img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Before/After brightness — before darker, after brighter */
.ba-half:first-child img { filter: brightness(.55) saturate(.65) !important; }
.ba-half:last-child img  { filter: brightness(1.02) saturate(1.05) !important; }

/* ══ HERO + WHY DSA FINAL FIXES ══ */

/* Hero image container — badges centered */
.hero-img-col > div {
  position: relative !important;
  overflow: hidden !important;
}
.hero-img-col > div img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

/* Why DSA — image must not overflow */
.why-img-wrap {
  overflow: hidden !important;
  border-radius: 24px !important;
  position: relative !important;
}
.why-img-wrap img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
/* Why DSA 5+ badge stays inside */
.why-img-wrap > div {
  position: absolute !important;
  bottom: 16px !important;
  left: 16px !important;
  z-index: 2 !important;
}
/* Why DSA grid — no overflow */
.dsa-two-col {
  overflow: hidden !important;
}

/* Mobile: hide why DSA image col */
@media (max-width: 768px) {
  .why-img-wrap { display: none !important; }
  .dsa-two-col { overflow: visible !important; }
}
