/*
Theme Name: Improvise Adz Theme
Theme URI: https://improviseadz.com/
Author: Codex
Description: Corporate WordPress theme for Improvise Adz, a complete digital marketing agency.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: improvise-adz
*/

:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --navy: #14213d;
  --blue: #1f6feb;
  --teal: #12b3a8;
  --shadow: 0 20px 60px rgba(16, 24, 40, 0.12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; flex-wrap: wrap; }
.header-main { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand img { width: 158px; max-height: 58px; object-fit: contain; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 700; }
.primary-nav a { color: #344054; }
.primary-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border-radius: var(--radius); font-weight: 800; border: 1px solid transparent; transition: .2s ease; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(31,111,235,.25); }
.btn-primary:hover { background: #185ec8; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.hero { background: linear-gradient(135deg, #f7fbff 0%, #ffffff 46%, #f4fbfa 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 56px; align-items: center; min-height: calc(100vh - 128px); padding: 82px 0 56px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-weight: 900; font-size: 13px; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(42px, 5vw, 72px); max-width: 780px; }
h2 { font-size: clamp(30px, 3vw, 46px); }
h3 { font-size: 21px; }
p { color: var(--muted); margin: 0; }
.hero-copy { margin: 22px 0 30px; font-size: 19px; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.scorecard { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.score { min-height: 128px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.score strong { display: block; font-size: 34px; color: var(--navy); line-height: 1; }
.score span { color: var(--muted); font-weight: 700; font-size: 14px; }
.section { padding: 84px 0; }
.section-muted { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 34px; }
.section-head p { max-width: 560px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-height: 100%; }
.card .icon { width: 46px; height: 46px; border-radius: var(--radius); display: grid; place-items: center; color: #fff; font-weight: 900; margin-bottom: 20px; background: var(--navy); }
.card:nth-child(2n) .icon { background: var(--blue); }
.card:nth-child(3n) .icon { background: var(--teal); }
.card h3 { margin-bottom: 12px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { border-top: 3px solid var(--blue); padding: 22px; background: #fff; border-radius: var(--radius); counter-increment: step; }
.step::before { content: "0" counter(step); display: inline-flex; color: var(--blue); font-weight: 900; margin-bottom: 18px; }
.cta-band { background: var(--navy); color: #fff; padding: 70px 0; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-layout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; }
.contact-list { display: grid; gap: 16px; margin-top: 26px; }
.contact-item { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-item strong { display: block; color: var(--navy); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-form label { display: block; color: #344054; font-weight: 800; margin-bottom: 6px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #d0d5dd; border-radius: var(--radius); min-height: 46px; padding: 11px 12px; margin-bottom: 16px; font: inherit; }
.contact-form textarea { min-height: 132px; resize: vertical; }
.site-footer { background: #0b1220; color: #d0d5dd; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo { width: 152px; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.site-footer p, .site-footer a { color: #d0d5dd; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 22px; font-size: 14px; color: #98a2b3; }
.page-main { padding: 72px 0; }
.entry-content { max-width: 800px; }
.entry-content > * + * { margin-top: 18px; }
@media (max-width: 900px) {
  .topbar { display: none; }
  .header-main { min-height: 70px; }
  .menu-toggle { display: grid; }
  .primary-nav { position: absolute; inset: 70px 20px auto 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 14px; }
  .header-actions .btn { display: none; }
  .hero-grid, .contact-grid, .cta-layout, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 58px 0 48px; gap: 34px; }
  .grid-3, .process { grid-template-columns: repeat(2, 1fr); }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  h1 { font-size: 39px; }
  .grid-3, .process, .scorecard { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero-actions .btn { width: 100%; }
}
