:root {
  --bg: #ffffff;
  --bg-soft: #f7f9ff;
  --bg-muted: #eef2ff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-alt: rgba(247, 249, 255, 0.96);
  --line: rgba(15, 23, 42, 0.07);
  --line-strong: rgba(37, 99, 235, 0.16);
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-border: rgba(37, 99, 235, 0.14);
  --success: #059669;
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-accent: 0 8px 24px rgba(37, 99, 235, 0.2);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0b1629;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* announcement strip */
.header-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: #060e1c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.strip-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 100%;
  color: rgba(210, 228, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s;
}

.strip-link:hover {
  color: #ffffff;
}

.strip-badge {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.strip-arrow {
  color: #7ab0ff;
}

/* main nav bar */
.header-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
}

.header-bar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* brand */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark__icon {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #4a94ff);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-transform: uppercase;
}

.brand-mark__dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
  display: inline-block;
}

.brand-mark__copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-mark__text {
  font-size: 0.97rem;
  font-weight: 700;
  color: #eef4ff;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand-mark__sub {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(140, 175, 230, 0.62);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* centered nav links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.nav-link {
  padding: 0.48rem 0.82rem;
  border-radius: 7px;
  color: rgba(195, 218, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-link.is-active {
  color: #7ab0ff;
  background: rgba(0, 102, 255, 0.1);
}

/* right-side header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-cta {
  font-size: 0.86rem;
  min-height: 2.4rem;
  padding: 0.55rem 1.2rem;
  white-space: nowrap;
}

/* hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(122, 176, 255, 0.22);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: #eef4ff;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* shared buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.4rem;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow-accent);
}

.button-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.button-secondary:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
}

/* mobile nav */
@media (max-width: 900px) {
  .header-bar__inner {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #0b1629;
    border-bottom: 1px solid rgba(122, 176, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    padding: 0.75rem;
    gap: 0.2rem;
    z-index: 200;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.93rem;
    border-radius: 8px;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }
}

main {
  padding-bottom: 0;
}

.page-hero,
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(160deg, var(--bg-soft) 0%, var(--bg) 65%);
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}

.hero-glow-one {
  width: 28rem;
  height: 28rem;
  top: -8rem;
  right: -5rem;
  background: rgba(37, 99, 235, 0.1);
}

.hero-glow-two {
  width: 20rem;
  height: 20rem;
  bottom: -6rem;
  left: -5rem;
  background: rgba(37, 99, 235, 0.07);
}

.hero-grid,
.two-column-layout,
.contact-layout,
.quote-layout,
.about-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.hero-copy h1,
.page-hero-copy h1,
.section-heading h2,
.content-block h2,
.cta-banner h2,
.form-panel h2 {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.hero-copy h1,
.page-hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 14ch;
}

.eyebrow,
.stack-kicker,
.service-tag,
.portfolio-kicker,
.mini-label,
.page-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-text,
.page-intro,
.section-heading p,
.service-card p,
.feature-card p,
.quick-link-card span,
.stat-card span,
.check-list li,
.content-block p,
.timeline-item p,
.quote-panel p,
.form-note,
.footer-shell p,
.info-card p,
.testimonial-card p,
.faq-answer,
.portfolio-card p,
.project-meta,
.hero-stack-card p,
.contact-card p,
.contact-detail,
.quote-helper {
  color: var(--text-muted);
}

.hero-text,
.page-intro {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 46ch;
}

.hero-actions,
.page-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-proof,
.stats-grid,
.metric-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-proof div,
.hero-panel,
.hero-panel-card,
.hero-stack-card,
.feature-card,
.service-card,
.quick-link-card,
.info-card,
.stat-card,
.content-panel,
.form-panel,
.contact-card,
.testimonial-card,
.faq-item,
.portfolio-card,
.timeline-item,
.quote-panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.hero-proof div,
.stat-card {
  padding: 1rem 1.1rem;
}

.hero-proof strong,
.stat-card strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-proof span,
.stat-card span {
  font-size: 0.77rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.hero-panel,
.content-panel,
.form-panel,
.quote-panel {
  padding: 1.4rem;
}

.hero-panel-card,
.hero-stack-card,
.content-block,
.info-card,
.contact-card,
.testimonial-card,
.faq-item,
.timeline-item,
.quote-panel {
  padding: 1.4rem;
}

.hero-panel-card h2,
.page-hero-copy h1,
.section-heading h2,
.content-block h2,
.form-panel h2,
.cta-banner h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.hero-panel-card h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

.page-hero-copy h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
}

.section-heading h2,
.content-block h2,
.form-panel h2,
.cta-banner h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.25rem);
  max-width: 22ch;
}

.hero-list,
.check-list,
.service-list,
.quote-list,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.hero-list li,
.check-list li,
.service-list li,
.quote-list li,
.contact-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-list li span,
.check-list li::before,
.service-list li::before,
.quote-list li::before,
.contact-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

/* Contact list with FA icons — suppress pseudo bullet */
.contact-list li:has(svg),
.contact-list li:has(.fa-solid),
.contact-list li:has(.fa-regular) {
  align-items: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-list li:has(.fa-solid)::before,
.contact-list li:has(.fa-regular)::before {
  display: none;
}

.contact-list li i {
  width: 1.25rem;
  text-align: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.85rem;
}

.hero-stack-grid,
.quick-links-grid,
.services-grid,
.services-bento,
.info-grid,
.portfolio-grid,
.testimonials-grid,
.faq-grid,
.contact-grid,
.metric-row {
  display: grid;
  gap: 0.85rem;
}

.hero-stack-grid {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.hero-stack-card {
  min-width: 0;
}

.hero-stack-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  overflow-wrap: anywhere;
  margin-bottom: 0.2rem;
}

.feature-grid,
.testimonials-grid,
.faq-grid,
.contact-grid {
  display: grid;
  gap: 0.85rem;
}

.services-grid {
  grid-template-columns: 1fr;
}

.services-bento {
  display: grid;
  gap: 0.85rem;
}

.service-card {
  padding: 1.5rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.4rem 0 0.5rem;
  color: var(--text);
}

.service-card-large {
  grid-column: 1;
}

.service-card-medium {
  grid-column: 1;
}

.service-card-wide {
  grid-column: 1;
}

.card-topline {
  width: 2.5rem;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.65;
}

.feature-card,
.quick-link-card,
.info-card,
.contact-card,
.testimonial-card,
.faq-item,
.portfolio-card,
.timeline-item {
  padding: 1.4rem;
}

.feature-card h3,
.info-card h3,
.contact-card h3,
.testimonial-card h3,
.portfolio-card h3,
.timeline-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: var(--text);
  line-height: 1.35;
}

.quick-link-card strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
}

.feature-card:hover,
.service-card:hover,
.quick-link-card:hover,
.info-card:hover,
.contact-card:hover,
.testimonial-card:hover,
.portfolio-card:hover,
.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}

.feature-card,
.service-card,
.quick-link-card,
.info-card,
.contact-card,
.testimonial-card,
.portfolio-card,
.timeline-item,
.form-panel,
.content-panel,
.quote-panel {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-icon,
.info-icon,
.contact-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 1.05rem;
}

.section {
  padding: 3.5rem 0;
}

.section-surface {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.25rem;
}

.section-heading h2,
.content-block h2,
.form-panel h2,
.cta-banner h2 {
  font-size: clamp(2rem, 4.3vw, 3.25rem);
}

.quick-link-card {
  display: grid;
  gap: 0.45rem;
}

.quick-link-card strong,
.feature-card h3,
.service-card h3,
.info-card h3,
.portfolio-card h3,
.testimonial-card h3,
.contact-card h3,
.timeline-item h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  margin: 0;
}

.cta-banner {
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #1e3a7b 0%, #0f172a 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.cta-banner .eyebrow {
  color: rgba(147, 197, 253, 0.9);
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.3);
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner .button-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
  flex-shrink: 0;
}

.cta-banner .button-primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.footer-title {
  margin: 0 0 0.35rem;
  font-weight: 800;
  color: #d4e8ff;
  font-size: 1rem;
}

.site-footer {
  background: #0b1629;
  color: rgba(196, 220, 255, 0.7);
  padding: 3.5rem 0 1.75rem;
  margin-top: 0;
}

.footer-shell {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-desc {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(196, 220, 255, 0.55);
  max-width: 28ch;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-group h4 {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(196, 220, 255, 0.42);
}

.footer-nav-group a {
  font-size: 0.875rem;
  color: rgba(196, 220, 255, 0.68);
  transition: color 0.15s;
  line-height: 1.5;
}

.footer-nav-group a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  color: rgba(196, 220, 255, 0.38);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-links a {
  color: rgba(196, 220, 255, 0.68);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-shell p {
  font-size: 0.85rem;
  color: rgba(196, 220, 255, 0.55);
  margin: 0;
}

.page-hero-copy {
  padding-top: 0.5rem;
}

.page-hero-visual,
.image-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.page-hero-visual img,
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1.5rem;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.04);
}

.content-stack {
  display: grid;
  gap: 1rem;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.portfolio-card.featured {
  grid-column: auto;
}

.project-meta,
.client-role,
.contact-detail,
.quote-helper {
  font-size: 0.94rem;
}

.project-image-wrap {
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card.featured .project-image-wrap {
  aspect-ratio: 21 / 9;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.project-meta-row span,
.pill {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.client-line {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.client-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.client-role {
  margin-top: 0.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  font-size: 0.93rem;
}

.faq-icon {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  flex: 0 0 auto;
  font-size: 0.72rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.3rem;
  transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq-item.is-open {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  padding-bottom: 1.2rem;
}

.faq-item.is-open .faq-icon i {
  transform: rotate(45deg);
}

.faq-icon i {
  transition: transform 0.2s ease;
}

.contact-layout,
.quote-layout {
  align-items: stretch;
}

.contact-form,
.quote-form {
  display: grid;
  gap: 1rem;
}

.form-row,
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

label span,
legend {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.82rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  outline: none;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
  background: #fff;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(245, 247, 251, 0.7);
}

.option-card input {
  width: auto;
  margin: 0;
}

.form-note.is-success,
.form-note.is-error,
.qf-note.is-success,
.qf-note.is-error {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.55;
  margin-top: 1rem;
  animation: noteSlideIn 0.3s ease;
}

.form-note.is-success,
.qf-note.is-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.form-note.is-error,
.qf-note.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.form-note .note-icon,
.qf-note .note-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.form-note .note-body,
.qf-note .note-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.form-note .note-title,
.qf-note .note-title {
  font-weight: 700;
  font-size: 0.9rem;
}

@keyframes noteSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-note.is-error a,
.qf-note.is-error a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Inline field validation ──────────────────────────────────────── */
.field-error {
  border-color: #dc2626 !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.field-error-msg {
  font-size: 0.76rem;
  color: #dc2626;
  font-weight: 500;
  margin-top: 0.2rem;
  display: none;
}

.field-error-msg.is-visible {
  display: block;
}

.button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.contact-list strong,
.metric-value,
.stat-value {
  color: var(--text);
}

.metric-card {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   MOBILE-FIRST RESPONSIVE BREAKPOINTS
   Default layout = mobile (single column).
   Expand outward with min-width.
   ============================================================ */

/* 480px — small phones landscape */
@media (min-width: 480px) {
  .hero-proof,
  .stats-grid,
  .metric-grid,
  .metric-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* 640px — tablets portrait */
@media (min-width: 640px) {
  .feature-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card.featured {
    grid-column: span 2;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 768px — tablets landscape */
@media (min-width: 768px) {
  .hero-grid,
  .two-column-layout,
  .contact-layout,
  .quote-layout,
  .about-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .feature-grid,
  .info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-shell {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
  }

  .cta-banner {
    flex-wrap: nowrap;
  }
}

/* 1024px — desktop */
@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-links-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .services-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .service-card-large {
    grid-column: span 6;
  }

  .service-card-medium {
    grid-column: span 3;
  }

  .service-card-wide {
    grid-column: span 12;
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card.featured {
    grid-column: span 2;
  }

  .footer-shell {
    grid-template-columns: 1.8fr repeat(3, 1fr);
  }

  .page-hero,
  .hero-section {
    padding: 5rem 0 4rem;
  }
}

/* 1280px — wide desktop */
@media (min-width: 1280px) {
  .hero-copy h1 {
    font-size: 3.5rem;
  }

  .page-hero-copy h1 {
    font-size: 3rem;
  }
}

/* ─── Home Page — New Content Sections ─────────────────────────── */

/* Gradient heading accent (hero h1 second line) */
.h1-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Centered section heading variant */
.section-heading--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* ── Services Primary Grid (4-card) ── */
.services-primary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-primary-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

.service-primary-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #7c3aed 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-primary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}

.service-primary-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.service-primary-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin: 0;
}

/* ── Numbered Services Grid ── */
.numbered-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.numbered-service {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.numbered-service:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
}

.num-badge {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  min-width: 2.5rem;
  opacity: 0.28;
  flex-shrink: 0;
  padding-top: 0.15rem;
  letter-spacing: -0.02em;
}

.numbered-service__body h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.3rem;
}

.numbered-service__body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ── Tech Stack ── */
.tech-stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.tech-category {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
}

.tech-cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.tech-cat-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tech-cat-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  transition: background 0.15s, border-color 0.15s;
}

.tech-pill:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--accent);
}

/* ── Our Work Teaser ── */
.our-work-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.our-work-copy p.eyebrow {
  margin-bottom: 0.5rem;
}

.our-work-copy h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
  color: var(--text);
  line-height: 1.25;
}

.our-work-copy > p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.our-work-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.work-stat-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.work-stat-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
}

.work-stat-card strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.work-stat-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ── CTA banner additions ── */
.cta-sub {
  color: rgba(196, 220, 255, 0.75);
  font-size: 0.95rem;
  margin: 0.4rem 0 0;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cta-btn-ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
}

.cta-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* ── Responsive additions ── */
@media (min-width: 640px) {
  .services-primary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbered-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .our-work-teaser {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services-primary-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .numbered-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .tech-stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .our-work-copy h2 {
    font-size: 2.4rem;
  }
}

/* ─── Testimonials Carousel ────────────────────────────────────── */
.tc-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.tc-viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.tc-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.tc-slide {
  min-width: 100%;
  padding: 2.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-xl);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tc-quote-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.tc-stars {
  display: flex;
  gap: 0.2rem;
  color: #f59e0b;
  font-size: 0.85rem;
}

.tc-slide h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.35;
}

.tc-slide blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  flex: 1;
}

.tc-slide .client-line {
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.client-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

/* Nav row */
.tc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.tc-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.tc-arrow:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: var(--shadow-xs);
}

.tc-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tc-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tc-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s;
  flex-shrink: 0;
}

.tc-dot.is-active {
  background: var(--accent);
  width: 1.5rem;
}

.tc-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .tc-slide {
    padding: 3rem;
  }

  .tc-slide blockquote {
    font-size: 1.05rem;
  }
}


/* ─── Quote Hero ─────────────────────────────────────────────────── */
.qh-hero { background: linear-gradient(160deg, var(--bg-soft) 0%, var(--bg) 70%) !important; }

.qh-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.qh-hero__copy h1 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin: 0.5rem 0 0.85rem; }

.qh-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.qh-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.qh-trust-item i { color: var(--accent); font-size: 0.85rem; }

.qh-steps {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.qh-steps > .eyebrow { margin: 0; }

.qh-step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.qh-step__num {
  min-width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}
.qh-step strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.qh-step p { margin: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* ─── Quote Form Wrapper ──────────────────────────────────────────── */
.qf-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1060px;
  margin: 0 auto;
}

/* Sidebar */
.qf-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qf-sidebar__block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--shadow-xs);
}
.qf-sidebar__block:hover { border-color: var(--accent-border); }
.qf-sidebar__icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
}
.qf-sidebar__block h3 { font-size: 0.88rem; font-weight: 700; color: var(--text); margin: 0; }
.qf-sidebar__block p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

.qf-sidebar__cta {
  margin-top: 0.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #1e3a7b 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.qf-sidebar__cta-label { font-size: 0.78rem; font-weight: 600; color: rgba(196,220,255,0.7); margin: 0; letter-spacing: 0.08em; text-transform: uppercase; }
.qf-phone-link, .qf-email-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.qf-phone-link i, .qf-email-link i { color: rgba(147,197,253,0.9); font-size: 0.8rem; }
.qf-phone-link:hover, .qf-email-link:hover { color: rgba(147,197,253,1); }

/* Form panel */
.qf-form-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.qf-form-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg) 100%);
}
.qf-form-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin: 0 0 0.35rem; }
.qf-form-header p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.qf-form { padding: 2rem; display: flex; flex-direction: column; gap: 0; }

/* Progress bar */
.qf-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.qf-progress__track {
  flex: 1;
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qf-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #7c3aed);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.qf-progress__label { font-size: 0.78rem; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* Steps */
.qf-step {
  border: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 1.1rem;
}
.qf-step.is-active { display: flex; }

.qf-step__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.qf-step__badge {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Labels */
.qf-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.qf-label > span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.qf-label > span em {
  color: var(--accent);
  font-style: normal;
  margin-left: 2px;
}

.qf-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Checkbox option cards */
.qf-checkbox-group { display: flex; flex-direction: column; gap: 0.6rem; }
.qf-checkbox-label { font-size: 0.82rem; font-weight: 700; color: var(--text); }

.qf-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.qf-option-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  position: relative;
}
.qf-option-card i { color: var(--accent); font-size: 1.1rem; pointer-events: none; }
.qf-option-card span { font-size: 0.82rem; font-weight: 600; color: var(--text); pointer-events: none; }
.qf-option-card input[type="checkbox"] {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
  cursor: pointer;
}
.qf-option-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.qf-option-card:hover { border-color: var(--accent-border); background: #f0f5ff; }

/* Step nav */
.qf-step__nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* Privacy notice */
.qf-privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
}
.qf-privacy i { color: var(--accent); flex-shrink: 0; }

/* Note / success */
.qf-note { min-height: 1.5rem; font-size: 0.88rem; color: var(--text-muted); margin-top: 0.5rem; }

/* Submit button with icon */
.qf-submit i { margin-right: 0.4rem; }

/* ─── Responsive: quote ───────────────────────────────────────────── */
@media (min-width: 640px) {
  .qf-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .qf-option-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .qf-wrap { grid-template-columns: 280px 1fr; }
  .qh-hero__inner { grid-template-columns: 1fr 380px; padding: 5rem 0 4rem; }
  .qh-hero__copy h1 { font-size: 2.8rem; }
}

/* ─── Small mobile overrides (< 480px) ─────────────────────────── */
@media (max-width: 479px) {
  /* Tighter vertical rhythm */
  .page-hero,
  .hero-section { padding: 2.5rem 0 2rem; }

  .section { padding: 2.5rem 0; }

  /* Reduce card padding */
  .hero-panel,
  .content-panel,
  .form-panel,
  .quote-panel { padding: 1rem; }

  .hero-panel-card,
  .hero-stack-card,
  .feature-card,
  .service-card,
  .info-card,
  .contact-card,
  .testimonial-card,
  .portfolio-card,
  .timeline-item,
  .content-block { padding: 1rem; }

  /* CTA banner */
  .cta-banner { padding: 1.5rem 1.25rem; flex-direction: column; }

  /* Full-width stacked buttons in hero / page actions */
  .hero-actions,
  .page-actions { flex-direction: column; }

  .hero-actions .button,
  .page-actions .button { width: 100%; justify-content: center; }

  /* Announcement strip — allow text to wrap */
  .header-strip { padding: 0.5rem 0.75rem; }
  .strip-link { flex-wrap: wrap; justify-content: center; text-align: center; gap: 0.4rem; }

  /* Form panel inner padding */
  .qf-form-header { padding: 1.25rem 1.25rem 1rem; }
  .qf-form { padding: 1.25rem; }

  /* Section headings */
  .section-heading { margin-bottom: 1.5rem; }

  /* Footer closer spacing */
  .footer-shell { gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}
