:root {
  --deep-navy: #0B132B;
  --tech-blue: #1D4ED8;
  --gold: #C9A227;
  --red: #DC2626;
  --slate: #475569;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --charcoal: #111827;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --shadow: 0 20px 45px rgba(11, 19, 43, 0.12);
}

.skip-link:focus {
  position: static;
  left: 1rem;
  top: 1rem;
  background: var(--tech-blue);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 50;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--light);
  color: var(--charcoal);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid rgba(71, 85, 105, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-weight: 700;
  color: var(--deep-navy);
}

.primary-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.primary-navigation a {
  color: var(--slate);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 2rem;
  height: 2rem;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: var(--charcoal);
  border-radius: 999px;
  position: absolute;
  left: 0;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button-primary {
  background: var(--tech-blue);
  color: white;
  box-shadow: 0 18px 34px rgba(29, 78, 216, 0.18);
}

.button-secondary {
  background: white;
  color: var(--deep-navy);
  border: 1px solid rgba(11, 19, 43, 0.08);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero {
  padding: 4rem 0 3rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: 20px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(29, 78, 216, 0.18), transparent 60%);
  z-index: 0;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1.3fr 1fr;
}

.eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tech-blue);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.02;
  margin: 0;
  color: var(--deep-navy);
}

.hero-text {
  margin: 1.4rem 0 2rem;
  max-width: 34rem;
  color: var(--slate);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-grid span {
  background: white;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), #ffffff);
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
  z-index: 1;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.08);
}

.hero-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.card-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--tech-blue);
  margin-bottom: 0.5rem;
}

.service-pill-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-pill {
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: white;
  font-weight: 600;
}

.hero-card-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 19, 43, 0.08);
  color: var(--slate);
}

.section {
  padding: 4rem 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-tag {
  font-size: 0.9rem;
  color: var(--tech-blue);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(2rem, 2.5vw, 2.75rem);
  margin: 0;
  color: var(--deep-navy);
}

.section-text,
.about p,
.why-card p,
.process-step p,
.portfolio-card p,
.pricing-card p,
.info-card p {
  color: var(--slate);
}

.section-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.about-cards,
.needs-card {
  display: grid;
  gap: 1rem;
}

.info-card,
.service-card,
.pricing-card,
.process-step,
.portfolio-card,
.why-card {
  background: white;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 30px rgba(11, 19, 43, 0.06);
  padding: 1.7rem;
}

.info-card h3,
.service-card h3,
.pricing-card h3,
.process-step h3,
.portfolio-card h3,
.why-card h3 {
  margin-top: 0;
  color: var(--deep-navy);
}

.card-grid,
.pricing-grid,
.process-grid,
.why-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card.featured {
  border-color: rgba(29, 78, 216, 0.18);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--deep-navy);
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate);
}

.tagline {
  margin: 0;
  font-weight: 600;
  color: var(--slate);
}

.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.pricing-card li {
  position: relative;
  padding-left: 1.3rem;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--tech-blue);
}

.package-note {
  margin-top: 1.5rem;
  color: var(--slate);
  max-width: 720px;
}

.section-subtext {
  margin-top: 0.5rem;
  color: var(--slate);
}

.pricing-card .price-note {
  margin: 0.75rem 0 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.package-meta {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.35;
}

.process-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.process-step {
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.1);
  color: var(--tech-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

.important-note {
  color: var(--charcoal);
  font-weight: 600;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin-top: 1rem;
}

.portfolio-card {
  min-height: 220px;
  display: grid;
  gap: 1rem;
}

.portfolio-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-navy);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.1);
  color: var(--tech-blue);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: white;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-top: none;
  border-radius: 0 0 20px 20px;
  padding: 0 1.5rem;
}

.faq-panel p {
  margin: 1rem 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: white;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  font-weight: 600;
  color: var(--deep-navy);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(71, 85, 105, 0.18);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: #fff;
  color: var(--charcoal);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--tech-blue);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.form-status {
  color: var(--deep-navy);
  min-height: 1.4rem;
}

.site-footer {
  padding: 3rem 0 2rem;
  background: #0b132b;
  color: white;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-brand {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
}

.site-footer h3 {
  margin-bottom: 0.8rem;
  color: white;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover {
  color: white;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.75);
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  border: none;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--deep-navy);
  color: white;
  box-shadow: 0 18px 26px rgba(11, 19, 43, 0.24);
  display: none;
  z-index: 30;
}

@media (max-width: 920px) {
  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.25rem;
  }
}

@media (max-width: 780px) {
  .primary-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid rgba(71, 85, 105, 0.12);
    transform: translateY(-100%);
    transition: transform 0.25s ease;
    overflow: hidden;
  }

  .primary-navigation.open {
    transform: translateY(0);
  }

  .primary-navigation a {
    padding: 1rem 1.5rem;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-inner {
    align-items: center;
  }

  .hero-actions,
  .trust-grid,
  .card-grid,
  .pricing-grid,
  .process-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .contact-form,
  .about-cards,
  .needs-card {
    padding: 1.5rem;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 3rem 0 2rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}
/* Mobile responsiveness fixes */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 780px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .header-inner > .button {
    display: none;
  }

  .primary-navigation {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .service-pill-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, 1120px);
  }

  .header-inner {
    padding: 0.85rem 0;
    gap: 0.75rem;
  }

  .brand {
    font-size: 0.95rem;
    line-height: 1.2;
    max-width: 75%;
    overflow-wrap: anywhere;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.08;
  }

  .hero-text {
    font-size: 1rem;
    margin: 1rem 0 1.5rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .button {
    width: 100%;
    padding: 0.9rem 1rem;
    text-align: center;
  }

  .trust-grid {
    gap: 0.6rem;
  }

  .trust-grid span {
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
  }

  .hero-card,
  .contact-form,
  .info-card,
  .service-card,
  .pricing-card,
  .process-step,
  .portfolio-card,
  .why-card {
    padding: 1.2rem;
    border-radius: 18px;
  }

  .service-pill-grid {
    gap: 0.75rem;
  }

  .service-pill {
    padding: 0.85rem 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section h2 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
    line-height: 1.15;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .card-grid,
  .pricing-grid,
  .process-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .price {
    font-size: 1.65rem;
  }

  .pricing-card ul {
    gap: 0.55rem;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 1rem;
    padding: 0.85rem;
    border-radius: 12px;
  }

  .site-footer {
    padding: 2.25rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer a,
  .site-footer p {
    overflow-wrap: anywhere;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 360px) {
  .brand {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .section h2 {
    font-size: 1.55rem;
  }

  .hero-card,
  .contact-form,
  .info-card,
  .service-card,
  .pricing-card,
  .process-step,
  .portfolio-card,
  .why-card {
    padding: 1rem;
  }
}