:root {
  --bg-main: #050608;
  --bg-elevated: #0c0f14;
  --border-grey: rgba(180, 180, 180, 0.25);
  --border-blue: rgba(0, 140, 255, 0.7);
  --text-main: #f4f4f4;
  --text-soft: #b0b5c3;
  --accent-blue: #008cff;
  --accent-blue-soft: rgba(0, 140, 255, 0.2);
  --accent-blue-glow: 0 0 20px rgba(0, 140, 255, 0.6);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.75);
  --radius-lg: 18px;
  --radius-full: 999px;
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #050608 45%, #000000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  position: relative;
}

/* Layout */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header.align-left {
  text-align: left;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
}

/* Header & Nav */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.96),
    rgba(5, 6, 8, 0.65),
    transparent
  );
  border-bottom: 1px solid rgba(120, 130, 150, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
  background: radial-gradient(
    circle at 30% 0,
    rgba(0, 140, 255, 0.45),
    rgba(5, 6, 8, 1)
  );
  box-shadow: var(--accent-blue-glow);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
}

.nav a {
  position: relative;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.73rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--border-grey), var(--border-blue));
  transition: width var(--transition-fast);
}

.nav a:hover {
  color: #e5e7eb;
}

.nav a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
}

/* Hero */

.hero {
  padding-top: 5.5rem;
}

/* top CTA buttons above logo */
.hero-top-cta {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.top-btn {
  font-size: 0.78rem;
  padding-inline: 1.1rem;
}

/* big logo above hero card */

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: -3rem;
  position: relative;
  z-index: 3;
}

.hero-logo {
  width: 360px;
  max-width: 65%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(0, 140, 255, 0.8));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(0, 140, 255, 0.08),
    rgba(12, 15, 20, 0.9)
  );
  padding-top: 3.5rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.accent-text {
  color: var(--accent-blue);
  text-shadow: var(--accent-blue-glow);
}

.hero-content p {
  color: var(--text-soft);
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0 1.25rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span {
  border-radius: var(--radius-full);
  border: 1px solid var(--border-grey);
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.7);
}

.hero-highlight {
  border-left: 1px solid var(--border-blue);
  padding-left: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-box {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-grey);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-soft);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.stat-note {
  font-size: 0.74rem;
  color: var(--text-soft);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent-blue), #38bdf8);
  color: #020617;
  box-shadow: var(--accent-blue-glow);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.8);
}

.ghost-btn {
  border-color: var(--border-grey);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.8);
}

.ghost-btn:hover {
  border-color: var(--border-blue);
  background: rgba(15, 23, 42, 0.98);
}

.full-width {
  width: 100%;
}

/* Bordered cards */

.bordered-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-grey);
  background: radial-gradient(
    circle at top left,
    rgba(0, 140, 255, 0.1),
    rgba(12, 15, 20, 0.98)
  );
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.bordered-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, var(--border-blue), transparent, var(--border-grey))
    border-box;
  mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.3;
  pointer-events: none; /* don't block clicks */
  z-index: -1;
}

/* SERVICES */

.services-section {
  overflow: hidden;
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.service-card ul li {
  font-size: 0.9rem;
  color: #e5e7eb;
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-blue), var(--border-grey));
}

/* wide misc card spans whole row on desktop */
.service-card-wide {
  grid-column: span 2;
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  column-gap: 2rem;
}

.tiny-note {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-top: 0.75rem;
}

/* PHOTO BAND between hero and services */

.section-photo-band {
  padding: 2rem 0 1.5rem;
}

.photo-band-inner {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.photo-band-img {
  display: block;
  margin: 0 auto;
  width: min(900px, 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  opacity: 0.95;
  filter: brightness(0.93) saturate(1.05);
  object-fit: cover;
}

/* Why section */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.why-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem 1.8rem;
}

.why-item h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.why-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Info strip */

.section-muted {
  background: radial-gradient(circle at bottom, rgba(15, 23, 42, 0.9), #020617);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-block h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.info-block p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2rem;
  align-items: center;
}

.about-photo-wrap {
  max-width: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-blue);
  box-shadow: var(--accent-blue-glow);
}

.about-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-content p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

/* Contact / quote */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-highlights {
  list-style: none;
  padding-left: 0;
  margin-top: 1.25rem;
}

.contact-highlights li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.contact-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-blue), var(--border-grey));
}

.direct-contact {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.direct-contact a {
  color: var(--accent-blue);
  font-weight: 500;
}

.quote-form {
  background: radial-gradient(
    circle at top left,
    rgba(0, 140, 255, 0.08),
    rgba(5, 6, 8, 0.98)
  );
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-soft);
}

input,
textarea,
select {
  border-radius: 12px;
  border: 1px solid var(--border-grey);
  padding: 0.55rem 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition:
    border-color var(--transition-med),
    box-shadow var(--transition-med),
    background var(--transition-med);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--border-blue);
  box-shadow: var(--accent-blue-glow);
  background: rgba(15, 23, 42, 1);
}

.field-note {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.form-note {
  font-size: 0.76rem;
  color: var(--text-soft);
  margin-top: 0.75rem;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(120, 130, 150, 0.35);
  padding: 1.8rem 0 2.5rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.7), #020617);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0.2rem 0;
}

.footer-sub {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Responsiveness */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-highlight {
    border-left: none;
    border-top: 1px solid var(--border-blue);
    padding-left: 0;
    padding-top: 1.75rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-wide {
    grid-column: span 2;
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-top-cta {
    justify-content: center;
  }

  .hero-logo-wrapper {
    margin-bottom: -2rem;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3.5rem 0;
  }

  .header-inner {
    padding: 0.65rem 0;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(5, 6, 8, 0.98);
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.1rem;
    border-bottom: 1px solid rgba(120, 130, 150, 0.4);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--transition-med),
      opacity var(--transition-med);
  }

  .nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    padding: 1.5rem;
  }

  .bordered-card {
    padding: 1.5rem;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card-wide {
    grid-column: span 1;
  }

  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
}
