:root {
  --white: #ffffff;
  --ice: #eef6ff;
  --pale-blue: #dbeeff;
  --blue: #2f78bd;
  --bright-blue: #49a8e8;
  --dark-blue: #07192f;
  --navy: #0d2747;
  --text: #122238;
  --muted: #5f7084;
  --border: rgba(47, 120, 189, 0.22);
  --shadow: 0 24px 70px rgba(7, 25, 47, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--ice);
  color: var(--text);
  line-height: 1.6;
}

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

.site-header {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 25%, rgba(73, 168, 232, 0.30), transparent 32%),
    linear-gradient(135deg, var(--dark-blue), var(--navy) 45%, #123d69);
  color: var(--white);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 5;
}

.brand img {
  height: 74px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  color: rgba(255,255,255,0.86);
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--white);
  color: var(--dark-blue);
  padding: 10px 16px;
  border-radius: 999px;
}

.menu-toggle { display: none; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 99px;
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 130px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--bright-blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

h1, h2, h3 {
  line-height: 1.08;
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  letter-spacing: -0.075em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.055em;
}

.hero-copy p {
  max-width: 700px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  border: 0;
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  background: var(--bright-blue);
  color: var(--dark-blue);
}

.btn.primary:hover { background: var(--white); }

.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.08);
}

.hero-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto 28px;
  display: block;
}

.panel-card {
  background: rgba(7,25,47,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 24px;
}

.panel-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.panel-card p {
  color: rgba(255,255,255,0.76);
  margin: 0;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.muted,
.section-heading p,
.card p,
.step p,
.contact-copy p {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 20px;
}

.cards.three { grid-template-columns: repeat(3, 1fr); }

.card,
.step,
.contact-form,
details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 32px rgba(7, 25, 47, 0.06);
}

.number {
  color: var(--bright-blue);
  font-weight: 900;
  display: block;
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
}

.step { border-left: 5px solid var(--blue); }

.dark-section {
  width: 100%;
  max-width: none;
  background: var(--dark-blue);
  color: var(--white);
  padding-left: max(20px, calc((100% - 1180px) / 2));
  padding-right: max(20px, calc((100% - 1180px) / 2));
}

.dark-section .section-heading p,
.portfolio-card p {
  color: rgba(255,255,255,0.72);
}

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

.portfolio-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  padding: 24px;
}

.portfolio-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.14);
}

.faq-list {
  display: grid;
  gap: 14px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--dark-blue);
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.contact-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  margin-top: 24px;
}

.contact-info p { margin: 6px 0; }

.contact-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  font: inherit;
  color: var(--text);
  background: #fbfdff;
}

textarea { resize: vertical; }

.captcha-box {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: #f7fbff;
}

.captcha-error {
  display: none;
  margin: 8px 0 0;
  color: #b42318;
  font-weight: 800;
  font-size: 0.92rem;
}


.footer {
  background: var(--dark-blue);
  color: rgba(255,255,255,0.72);
  text-align: center;
  padding: 42px 20px;
}

.footer img {
  width: 150px;
  display: block;
  margin: 0 auto 18px;
}

@media (max-width: 900px) {
  .nav { width: min(100% - 28px, 1180px); }

  .brand img { height: 58px; }

  .menu-button { display: flex; }

  .nav-links {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: rgba(7, 25, 47, 0.98);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 20px;
    padding: 14px;
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
  }

  .nav-cta {
    color: var(--dark-blue);
    background: var(--white) !important;
    text-align: center;
  }

  .menu-toggle:checked ~ .nav-links { display: flex; }

  .hero,
  .cards.three,
  .split,
  .portfolio-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 28px, 1180px);
    padding: 54px 0 78px;
    gap: 34px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 68px 0;
  }

  .dark-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .hero-copy p { font-size: 1rem; }

  .hero-actions { flex-direction: column; }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-panel {
    padding: 24px;
    border-radius: 26px;
  }

  .hero-panel img { max-width: 250px; }

  .portfolio-image { height: 155px; }
}

@media (max-width: 460px) {
  h1 { font-size: clamp(2.55rem, 14vw, 3.7rem); }

  h2 { font-size: clamp(1.8rem, 9vw, 2.45rem); }

  .eyebrow { font-size: 0.7rem; }

  .card,
  .step,
  .portfolio-card,
  .contact-form,
  details {
    padding: 22px;
    border-radius: 20px;
  }

  input,
  textarea {
    font-size: 16px;
  }
}


/* Animation and contact page additions */
.blueprint-orbit {
  position: absolute;
  inset: 120px 6% auto auto;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(73,168,232,0.28);
  border-radius: 50%;
  animation: slowSpin 18s linear infinite;
  pointer-events: none;
}

.blueprint-orbit::before,
.blueprint-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 28px;
  inset: 38px;
  transform: rotate(45deg);
}

.blueprint-orbit::after {
  inset: 78px;
  border-color: rgba(73,168,232,0.38);
}

.float-card {
  animation: floatCard 5.5s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.card,
.portfolio-card,
.step,
details {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover,
.portfolio-card:hover,
.step:hover,
details:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(7,25,47,0.14);
  border-color: rgba(73,168,232,0.42);
}

.cta-band {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  box-shadow: 0 18px 50px rgba(7, 25, 47, 0.08);
}

.cta-band .btn.primary {
  color: var(--white);
  background: var(--blue);
  width: auto;
  white-space: nowrap;
}

.page-header {
  background:
    radial-gradient(circle at 75% 25%, rgba(73, 168, 232, 0.30), transparent 32%),
    linear-gradient(135deg, var(--dark-blue), var(--navy) 45%, #123d69);
  color: var(--white);
}

.page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 96px;
  max-width: 850px;
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
}

.contact-tips {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  margin-top: 18px;
}

.contact-tips ul {
  padding-left: 20px;
  color: var(--muted);
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blueprint-orbit,
  .float-card {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .blueprint-orbit {
    display: none;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .cta-band .btn.primary {
    width: 100%;
  }

  .page-hero {
    width: min(100% - 28px, 1180px);
    padding: 54px 0 68px;
  }
}


/* Added pricing, CTA, and creative animation styles */
.particle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--bright-blue);
  border-radius: 50%;
  opacity: 0.55;
  box-shadow: 0 0 28px rgba(73,168,232,0.9);
  pointer-events: none;
  animation: drift 8s ease-in-out infinite;
}

.p1 { top: 18%; left: 8%; animation-delay: 0s; }
.p2 { top: 55%; left: 46%; animation-delay: 1.8s; width: 8px; height: 8px; }
.p3 { top: 30%; right: 10%; animation-delay: 3.2s; width: 16px; height: 16px; }

.hero-copy h1 {
  background: linear-gradient(90deg, #ffffff, #9ed8ff, #ffffff);
  background-size: 220% auto;
  -webkit-background-clip: text;
  color: transparent;
  animation: shimmerText 7s linear infinite;
}

.mini-cta,
.dark-cta {
  margin-top: 28px;
  border-radius: 26px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.mini-cta {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(7,25,47,0.08);
}

.dark-cta {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.mini-cta p,
.dark-cta p {
  margin: 0;
  font-weight: 900;
}

.mini-cta .btn,
.dark-cta .btn {
  width: auto;
  white-space: nowrap;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(7,25,47,0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.pricing-card:hover {
  transform: translateY(-8px) rotateX(1deg) rotateY(-1deg);
  box-shadow: 0 28px 70px rgba(7,25,47,0.18);
  border-color: rgba(73,168,232,0.55);
}

.featured-price {
  border: 2px solid var(--bright-blue);
}

.pricing-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.pricing-content {
  padding: 28px;
}

.pricing-content h3 {
  font-size: 3.2rem;
  margin-bottom: 10px;
  color: var(--dark-blue);
}

.pricing-content ul {
  padding-left: 20px;
  color: var(--muted);
  margin-bottom: 24px;
}

.pricing-content li {
  margin-bottom: 8px;
}

select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  font: inherit;
  color: var(--text);
  background: #fbfdff;
}

@keyframes shimmerText {
  to {
    background-position: 220% center;
  }
}

@keyframes drift {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-24px) translateX(18px) scale(1.25);
  }
}

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

  .pricing-image {
    height: 200px;
  }

  .mini-cta,
  .dark-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .mini-cta .btn,
  .dark-cta .btn {
    width: 100%;
  }

  .particle {
    display: none;
  }
}

@media (max-width: 460px) {
  .pricing-content h3 {
    font-size: 2.6rem;
  }

  .pricing-content {
    padding: 22px;
  }
}


/* Separate contact / inquiry / project page additions */
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-option-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(7,25,47,0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.contact-option-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(7,25,47,0.16);
  border-color: rgba(73,168,232,0.55);
}

.contact-option-card .btn {
  margin-top: 12px;
  width: 100%;
  text-align: center;
}

.direct-contact {
  padding-top: 0;
}

.contact-tips a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .contact-options {
    grid-template-columns: 1fr;
  }
}


/* Full-bleed fix for the Our Work dark section */
.dark-section {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: max(20px, calc((100vw - 1180px) / 2)) !important;
  padding-right: max(20px, calc((100vw - 1180px) / 2)) !important;
}

@media (max-width: 900px) {
  .dark-section {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .dark-section .section-heading,
  .dark-section .portfolio-grid {
    width: 100%;
  }
}


.form-status {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.success {
  background: rgba(65, 178, 123, 0.14);
  border: 1px solid rgba(65, 178, 123, 0.35);
  color: #145c38;
}

.form-status.error {
  background: rgba(210, 66, 66, 0.12);
  border: 1px solid rgba(210, 66, 66, 0.35);
  color: #8a1f1f;
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
