﻿@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=STIX+Two+Text:wght@600;700&display=swap");
:root {
  --brand-red: #b31942;
  --brand-blue: #0a3161;
  --brand-white: #ffffff;
  --brand-offwhite: #f6f9ff;
  --brand-ink: #0f172a;
}

body {
  color: var(--brand-ink);
  background: var(--brand-white);
}

a {
  color: var(--brand-blue);
  text-decoration: none !important;
}

a:hover {
  color: var(--brand-red);
  text-decoration: none !important;
}

.header-sticky {
  background: rgba(246, 249, 255, 0.94) !important;
  border-bottom: 1px solid rgba(10, 49, 97, 0.26) !important;
  box-shadow: 0 10px 24px rgba(8, 29, 60, 0.16);
  backdrop-filter: blur(12px);
}

.header-container {
  gap: 1rem;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  color: transparent !important;
  padding: 0.05rem 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  line-height: 1;
  text-decoration: none !important;
}

.logo-text::before {
  content: none !important;
}

.logo-text::after {
  content: none !important;
}

.logo-text > span {
  display: inline-block;
  font-family: "STIX Two Text", "Noto Sans", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    linear-gradient(90deg, #0a3161 0 31%, transparent 31%),
    repeating-linear-gradient(180deg, #b31942 0 12%, #ffffff 12% 24%),
    repeating-linear-gradient(135deg, rgba(17, 24, 39, 0.18) 0 2px, rgba(255, 255, 255, 0) 2px 8px),
    radial-gradient(circle at 38% 35%, rgba(255, 255, 255, 0.22), transparent 52%),
    linear-gradient(150deg, transparent 0 8%, rgba(255, 255, 255, 0.86) 8% 10%, transparent 10% 16%, rgba(255, 255, 255, 0.7) 16% 18%, transparent 18%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 1.4px rgba(28, 36, 49, 0.58);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16), 0 2px 4px rgba(0, 0, 0, 0.38);
  filter: saturate(0.92) contrast(1.04);
}

.logo-text .accent-text {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.logo-text:hover > span,
.logo-text:focus-visible > span {
  filter: saturate(1) contrast(1.08);
}

.desktop-nav {
  gap: 0.35rem !important;
  display: inline-flex !important;
  align-items: center;
  max-width: min(100%, 760px);
  flex-wrap: nowrap !important;
  overflow-x: auto;
  border-radius: 999px;
  padding: 0.32rem;
  border: 1px solid rgba(10, 49, 97, 0.26);
  background: rgba(10, 49, 97, 0.1);
  backdrop-filter: blur(8px);
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

.desktop-nav a {
  flex: 0 0 auto;
  border-radius: 999px;
  text-decoration: none !important;
}

.nav-link {
  color: rgba(10, 49, 97, 0.92) !important;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  line-height: 1;
  transition: var(--transition);
}

.desktop-nav a:hover .nav-link,
.desktop-nav a.is-active .nav-link {
  color: #ffffff !important;
  background: rgba(179, 25, 66, 0.95);
  box-shadow: 0 8px 18px rgba(179, 25, 66, 0.35);
}

.desktop-nav a:focus-visible .nav-link {
  outline: 2px solid rgba(10, 49, 97, 0.5);
  outline-offset: 2px;
}

.accent-text,
.highlight,
.home-text18 {
  color: var(--brand-red) !important;
  -webkit-text-fill-color: var(--brand-red) !important;
}

.home-thq-text-accent-elm {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-red)) !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary,
.btn-call-sticky,
.footer-button {
  background: var(--brand-red) !important;
  color: var(--brand-white) !important;
  border: 1px solid var(--brand-red) !important;
}

.btn-primary:hover,
.btn-call-sticky:hover,
.footer-button:hover {
  background: #8f1232 !important;
}

.btn-secondary {
  background: var(--brand-blue) !important;
  color: var(--brand-white) !important;
  border: 1px solid var(--brand-blue) !important;
}

.btn-secondary:hover {
  background: #08284f !important;
}

.hero-overlay {
  background: linear-gradient(120deg, rgba(10, 49, 97, 0.82), rgba(179, 25, 66, 0.45)) !important;
}

.hero-gradient-mask {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(246, 249, 255, 0.9) 100%) !important;
}

.footer-dark,
footer {
  background: linear-gradient(120deg, var(--brand-blue), #071d3e) !important;
  color: var(--brand-white);
}

.footer-link,
.home-thq-agency-link-elm,
.copyright,
.agency-credit,
.cta-desc,
.link-list a {
  color: var(--brand-white) !important;
}

.footer-link:hover,
.link-list a:hover,
.home-thq-agency-link-elm a:hover {
  color: #ffccd8 !important;
}

.footer-root,
.footer-root *,
.site-footer,
.site-footer *,
.site-footer a {
  color: #ffffff !important;
}

.footer-root .accent-text,
.site-footer .accent-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.home-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(179, 25, 66, 0.22), transparent 36%),
    radial-gradient(circle at 88% 5%, rgba(10, 49, 97, 0.35), transparent 42%),
    linear-gradient(135deg, #081d3c 0%, #0a3161 45%, #1e2940 100%);
}

.home-page .services-container,
.home-page .quote-container {
  background:
    radial-gradient(circle at 8% 15%, rgba(179, 25, 66, 0.2), transparent 38%),
    linear-gradient(135deg, #071a37 0%, #0a3161 55%, #111c35 100%) !important;
}

.home-page #hero-section,
.home-page #services-section,
.home-page #quote-section,
.home-page .footer-root {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.home-page #hero-section::after,
.home-page #services-section::before,
.home-page #services-section::after,
.home-page #quote-section::before,
.home-page #quote-section::after,
.home-page .footer-root::after {
  left: 0;
  width: 100%;
  content: "";
  z-index: 3;
  height: 120px;
  position: absolute;
  pointer-events: none;
}

.home-page #hero-section::after {
  bottom: 0;
  background: linear-gradient(to bottom, rgba(8, 29, 60, 0), rgba(8, 29, 60, 0.94));
}

.home-page #services-section::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(8, 29, 60, 0.96), rgba(8, 29, 60, 0));
}

.home-page #services-section::after {
  bottom: 0;
  background: linear-gradient(to bottom, rgba(10, 49, 97, 0), rgba(10, 49, 97, 0.92));
}

.home-page #quote-section::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(10, 49, 97, 0.96), rgba(10, 49, 97, 0));
}

.home-page #quote-section::after {
  bottom: 0;
  background: linear-gradient(to bottom, rgba(17, 28, 53, 0), rgba(17, 28, 53, 0.94));
}

.home-page .footer-root::after {
  top: 0;
  background: linear-gradient(to bottom, rgba(17, 28, 53, 0.96), rgba(17, 28, 53, 0));
}

.home-page .sub-heading {
  color: #ffd5e1 !important;
}

.home-page .main-heading,
.home-page .section-description {
  color: #ffffff !important;
}

@keyframes contentRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Generic page layout for Work / Contact / Thanks / 404 */
.site-page {
  margin: 0;
  min-height: 100vh;
  color: var(--text-white);
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(179, 25, 66, 0.22), transparent 36%),
    radial-gradient(circle at 88% 5%, rgba(10, 49, 97, 0.35), transparent 42%),
    linear-gradient(135deg, #081d3c 0%, #0a3161 45%, #1e2940 100%);
}

.site-page a {
  color: inherit;
}

.site-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 2rem 72px;
}

.site-topbar {
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  background: rgba(10, 25, 47, 0.9);
}

.site-brand {
  color: var(--brand-white);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  padding: 0;
  border: 0;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  text-decoration: none;
  transition: var(--transition);
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: #ffd5e1;
  text-shadow: 0 0 14px rgba(179, 25, 66, 0.45);
}

.page-hero {
  padding: 2.25rem;
  border-radius: 14px;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: contentRise 0.45s ease both;
}

.page-hero h1 {
  color: var(--brand-white);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.9rem;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.55;
}

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

.card {
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  transition: var(--transition);
  animation: contentRise 0.55s ease both;
  will-change: transform;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card h2,
.card h3 {
  color: #ffe6ed;
  margin-bottom: 0.6rem;
  font-weight: 800;
}

.card p,
.card li {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.site-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  animation: contentRise 0.6s ease both;
}

.site-cta .site-btn {
  flex: 0 0 auto;
}

.site-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.site-btn.primary {
  color: var(--brand-white);
  background: var(--brand-red);
  border-color: var(--brand-red);
  box-shadow: 0 8px 20px rgba(179, 25, 66, 0.35);
}

.site-btn.primary:hover {
  transform: translateY(-2px);
  background: #8f1232;
  box-shadow: 0 10px 26px rgba(143, 18, 50, 0.45);
}

.site-btn.secondary {
  color: var(--brand-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.site-btn.secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.site-form {
  margin-top: 1.25rem;
  max-width: 760px;
  padding: 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  animation: contentRise 0.55s ease both;
}

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

.site-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.85rem;
}

.site-form input,
.site-form textarea,
.site-form select {
  width: 100%;
  color: #ffffff;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.site-form select option {
  color: #111827;
}

.site-form input::placeholder,
.site-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.site-form input:focus,
.site-form textarea:focus,
.site-form select:focus {
  outline: none;
  border-color: #ffd5e1;
  box-shadow: 0 0 0 3px rgba(179, 25, 66, 0.22);
}

.site-form textarea {
  min-height: 140px;
  resize: vertical;
}

.site-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: var(--brand-white);
  border: 1px solid var(--brand-red);
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.site-form button:hover {
  transform: translateY(-2px);
  background: #8f1232;
}

.hidden-field {
  display: none;
}

.contact-methods > a,
.contact-methods > div {
  width: 100%;
  display: block;
}

.contact-card {
  width: 100%;
  min-height: 86px;
}

.contact-card:hover {
  transform: translateY(-2px) !important;
}

.card-text {
  min-width: 0;
}

.card-text .value {
  line-height: 1.35;
  word-break: break-word;
}

.site-footer {
  margin-top: 2.25rem;
  padding-top: 1rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  animation: contentRise 0.65s ease both;
}

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

.site-footer a:hover {
  opacity: 0.9;
}

.footer-contact-btn {
  margin-left: auto;
}

@media (max-width: 991px) {
  .header-container {
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .desktop-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap !important;
  }

  .header-actions {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .site-shell {
    padding: 122px 1rem 54px;
  }

  .page-grid,
  .site-form .row {
    grid-template-columns: 1fr;
  }

  .site-topbar {
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
  }

  .site-brand {
    font-size: 1.15rem;
  }

  .site-nav {
    gap: 0.85rem;
  }

  .desktop-nav {
    padding: 0.25rem;
    gap: 0.2rem !important;
  }

  .nav-link {
    padding: 0.4rem 0.72rem;
    font-size: 0.82rem;
  }

  .btn-call-sticky {
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-contact-btn {
    margin-left: 0;
  }
}


.site-call-btn {
  gap: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  color: var(--brand-white);
  background: var(--brand-red);
  border: 1px solid var(--brand-red);
  box-shadow: 0 8px 20px rgba(179, 25, 66, 0.32);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.site-call-btn:hover {
  transform: translateY(-2px);
  background: #8f1232;
}

@media (max-width: 820px) {
  .site-call-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }
}

/* Upgraded subpage section styles */
.section-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd5e1;
  background: rgba(179, 25, 66, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 0 1.2rem;
}

.metric-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.metric-num {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 900;
  color: #ffe4ec;
}

.metric-label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.split-panels {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  margin-top: 1.1rem;
}

.glass-panel {
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.glass-panel h2 {
  color: #ffe4ec;
  margin-bottom: 0.7rem;
}

.glass-panel p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.mini-list {
  margin: 0;
  padding-left: 1.15rem;
}

.mini-list li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.45rem;
}

.project-grid .card {
  min-height: 170px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.process-step {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.process-step span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #ffffff;
  background: rgba(179, 25, 66, 0.9);
}

.process-step h3 {
  color: #ffe4ec;
  margin: 0 0 0.45rem;
}

.process-step p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.review-stat {
  padding: 1rem;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.review-stat .metric-num,
.review-stat .metric-label {
  display: block;
}

.review-stat .metric-label {
  margin-top: 0.35rem;
}

.quote-panel {
  margin-top: 1.15rem;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.quote-panel h2 {
  color: #ffe4ec;
  margin-bottom: 0.35rem;
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.87);
}

.contact-chip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 0 1.2rem;
}

.contact-chip {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
}

.contact-chip strong {
  color: #ffe4ec;
}

.site-page .contact-quote {
  padding: 50px 0 10px;
  background: transparent !important;
}

.site-page .contact-quote .quote-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1100px) {
  .metric-row,
  .review-stats,
  .contact-chip-row,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .metric-row,
  .review-stats,
  .contact-chip-row,
  .process-grid {
    grid-template-columns: 1fr;
  }
}
