
:root{
  --navy:#071b36; --navy2:#0a2d5b; --blue:#0877d9; --gold:#d9a21b;
  --cream:#f7f9fc; --ink:#10233f; --muted:#5f6f82; --white:#fff;
  --shadow:0 16px 44px rgba(7,27,54,.12); --radius:22px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none} img{max-width:100%}
.container{width:min(1120px,calc(100% - 36px));margin:auto}
.topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #e8edf3}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:-.4px}.mark{width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,var(--blue),var(--navy));color:#fff;display:grid;place-items:center;box-shadow:var(--shadow);position:relative}
.mark:after{content:"";width:10px;height:10px;background:var(--gold);position:absolute;right:-3px;top:4px;border-radius:2px}.brand small{display:block;font-size:10px;letter-spacing:.8px;font-weight:700;color:var(--muted)}
.links{display:flex;align-items:center;gap:26px;font-weight:700;font-size:14px}.links a:hover{color:var(--blue)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:14px;font-weight:800;border:1px solid transparent;cursor:pointer;transition:.2s}
.btn-primary{background:linear-gradient(135deg,var(--blue),var(--navy2));color:#fff;box-shadow:0 10px 24px rgba(8,119,217,.2)}.btn-primary:hover{transform:translateY(-1px)}
.btn-gold{background:var(--gold);color:#111}.btn-outline{border-color:#cdd7e3;background:#fff}
.menu{display:none;background:none;border:0;font-size:28px}
.hero{background:radial-gradient(circle at 82% 20%,rgba(8,119,217,.18),transparent 32%),linear-gradient(135deg,#f9fbff,#fff);padding:92px 0 74px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:58px}.eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:2px;color:var(--blue);font-weight:900}
h1{font-size:clamp(42px,6vw,72px);line-height:1.02;letter-spacing:-3px;margin:12px 0 20px}h1 span{color:var(--blue)}
.lead{font-size:19px;color:var(--muted);max-width:680px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.hero-card{background:var(--navy);color:#fff;border-radius:30px;padding:32px;box-shadow:0 28px 70px rgba(7,27,54,.25);position:relative}.hero-card:before{content:"";position:absolute;inset:12px 12px auto auto;width:70px;height:6px;border-radius:6px;background:var(--gold)}
.hero-card h3{font-size:26px;margin:0 0 8px}.pain{display:grid;gap:12px;margin-top:22px}.pain div{padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1)}
.section{padding:82px 0}.section.alt{background:var(--cream)}.section-head{max-width:760px;margin-bottom:34px}.section h2{font-size:clamp(32px,4vw,48px);line-height:1.08;letter-spacing:-1.8px;margin:8px 0 14px}.section p{color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{padding:26px;border:1px solid #e5ebf2;border-radius:var(--radius);background:#fff;box-shadow:0 8px 28px rgba(7,27,54,.06)}.card .icon{width:48px;height:48px;border-radius:14px;background:#eef6ff;color:var(--blue);display:grid;place-items:center;font-size:22px;font-weight:900}.card h3{margin:18px 0 8px;font-size:20px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}.checklist{display:grid;gap:12px;margin-top:24px}.check{display:flex;gap:12px;align-items:flex-start}.dot{width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#fff4d6;color:#9a6b00;display:grid;place-items:center;font-weight:900}
.cta{background:linear-gradient(135deg,var(--navy),#0a3d78);color:#fff;border-radius:30px;padding:46px;display:flex;align-items:center;justify-content:space-between;gap:28px}.cta p{color:#d9e5f4;margin:0}.cta h2{margin:0 0 8px;color:#fff}
.page-hero{padding:72px 0 50px;background:linear-gradient(135deg,#f7faff,#fff)}.page-hero h1{font-size:clamp(38px,5vw,60px)}
.form-wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:36px}.contact-card,.form{border:1px solid #e4eaf1;border-radius:24px;padding:28px;background:#fff;box-shadow:var(--shadow)}
label{display:block;font-weight:800;margin:14px 0 6px}input,textarea{width:100%;border:1px solid #ccd7e3;border-radius:14px;padding:14px 15px;font:inherit;background:#fbfcfe}textarea{min-height:160px;resize:vertical}input:focus,textarea:focus{outline:3px solid rgba(8,119,217,.13);border-color:var(--blue)}
.notice{font-size:13px;color:var(--muted)}footer{background:#06162d;color:#d7e2f1;padding:42px 0;margin-top:72px}.footer-grid{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.gold{color:var(--gold)}
@media(max-width:860px){
 .links{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;padding:18px 24px;border-bottom:1px solid #e5ebf2;flex-direction:column;align-items:stretch}.links.open{display:flex}.menu{display:block}
 .hero{padding-top:58px}.hero-grid,.split,.form-wrap{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.hero-card{order:2}.cta{align-items:flex-start;flex-direction:column}.footer-grid{flex-direction:column}
}
@media(max-width:580px){
 .container{width:min(100% - 26px,1120px)}.nav{height:70px}.links{top:70px}.brand small{display:none}
 h1{letter-spacing:-2px}.hero{padding:46px 0 54px}.section{padding:62px 0}.cards{grid-template-columns:1fr}
 .actions{display:grid}.actions .btn,.cta .btn{width:100%;min-height:52px}.cta{padding:28px;border-radius:22px}.card{padding:22px}
}

.brand-logo{height:58px;width:auto;display:block;object-fit:contain}.footer-logo{height:58px;width:auto;max-width:300px;object-fit:contain}@media(max-width:580px){.brand-logo{height:44px;max-width:245px}.footer-logo{height:50px}}

.policy{max-width:900px}.policy h2{margin-top:38px}.policy h3{margin-top:26px}
.policy ul{color:var(--muted)}.policy-callout{padding:18px 20px;border-left:4px solid var(--gold);background:#fff8e8;border-radius:10px;margin:24px 0}
.select{width:100%;border:1px solid #ccd7e3;border-radius:14px;padding:14px 15px;font:inherit;background:#fbfcfe;color:var(--ink)}
.form-consent{display:flex;gap:10px;align-items:flex-start;margin:18px 0}.form-consent input{width:auto;margin-top:6px}.form-consent label{margin:0;font-weight:500}
.micro{font-size:12px;color:var(--muted)}
.trust-strip{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px}.trust-pill{padding:9px 13px;border-radius:999px;background:#eef6ff;color:var(--navy2);font-size:13px;font-weight:800}

.footer-logo{height:auto;width:min(360px,100%);max-width:360px;filter:none}

/* V7 visual refinements */
.brand-logo{height:64px}
.footer-logo{width:min(410px,100%);max-width:410px}
.footer-grid{align-items:center}
.footer-positioning{margin-top:18px;padding-top:14px;position:relative;display:inline-block}
.footer-positioning:before{content:"";position:absolute;top:0;left:0;width:54px;height:2px;background:var(--gold)}
.cta .btn{white-space:nowrap;min-width:250px}
@media(min-width:861px){
  .hero{padding-top:72px}
  .section{padding:72px 0}
}
@media(max-width:580px){
  .brand-logo{height:48px}
  .footer-logo{width:min(340px,100%)}
  .cta .btn{white-space:normal;min-width:0}
}

.thank-you-mark{width:132px!important;height:132px!important}
@media(max-width:580px){.thank-you-mark{width:108px!important;height:108px!important}}

/* WhatsApp integration - V11 */
.whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:1000;display:flex;align-items:center;gap:9px;padding:11px 15px 11px 11px;border-radius:999px;background:#25D366;color:#fff;text-decoration:none;font-weight:800;box-shadow:0 10px 28px rgba(7,27,54,.22)}.whatsapp-icon{display:grid;place-items:center;width:26px;height:26px}.whatsapp-icon svg{width:26px;height:26px;fill:currentColor}.contact-whatsapp-option{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 24px;padding:20px 22px;border:1px solid rgba(7,27,54,.12);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(7,27,54,.06)}.contact-whatsapp-option strong{display:block;color:#071b36;font-size:1.05rem;margin-bottom:4px}.contact-whatsapp-option p{margin:0;color:#526071}.whatsapp-contact-btn{background:#25D366!important;color:#fff!important;white-space:nowrap}@media(max-width:700px){.whatsapp-float{right:15px;bottom:15px;padding:11px}.whatsapp-label{display:none}.contact-whatsapp-option{align-items:flex-start;flex-direction:column}.whatsapp-contact-btn{width:100%;text-align:center}}

/* Portfolio / Our Work - V12 */
.work-preview{background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%)}
.portfolio-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.project-card{overflow:hidden;border:1px solid #e3eaf2;border-radius:26px;background:#fff;box-shadow:0 12px 36px rgba(7,27,54,.07);transition:.25s}.project-card:hover{transform:translateY(-4px);box-shadow:0 20px 46px rgba(7,27,54,.13)}.project-featured{grid-column:span 2;display:grid;grid-template-columns:1.05fr .95fr}.project-visual{min-height:230px;padding:30px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;position:relative;overflow:hidden}.project-visual:before{content:"";position:absolute;width:210px;height:210px;border-radius:50%;right:-60px;top:-70px;background:rgba(255,255,255,.09)}.project-visual span,.project-visual strong,.project-visual small{position:relative;z-index:1}.project-visual span{text-transform:uppercase;letter-spacing:1.7px;font-size:11px;font-weight:900;opacity:.82}.project-visual strong{font-size:clamp(28px,4vw,42px);line-height:1.05;margin:8px 0}.project-visual small{font-weight:700;opacity:.8}.data-visual{background:linear-gradient(145deg,#0877d9,#071b36)}.commerce-visual{background:linear-gradient(145deg,#171717,#59446f)}.bakery-visual{background:linear-gradient(145deg,#8a4d60,#c7838f)}.public-visual{background:linear-gradient(145deg,#17324d,#316b78)}.impact-visual{background:linear-gradient(145deg,#0a2d5b,#b17b0e)}.project-copy{padding:27px}.project-copy h3{font-size:24px;margin:5px 0 8px}.project-copy p{margin:0 0 15px}.project-type{color:var(--blue);text-transform:uppercase;letter-spacing:1.3px;font-size:11px;font-weight:900}.text-link{color:var(--blue);font-weight:900}.portfolio-action{text-align:center;margin-top:30px}.work-hero .lead{max-width:800px}.case-list{display:grid;gap:34px}.case-study{display:grid;grid-template-columns:.88fr 1.12fr;border:1px solid #e3eaf2;border-radius:28px;background:#fff;overflow:hidden;box-shadow:0 12px 38px rgba(7,27,54,.07);scroll-margin-top:100px}.case-visual{min-height:100%;justify-content:center}.case-copy{padding:38px}.case-copy h2{font-size:36px;margin:5px 0 6px}.case-copy h3{font-size:15px;text-transform:uppercase;letter-spacing:1.2px;margin:23px 0 5px;color:var(--navy)}.case-copy p{margin:0}.case-lead{font-size:18px!important;color:var(--ink)!important}.capabilities{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}.capabilities span{font-size:12px;font-weight:800;padding:8px 11px;border-radius:999px;background:#eef6ff;color:var(--navy2)}.impact-case{border-color:#e7d6a4}.impact-note{margin-top:23px;padding:18px 20px;background:#fff8e8;border-left:4px solid var(--gold);border-radius:12px}.impact-note p{margin-top:4px}.external-project{display:inline-block;margin-top:22px}
@media(max-width:860px){.project-featured{grid-column:auto;display:block}.portfolio-grid{grid-template-columns:1fr 1fr}.case-study{grid-template-columns:1fr}.case-visual{min-height:260px}}
@media(max-width:580px){.portfolio-grid{grid-template-columns:1fr}.project-visual{min-height:205px;padding:24px}.case-copy{padding:25px}.case-copy h2{font-size:30px}.case-visual{min-height:220px}}

/* V13: Automotive portfolio visual */
.auto-visual {background:linear-gradient(135deg,#10283d 0%,#204a5d 54%,#a76831 100%);color:#fff;}
.auto-visual span,.auto-visual small {color:#f3d4a8;}

/* V13.2: authentic screenshots of delivered projects */
.project-visual{background:#142943;isolation:isolate;justify-content:flex-end}
.project-visual:before{display:none}
.project-visual .portfolio-shot{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center;z-index:-2}
.project-visual:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(to bottom,transparent 0%,rgba(4,17,35,.78) 75%,rgba(4,17,35,.94) 100%);z-index:-1}
.case-visual{justify-content:flex-end;min-height:390px}
.case-visual .portfolio-shot{object-fit:contain;object-position:center top;height:auto;max-height:75%;top:0;bottom:auto}
.case-visual:after{inset:45% 0 0}
@media(max-width:860px){.case-visual{min-height:330px}.case-visual .portfolio-shot{max-height:80%}}

/* V13.3 — fill the case-study visual panel with the real site capture.
   Preserve natural image proportions; crop rather than distort. */
.case-visual .portfolio-shot{
  inset:0;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:center top;
}
.case-visual:after{
  inset:0;
  background:linear-gradient(to bottom,rgba(4,17,35,0) 30%,rgba(4,17,35,.22) 53%,rgba(4,17,35,.82) 78%,rgba(4,17,35,.96) 100%);
}
@media(max-width:860px){
  .case-visual{min-height:330px}
  .case-visual .portfolio-shot{height:100%;max-height:none}
}

/* V13.4 — full, uncropped screenshots with a separate title area.
   Scoped to Our Work case studies; homepage previews remain unchanged. */
.case-study .case-visual{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  padding:0;
  min-height:0;
  background:#10243f;
}
.case-study .case-visual .portfolio-shot{
  position:relative;
  inset:auto;
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:16 / 10;
  object-fit:contain;
  object-position:center center;
  flex:none;
  z-index:0;
  background:#f4f7fa;
}
.case-study .case-visual::after{display:none}
.case-study .case-visual-caption{
  display:flex;
  flex:1;
  flex-direction:column;
  justify-content:flex-end;
  gap:5px;
  padding:24px 28px;
  color:#fff;
  background:linear-gradient(155deg,#142943,#081a32);
}
.case-study .case-visual-caption span,
.case-study .case-visual-caption strong,
.case-study .case-visual-caption small{
  position:static;
  z-index:auto;
}
.case-study .case-visual-caption strong{
  font-size:clamp(24px,2.8vw,35px);
  margin:3px 0;
}
@media(max-width:860px){
  .case-study .case-visual .portfolio-shot{aspect-ratio:16 / 10}
  .case-study .case-visual-caption{min-height:120px;padding:20px 24px}
}

/* V13.5: compact navy caption, no stretched empty space */
.case-study{align-items:start}
.case-study .case-visual{align-self:start;min-height:0;height:auto;justify-content:flex-start}
.case-study .case-visual-caption{flex:0 0 auto;min-height:0;gap:3px;padding:12px 20px 13px;justify-content:center}
.case-study .case-visual-caption span{font-size:9px;letter-spacing:1px}
.case-study .case-visual-caption strong{font-size:clamp(19px,2vw,25px);line-height:1.12;margin:1px 0}
.case-study .case-visual-caption small{font-size:10px;line-height:1.25}
@media(max-width:860px){.case-study .case-visual-caption{min-height:0;padding:12px 18px}}

/* V13.6 — vertically center compact screenshot/caption within the case-study row.
   Do not stretch the visual or crop the screenshot. */
@media (min-width:861px){
  .case-study .case-visual{align-self:center;}
}

/* V13.7 — independent visual card: no blank white panel below the image. */
.case-study{
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  align-items:start;
  gap:20px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
}
.case-study .case-visual{
  align-self:start;
  width:100%;
  height:auto;
  min-height:0;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(7,27,54,.09);
}
.case-study .case-copy{
  background:#fff;
  border:1px solid #e3eaf2;
  border-radius:20px;
  box-shadow:0 10px 28px rgba(7,27,54,.06);
}
@media(max-width:860px){
  .case-study{grid-template-columns:minmax(0,1fr);gap:12px}
  .case-study .case-visual{max-width:100%}
}

/* V14 brand and conversion upgrade */
.v14-capabilities{background:#f4f7fb}
.v14-capability-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.v14-capability{background:#fff;border:1px solid #dfe7f2;border-radius:16px;padding:24px;box-shadow:0 8px 22px rgba(10,35,70,.04)}
.v14-capability>span{display:block;color:#0860b0;font-size:10px;font-weight:800;letter-spacing:.1em;margin-bottom:12px}
.v14-capability h3{font-size:19px;line-height:1.25;margin:0 0 12px;color:#0c2444}
.v14-capability p{font-size:14px;line-height:1.65;margin:0}
.v14-filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 25px}
.v14-filter{font:inherit;cursor:pointer;background:#f0f5fb;color:#12345c;border:1px solid #d6e3f1;border-radius:999px;padding:10px 17px;font-size:13px;font-weight:700}
.v14-filter.active,.v14-filter:hover{background:#075da8;color:#fff;border-color:#075da8}
.v14-filter:focus-visible{outline:3px solid #e4ac3e;outline-offset:2px}
.case-study[hidden]{display:none!important}
@media(max-width:960px){.v14-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.v14-capability-grid{grid-template-columns:1fr}.v14-filter{font-size:12px;padding:9px 13px}}


/* V14.1 — mobile portfolio caption repair and Johnny's Auto background */
.project-visual.auto-visual{background:linear-gradient(135deg,#10283d 0%,#204a5d 54%,#a76831 100%)}
/* Ensure readable, consistently stacked labels across the Our Work visual cards. */
.case-study .case-visual-caption{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.case-study .case-visual-caption > span,
.case-study .case-visual-caption > strong,
.case-study .case-visual-caption > small{display:block;position:static;width:100%;max-width:100%;margin:0;float:none;clear:both;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.case-study .case-visual-caption > strong{font-size:clamp(20px,2.4vw,28px);font-weight:800;letter-spacing:0}
@media(max-width:860px){
  .case-study .case-visual-caption{gap:7px;min-height:0;padding:18px 20px 20px}
  .case-study .case-visual-caption > span{font-size:11px;line-height:1.45;letter-spacing:1.3px}
  .case-study .case-visual-caption > strong{font-size:clamp(22px,6vw,30px);line-height:1.18}
  .case-study .case-visual-caption > small{font-size:13px;line-height:1.5}
  /* Homepage project cards: keep the actual screenshot fully visible and
     position category, business name and summary underneath it. */
  .work-preview .project-card .project-visual{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;height:auto;min-height:0;padding:0 0 20px;overflow:hidden}
  .work-preview .project-card .project-visual .portfolio-shot{position:relative;inset:auto;z-index:0;display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;object-position:center;background:#f4f7fa;flex:none;margin-bottom:8px}
  .work-preview .project-card .project-visual:after{display:none}
  .work-preview .project-card .project-visual > span,
  .work-preview .project-card .project-visual > strong,
  .work-preview .project-card .project-visual > small{display:block;position:relative;z-index:1;width:calc(100% - 40px);max-width:calc(100% - 40px);margin:0 20px;white-space:normal;overflow-wrap:anywhere;float:none;clear:both}
  .work-preview .project-card .project-visual > span{font-size:11px;line-height:1.4;letter-spacing:1.3px}
  .work-preview .project-card .project-visual > strong{font-size:clamp(25px,6.5vw,34px);line-height:1.16}
  .work-preview .project-card .project-visual > small{font-size:13px;line-height:1.45}
}

/* V14.3 — Johnny's Auto uses the same blue palette as other portfolio cards. */
.project-visual.auto-visual,
.case-study .project-visual.auto-visual {
  background: linear-gradient(145deg,#0877d9,#071b36);
  color: #fff;
}
.project-visual.auto-visual > span,
.project-visual.auto-visual > small,
.project-visual.auto-visual > strong { color:#fff; }

/* V15: PriceMyDoctor portfolio visuals; consistent blue captions and readable mobile labels. */
.project-visual.price-visual,.case-study .project-visual.price-visual{background:linear-gradient(145deg,#0877d9,#071b36);color:#fff}
.project-visual.price-visual > span,.project-visual.price-visual > small,.project-visual.price-visual > strong{color:#fff}
.case-study .price-visual .case-visual-caption{background:transparent;color:#fff}
.case-study .price-visual .case-visual-caption > *{color:#fff}
