:root {
  --deep-blue: #1f2366;
  --vibrant-blue: #3949b8;
  --powder-blue: #7f93d9;
  --ice-blue: #c9d3f5;
  --off-white: #f4f6ff;
  --charcoal: #1b1e2e;
  --surface: #ffffff;
  --border-soft: rgba(27, 30, 46, 0.1);
  --shadow: 0 24px 60px rgba(31, 35, 102, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}

.bg-orb-a {
  top: -12rem;
  right: -8rem;
  background: radial-gradient(circle at 30% 30%, var(--ice-blue), var(--powder-blue));
  animation: floatA 14s ease-in-out infinite;
}

.bg-orb-b {
  bottom: -14rem;
  left: -9rem;
  background: radial-gradient(circle at 20% 20%, var(--powder-blue), var(--vibrant-blue));
  animation: floatB 18s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 6vw;
  background: rgba(244, 246, 255, 0.82);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 11rem;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.93rem;
  color: rgba(27, 30, 46, 0.9);
  font-weight: 500;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: var(--vibrant-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 0.35rem;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.2rem 0;
  background: var(--charcoal);
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 6vw;
}

.section-alt {
  background: linear-gradient(160deg, rgba(201, 211, 245, 0.25), rgba(244, 246, 255, 0));
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--vibrant-blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.74rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.lead {
  max-width: 62ch;
  margin-top: 1.2rem;
  color: rgba(27, 30, 46, 0.86);
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.3rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--deep-blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 35, 102, 0.28);
}

.btn-primary:hover {
  background: #191d57;
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-soft);
}

.btn-secondary:hover {
  box-shadow: 0 10px 24px rgba(57, 73, 184, 0.12);
}

.hero-stats {
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
}

.hero-stats li {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 0.85rem;
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
}

.hero-panel {
  border-radius: 1.4rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(201, 211, 245, 0.35));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.panel-logo {
  width: min(15rem, 100%);
  display: block;
  margin-bottom: 1.1rem;
}

.panel-copy {
  margin: 0;
  color: rgba(27, 30, 46, 0.88);
}

.panel-hours {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(57, 73, 184, 0.35);
}

.panel-hours h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.panel-hours p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

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

.section-head h2 {
  margin-top: 0.4rem;
  max-width: 18ch;
}

.card-grid,
.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.price-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 1.1rem;
  padding: 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(31, 35, 102, 0.1);
  border-color: rgba(57, 73, 184, 0.35);
}

.card-tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--vibrant-blue);
}

.card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: rgba(27, 30, 46, 0.86);
}

.process-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-grid li {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 1rem;
  counter-increment: flow;
  position: relative;
}

.process-grid li::before {
  content: "0" counter(flow);
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--powder-blue);
  font-size: 1.35rem;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.process-grid h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.process-grid p {
  margin: 0;
  font-size: 0.96rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.price-card.featured {
  border-color: rgba(57, 73, 184, 0.45);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(201, 211, 245, 0.28));
}

.price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.price-card h3 {
  font-size: 1.15rem;
}

.price-card strong {
  color: var(--deep-blue);
  font-family: "Outfit", sans-serif;
  font-size: 1.45rem;
}

.price-card p {
  margin: 0;
}

.price-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(27, 30, 46, 0.86);
}

.price-list li + li {
  margin-top: 0.38rem;
}

.legal-note {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: rgba(27, 30, 46, 0.76);
}

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

.project-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(31, 35, 102, 0.12);
}

.project-frame {
  position: relative;
  height: 300px;
  border-bottom: 1px solid var(--border-soft);
  background: #e9edff;
  overflow: hidden;
}

.project-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.project-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(160deg, #e7ecff, #cdd8ff);
}

.project-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-fallback-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  color: rgba(27, 30, 46, 0.84);
}

.project-fallback-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.85rem 0.78rem;
  background: linear-gradient(180deg, rgba(27, 30, 46, 0), rgba(27, 30, 46, 0.85));
  color: #fff;
}

.project-fallback-overlay strong {
  display: block;
  font-family: "Outfit", sans-serif;
  margin-bottom: 0.16rem;
}

.project-fallback-overlay p {
  margin: 0;
  font-size: 0.83rem;
}

.project-frame--fallback iframe {
  display: none;
}

.project-frame--fallback .project-fallback {
  display: flex;
}

.project-copy {
  padding: 0.95rem;
}

.project-copy h3 {
  margin-bottom: 0.45rem;
}

.project-copy p {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-card,
.brief-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 1rem;
}

.contact-card a {
  color: var(--vibrant-blue);
}

.brief-card {
  display: grid;
  gap: 0.5rem;
}

.brief-card input,
.brief-card select,
.brief-card textarea {
  border: 1px solid rgba(27, 30, 46, 0.18);
  background: rgba(244, 246, 255, 0.72);
  border-radius: 0.7rem;
  padding: 0.68rem 0.74rem;
  font: inherit;
  color: inherit;
}

.brief-card input:focus,
.brief-card select:focus,
.brief-card textarea:focus {
  outline: none;
  border-color: var(--vibrant-blue);
  box-shadow: 0 0 0 4px rgba(57, 73, 184, 0.12);
}

.brief-status {
  min-height: 1.1em;
  margin: 0.35rem 0 0;
  color: var(--vibrant-blue);
  font-size: 0.9rem;
}

.site-footer {
  text-align: center;
  padding: 2.2rem 6vw 2.7rem;
  background: var(--deep-blue);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer img {
  width: 9rem;
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 0.8rem auto 0;
  max-width: 70ch;
  font-size: 0.88rem;
}

.site-footer a {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .card-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 6vw;
    right: 6vw;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-soft);
    border-radius: 1rem;
    padding: 0.8rem 0.9rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .site-header.menu-open .site-nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-stats,
  .card-grid,
  .pricing-grid,
  .process-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes floatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-2rem, 1rem, 0);
  }
}

@keyframes floatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(2.4rem, -1.2rem, 0);
  }
}
