/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */

:root {
  /* Color Palette */
  --text: #edf8ff;
  --muted: #bdd7e6;
  --primary: #57d2ff;
  --primary-soft: #a8ebff;

  /* Layout */
  --radius-lg: 22px;
  --max-width: 1180px;
  --nav-height: 76px;
}

/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(87, 210, 255, 0.16), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(49, 122, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #0a1a33 0%, #081325 42%, #060f1f 100%);
  line-height: 1.6;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

a {
  color: inherit;
}

.inline-link {
  color: var(--primary-soft);
  text-decoration: underline;
  text-decoration-color: rgba(168, 235, 255, 0.4);
  text-underline-offset: 0.16em;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--text);
  text-decoration-color: rgba(87, 210, 255, 0.7);
}

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

.skip-link,
.sr-only {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  background: white;
  color: black;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(5, 13, 26, 0.62);
  border-bottom: 1px solid rgba(157, 213, 255, 0.12);
}

.nav-shell {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand/Logo Section */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(42, 178, 255, 0.22));
}

/* Navigation Menu */
.site-nav {
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-menu a {
  position: relative;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover {
  color: var(--text);
  background: rgba(133, 208, 255, 0.08);
}

.nav-menu a.active {
  color: var(--text);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary));
  box-shadow: 0 0 16px rgba(87, 210, 255, 0.5);
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  border: 1px solid rgba(157, 213, 255, 0.18);
  background: rgba(7, 18, 35, 0.88);
  border-radius: 12px;
  padding: 0.65rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(540px, 84vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-image-layer {
  position: absolute;
  inset: 0;
  background: url("../images/hero-seattle.jpg") center 38% / cover no-repeat;
  transform: scale(1.01);
  filter: saturate(1.08) contrast(1.04) brightness(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 24, 0.12) 0%, rgba(5, 14, 27, 0.08) 34%, rgba(7, 19, 37, 0.12) 64%, rgba(7, 18, 34, 0.32) 100%),
    linear-gradient(180deg, rgba(3, 10, 20, 0.08), rgba(3, 10, 20, 0.32));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  justify-items: center;
  min-height: clamp(440px, 70vh, 660px);
  padding: 1rem 0 2.5rem;
}

.hero-copy {
  max-width: 900px;
  text-align: center;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border-radius: 28px;
  background: transparent;
  /*
  Optional subtle separation:
  background: rgba(8, 18, 38, 0.08);
  */
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--primary-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.hero h1 {
  margin: 0 auto;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 22ch;
  text-wrap: balance;
}

.hero-text {
  margin: 1rem auto 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.55;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

.hero-band {
  position: relative;
  z-index: 1;
  padding: 0 0 1rem;
}

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

.mini-stat {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(10, 24, 44, 0.55);
  border: 1px solid rgba(177, 228, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.mini-stat strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.95rem;
}


/* ============================================
   MAIN CONTENT SECTIONS
   ============================================ */

.section {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(7, 18, 35, 0.38);
  border-top: 1px solid rgba(177, 228, 255, 0.08);
  border-bottom: 1px solid rgba(177, 228, 255, 0.08);
}

/* Distinct section themes for better visual separation */
#services {
  background: linear-gradient(180deg, rgba(2, 26, 48, 0.96), rgba(16, 41, 68, 0.94));
}

#about {
  background: linear-gradient(180deg, rgba(168, 235, 255, 0.15), rgba(87, 210, 255, 0.08));
}

#reviews {
  background: linear-gradient(180deg, rgba(2, 16, 34, 0.96), rgba(4, 21, 42, 0.94));
}

#contact {
  background: linear-gradient(180deg, rgba(168, 235, 255, 0.15), rgba(87, 210, 255, 0.08));
}

.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(100% - 2rem, var(--max-width));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(170, 228, 255, 0.12), transparent);
}

.section-heading {
  max-width: 740px;
  margin: -0.5rem auto 2rem;
  text-align: center;
}

.section-heading-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading .eyebrow {
  font-size: clamp(0.95rem, 1.7vw, 1.2rem);
  font-weight: 700;
  margin: 0;
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 1rem 0 0;
}

.services-extra {
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding: 1rem 1rem 0.6rem;
  background: rgba(9, 22, 44, 0.44);
  border: 1px solid rgba(170, 225, 255, 0.2);
  border-radius: var(--radius-lg);
  font-size: clamp(0.96rem, 1.2vw, 1.05rem);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.services-extra-icon {
  margin-top: 0;
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-extra p {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.2vw, 1.05rem);
}

/* ============================================
   COMPONENT STYLES
   ============================================ */

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
  color: #032033;
  background: linear-gradient(135deg, var(--primary-soft), var(--primary));
  box-shadow: 0 12px 30px rgba(63, 190, 255, 0.24);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(170, 228, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

/* Content Layouts */
.services-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.15rem;
  align-items: start;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(13, 29, 53, 0.88), rgba(8, 19, 37, 0.92));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(177, 228, 255, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.service-item h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.3rem;
  align-items: start;
}

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

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 1.5rem;
  align-items: start;
}

/* Cards and Panels */
.services-panel,
.testimonial-card,
.contact-card,
.feature-block,
.policy-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13, 29, 53, 0.88), rgba(8, 19, 37, 0.92));
  border: 1px solid rgba(177, 228, 255, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

/* Stronger section color contrast for About/Reviews/Contact */
#services { background: linear-gradient(180deg, rgba(4, 16, 31, 0.95), rgba(7, 20, 37, 0.95)); }
#about    { background: linear-gradient(180deg, rgba(168, 235, 255, 0.15), rgba(87, 210, 255, 0.08)); }
#reviews  { background: linear-gradient(180deg, rgba(8, 24, 44, 0.96), rgba(4, 13, 28, 0.96)); }
#contact  { background: linear-gradient(180deg, rgba(168, 235, 255, 0.15), rgba(87, 210, 255, 0.08)); }

/* Distinct border between sections */
.section + .section {
  border-top: 1px solid rgba(176, 221, 254, 0.18);
}



.services-panel {
  padding: 1.4rem;
}

.services-panel h3,
.feature-block h3 {
  margin: 0 0 0.8rem;
  font-size: 1.12rem;
}

.services-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.services-list li + li {
  margin-top: 0.7rem;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-block {
  padding: 1.25rem;
}

.feature-block p {
  margin: 0;
}

.testimonial-card {
  margin: 0;
  padding: 1.4rem;
}

.testimonial-card p {
  margin: 0;
}

.testimonial-card footer {
  margin-top: 1rem;
  color: var(--primary-soft);
  font-weight: 600;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.1rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(170, 228, 255, 0.18);
}

.contact-chip:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-side-link {
  color: var(--muted);
  margin: 0;
}

.contact-card {
  padding: 1.35rem;
}

.policy-shell {
  max-width: 900px;
}

.policy-card {
  padding: 1.6rem;
}

.policy-card h2 {
  margin: 1.4rem 0 0.45rem;
  font-size: 1.2rem;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

.field-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 600;
  color: var(--text);
}

.required {
  color: var(--primary);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(170, 228, 255, 0.15);
  background: rgba(3, 14, 28, 0.66);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #93b3c8;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(87, 210, 255, 0.45);
  outline-offset: 1px;
}

input:invalid,
textarea:invalid {
  border-color: rgba(255, 100, 100, 0.3);
}

.error-message {
  color: #ff6464;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.visible {
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: 1.1rem 0 2rem;
  border-top: 1px solid rgba(177, 228, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.footer-inner p,
.footer-inner a {
  margin: 0;
  color: var(--muted);
  text-decoration: none;
}

.footer-center-link {
  justify-self: center;
}

.footer-right-link {
  justify-self: end;
}

.footer-inner a:hover {
  color: var(--text);
}

/* ============================================
   SHARED TEXT COLORS
   ============================================ */

.hero-text,
.section-heading p,
.split-copy p,
.feature-block p,
.testimonial-card p,
.contact-copy p,
.policy-card p {
  color: var(--muted);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.nav-menu-static {
  display: flex !important;
}



/* === About section headshot layout === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.about-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About image full display */
.about-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet and smaller desktop adjustments */
@media (max-width: 1024px) {
  .services-shell,
  .split-layout,
  .contact-shell,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

/* Mobile styles */
@media (max-width: 760px) {
.about-content {
  grid-template-columns: 1fr;
}

/* About image full display */
.about-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

  :root {
    --nav-height: 72px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.65rem);
    min-width: 240px;
    padding: 0.7rem;
    border-radius: 18px;
    border: 1px solid rgba(170, 228, 255, 0.15);
    background: rgba(6, 15, 30, 0.96);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    border-radius: 12px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-inner {
    justify-items: center;
    min-height: 400px;
    padding-top: 1.5rem;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
    margin-right: 0;
    padding-inline: 0.25rem;
  }

  .hero h1 {
    max-width: 20ch;
    font-size: clamp(1.9rem, 8vw, 2.9rem);
    margin: 0 auto;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
    max-width: 30ch;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-item {
    min-width: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-center-link,
  .footer-right-link {
    justify-self: start;
  }
}

/* Desktop enhancements */
@media (min-width: 1025px) {
  :root {
    --nav-height: 76px;
  }

  .brand {
    font-size: 1.44rem;
    gap: 1.2rem;
  }

  .brand img {
    width: 100px;
    height: 100px;
    transition: width 0.3s ease, height 0.3s ease;
  }

  .nav-menu a {
    font-size: 1.125rem;
  }

  .site-header.shrunk .brand img {
    width: 80px;
    height: 80px;
  }

  .site-header.shrunk .brand {
    font-size: 1.152rem;
  }
}


/* === Extracted SVG icon files === */
.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.9;
  flex-shrink: 0;
}

.services-extra-icon-image {
  width: 64px;
  height: 64px;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; }
}
