/* ═══════════════════════════════════════════════════
   BASE & RESET
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0a0f1e;
  --navy2:   #111827;
  --accent:  #3b82f6;
  --accent2: #6366f1;
  --light:   #f8faff;
  --muted:   #6b7280;
  --border:  #e5e7eb;
  --white:   #ffffff;
  --text:    #1f2937;

  --font-body:    'Inter', sans-serif;
  --font-display: 'Sora', sans-serif;

  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════
   SHARED TYPOGRAPHY
═══════════════════════════════════════════════════ */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .22s ease;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(59,130,246,.35);
}
.btn-primary:hover {
  background: #2563eb;
  box-shadow: 0 6px 24px rgba(59,130,246,.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: .6rem 1.25rem;
  font-size: .875rem;
}

.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1rem 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
#nav.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,.08);
  padding: .65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  transition: color .2s;
}
#nav.scrolled .nav-logo { color: var(--navy); }

.logo-sws {
  background: var(--accent);
  color: var(--white);
  font-size: .75rem;
  font-weight: 800;
  padding: .2rem .4rem;
  border-radius: 6px;
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-links li a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: .4rem .75rem;
  border-radius: 8px;
  transition: color .2s;
}
.nav-links li a:hover { color: var(--white); }

#nav.scrolled .nav-links li a { color: var(--muted); }
#nav.scrolled .nav-links li a:hover { color: var(--navy); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: .5rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #2563eb !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 10px;          /* larger tap target */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background .2s;
}
#nav.scrolled .hamburger span { background: var(--navy); }

/* Drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}
.nav-drawer a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  transition: color .2s;
  padding: .5rem 1.5rem;       /* bigger tap target */
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-drawer a:hover { color: var(--white); }
.drawer-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: .875rem 2.5rem !important;
  border-radius: 50px;
  font-size: 1rem !important;
  min-height: 52px;
}
.drawer-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}


/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
#hero {
  position: relative;
  background: var(--navy);
  padding: 9rem 0 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.25);
  color: #93c5fd;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}

.accent {
  background: linear-gradient(135deg, #3b82f6, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.65);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-btns .btn-ghost {
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.2);
}
.hero-btns .btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  padding: 1rem 2.5rem;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.proof-item strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 800;
}
.proof-item span {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}

.proof-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.12);
}

.hero-wave {
  margin-top: auto;
  line-height: 0;
}


/* ═══════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════ */
#services {
  padding: 6rem 0;
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 24px; height: 24px; }

.si-blue   { background: #eff6ff; color: #3b82f6; }
.si-green  { background: #f0fdf4; color: #22c55e; }
.si-purple { background: #f5f3ff; color: #8b5cf6; }
.si-orange { background: #fff7ed; color: #f97316; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}
.service-card > p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.service-list li {
  font-size: .875rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}


/* ═══════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════ */
#process {
  padding: 6rem 0;
  background: var(--white);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step {
  flex: 1;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: .2;
  line-height: 1;
  margin-bottom: .75rem;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}
.step-body p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  opacity: .4;
  align-self: center;
  flex-shrink: 0;
  padding: 0 .25rem;
}


/* ═══════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════ */
#work {
  padding: 6rem 0;
  background: var(--light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.portfolio-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  padding: 1.5rem;
}

/* Browser mockup */
.pv-mockup {
  width: 100%;
  max-width: 320px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.mockup-bar {
  background: #f1f5f9;
  padding: .5rem .75rem;
  display: flex;
  gap: .35rem;
  align-items: center;
}
.mockup-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
}
.mockup-bar span:nth-child(1) { background: #fc5a5a; }
.mockup-bar span:nth-child(2) { background: #fdbc2c; }
.mockup-bar span:nth-child(3) { background: #24cc65; }

.mockup-body { padding: .5rem; }
.mockup-hero {
  height: 50px;
  border-radius: 4px;
  margin-bottom: .5rem;
}
.mockup-lines { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .5rem; }
.ml { height: 6px; border-radius: 3px; background: #e2e8f0; }
.ml-wide  { width: 80%; }
.ml-med   { width: 60%; }
.ml-short { width: 40%; }
.mockup-cards { display: flex; gap: .35rem; }
.mc {
  flex: 1;
  height: 32px;
  border-radius: 4px;
  background: #f1f5f9;
}

/* Placeholder card */
.pv-next { background: linear-gradient(135deg, #1e293b, #0f172a); }
.pv-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.4);
}
.pv-plus {
  width: 56px;
  height: 56px;
  border: 2px dashed rgba(255,255,255,.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: rgba(255,255,255,.3);
}
.pv-placeholder p {
  font-size: .9rem;
  text-align: center;
  line-height: 1.5;
}

.portfolio-info { padding: 1.75rem; }

.portfolio-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.portfolio-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}
.portfolio-info > p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.portfolio-tags span {
  font-size: .75rem;
  font-weight: 600;
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .2rem .65rem;
  border-radius: 50px;
}


/* ═══════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════ */
#about {
  padding: 6rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  color: var(--white);
}
.about-icon {
  width: 64px;
  height: 64px;
  background: rgba(59,130,246,.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.about-icon svg {
  width: 32px;
  height: 32px;
  color: #93c5fd;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.about-card p {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
}

.about-stat-card {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(59,130,246,.35);
}
.about-stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}
.about-stat-card span {
  font-size: .75rem;
  opacity: .8;
}

.about-text .section-sub + .section-sub { margin-top: 1rem; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.value-icon {
  width: 28px;
  height: 28px;
  background: #eff6ff;
  color: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}
.value-item strong {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .15rem;
}
.value-item p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
#contact {
  padding: 6rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.contact-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-text .section-title { color: var(--white); }
.contact-text .section-sub { color: rgba(255,255,255,.6); }
.contact-text .eyebrow { color: #93c5fd; }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 2rem;
}
.ci-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
}
.ci-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); }
.ci-item a { color: rgba(255,255,255,.7); transition: color .2s; }
.ci-item a:hover { color: var(--white); }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
.optional { font-weight: 400; color: var(--muted); }

.form-group input,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #d1d5db; }

.form-note {
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  margin-top: .75rem;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.form-success .check {
  width: 56px;
  height: 56px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.form-success p { font-size: .9rem; color: var(--muted); }


/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer {
  background: #060c1a;
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-links li,
.footer-links li a {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.footer-links li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: .5rem;
}


/* ═══════════════════════════════════════════════════
   MOBILE STICKY CTA BAR
═══════════════════════════════════════════════════ */
.mobile-cta-bar {
  display: none; /* only shown on mobile via media query */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: .85rem 1.25rem;
  gap: .75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  transform: translateY(100%);
  transition: transform .3s ease;
}
.mobile-cta-bar.visible {
  transform: translateY(0);
}
.mobile-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex: 1;
  background: var(--light);
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
  padding: .75rem;
  border-radius: 12px;
  min-height: 48px;
  transition: background .2s, border-color .2s;
}
.mobile-cta-call svg { width: 16px; height: 16px; }
.mobile-cta-call:hover { background: var(--border); border-color: #d1d5db; }

.mobile-cta-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 2;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  padding: .75rem;
  border-radius: 12px;
  min-height: 48px;
  box-shadow: 0 4px 14px rgba(59,130,246,.35);
  transition: background .2s;
}
.mobile-cta-quote:hover { background: #2563eb; }

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  /* Add bottom padding so content isn't hidden behind the bar */
  body { padding-bottom: 84px; }
}


/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 960px)
═══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .about-grid      { grid-template-columns: 1fr; gap: 3rem; }
  .contact-wrap    { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps   { flex-direction: column; }
  .step-arrow      { display: none; }
  .about-stat-card { right: 0; }
  .step            { text-align: left; display: flex; gap: 1.25rem; align-items: flex-start; }
  .step-num        { font-size: 1.75rem; flex-shrink: 0; margin-bottom: 0; }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 768px)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links          { display: none; }
  .hamburger          { display: flex; }
  .nav-drawer         { display: flex; }

  /* Sections — tighter vertical padding on mobile */
  #services,
  #process,
  #work,
  #about,
  #contact          { padding: 4rem 0; }
  footer            { padding: 3rem 0 1.5rem; }

  /* Section headings */
  .section-head     { margin-bottom: 2.25rem; }
  .section-title    { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-sub      { font-size: .95rem; }

  /* Hero */
  #hero             { min-height: auto; padding-top: 6.5rem; }
  .hero-body        { padding-bottom: 3.5rem; }
  .hero-title       { font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.01em; }
  .hero-sub         { font-size: .975rem; padding: 0 .5rem; }
  .hero-btns        { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-btns .btn   { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem 1.5rem; }
  .hero-proof       {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .85rem 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    justify-content: center;
  }
  .proof-div        { display: none; }
  .proof-item       { flex-direction: row; align-items: center; gap: .4rem; }
  .proof-item strong { font-size: 1rem; }
  .proof-item span  { font-size: .75rem; }

  /* Services */
  .services-grid    { grid-template-columns: 1fr; gap: 1rem; }
  .service-card     { padding: 1.5rem; }

  /* Process */
  .step             { padding: 1.25rem 1.5rem; }

  /* Portfolio */
  .portfolio-grid   { grid-template-columns: 1fr; }
  .portfolio-visual { height: 180px; }

  /* About */
  .about-card       { padding: 2rem 1.5rem; }
  .about-stat-card  { position: static; margin-top: 1rem; display: inline-block; }
  .about-visual     { text-align: center; }
  .about-values     { gap: 1rem; }

  /* Contact */
  .contact-form     { padding: 1.75rem 1.25rem; border-radius: 16px; }
  .form-row         { grid-template-columns: 1fr; }
  .form-group input,
  .form-group textarea {
    font-size: 1rem; /* prevents iOS zoom on focus */
    padding: .875rem 1rem;
  }

  /* Footer */
  .footer-grid      { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom    { flex-direction: column; text-align: center; gap: .4rem; }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — SMALL PHONES  (≤ 480px)
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container        { padding: 0 18px; }

  /* Nav */
  .nav-logo         { font-size: .875rem; }
  #nav              { padding: .85rem 0; }

  /* Hero */
  #hero             { padding-top: 5.5rem; }
  .hero-badge       { font-size: .72rem; padding: .35rem .875rem; }
  .hero-title       { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .hero-body        { padding-bottom: 3rem; }

  /* Proof strip stacks cleanly */
  .hero-proof       { gap: .6rem 1.25rem; padding: .875rem 1.25rem; }

  /* Cards */
  .service-card,
  .step             { padding: 1.25rem; }

  /* Portfolio mockup — scale down on tiny screens */
  .portfolio-visual { height: 160px; padding: 1rem; }
  .pv-mockup        { max-width: 260px; }

  /* Buttons — always full-width CTA on small phones */
  .btn-primary      { width: 100%; justify-content: center; }

  /* Contact */
  .contact-form     { padding: 1.5rem 1rem; }
  .btn-full         { font-size: 1rem; padding: 1rem; }

  /* Footer */
  footer            { padding: 2.5rem 0 1.25rem; }
  .footer-logo      { font-size: .875rem; }
}


/* ═══════════════════════════════════════════════════
   TOUCH — tap targets & no hover lift on touch
═══════════════════════════════════════════════════ */
@media (hover: none) {
  .service-card:hover,
  .portfolio-card:hover { transform: none; box-shadow: var(--shadow); }
  .btn-primary:hover    { transform: none; }
}

/* Safe area insets for notch/home-bar phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  footer            { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
  .mobile-cta-bar   { padding-bottom: calc(.85rem + env(safe-area-inset-bottom)); }
}
