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

:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-muted: #0e1424;
  --accent: #1992f6;
  --accent-soft: rgba(25, 146, 246, 0.14);
  --accent-strong: #0b74c9;
  --text: #f9fafb;
  --text-soft: #a0aec0;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.75);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.65);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #122642 0, #050816 45%, #020617 100%);
  color: var(--text);
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section.muted {
  background: radial-gradient(circle at top left, #131a30 0, #050816 65%);
}

.section-heading {
  text-align: left;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: 1.9rem;
  margin: 0 0 0.5rem 0;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.86));
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

/* Main header row */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.header-inner .brand .logo,
.header-inner .logo {
  height: 80px;
  width: auto;
  display: block;
}

.nav a {
  margin: 0 0.9rem;
}

.brand {
    display: flex;
    align-items: center;
}

.brand .logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    max-width: 500px;
}

.brand-mark {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-soft);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  border-radius: 999px;
  transition: width 160ms ease-out;
}

.nav a:hover {
  color: #e5e7eb;
}

.nav a:hover::after {
  width: 18px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, background 120ms ease-out, border-color 120ms ease-out;
}

.btn.small {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: var(--shadow-subtle);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.6);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.btn.full {
  width: 100%;
}

/* Hero */

.hero {
  padding: 4rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 0.5rem 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 0.8rem 0;
}

.hero-sub {
  margin: 0 0 1.5rem 0;
  color: var(--text-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-tags span {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top left, rgba(25, 146, 246, 0.18), rgba(15, 23, 42, 0.9));
  color: #e5e7eb;
}

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

.hero-photo {
  position: relative;
}

.hero-photo-main {
  border-radius: 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top left, rgba(25, 146, 246, 0.25), rgba(15, 23, 42, 0.9));
}

.hero-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.img-placeholder {
  position: relative;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(37, 99, 235, 0.4));
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.img-placeholder.small {
  min-height: 110px;
  border-radius: 1.2rem;
}

.img-placeholder.wide {
  min-height: 160px;
}

.img-placeholder span {
  font-size: 0.8rem;
  color: #e5e7eb;
  opacity: 0.92;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  display: block;
}

.hero-photo-img.small {
  border-radius: 1.2rem; 
}

/* Cards & grids */

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.card.service-card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.card.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.card.service-card p {
  margin: 0 0 0.8rem 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.card.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: #cbd5f5;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.about-grid p {
  color: var(--text-soft);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.pill-list span {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
}

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

.stat {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.1rem;
  background: radial-gradient(circle at top left, rgba(25, 146, 246, 0.15), rgba(15, 23, 42, 0.95));
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Projects */

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow-subtle);
}

.project-body {
  padding: 0.9rem 1rem 1.1rem;
}

.project-body h3 {
  margin: 0 0 0.3rem 0;
  font-size: 0.95rem;
}

.project-body p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Quote form */

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.checklist {
  margin: 1.2rem 0 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.quote-form {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

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

label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

input, textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  padding: 0.55rem 0.7rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(25, 146, 246, 0.6);
}

textarea {
  resize: vertical;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.chip-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.85);
  cursor: pointer;
}

.chip-group input {
  margin: 0;
  width: auto;
  accent-color: var(--accent);
}

.form-note {
  margin: 0.6rem 0 0 0;
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2.5rem;
}

.contact-grid p {
  color: var(--text-soft);
}

.contact-block {
  border-radius: 1.2rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 1rem 1.1rem;
  margin-top: 1.2rem;
  background: rgba(15, 23, 42, 0.9);
}

.contact-block,
.contact-block p,
.contact-block h3,
.contact-block a,
.contact-block a:visited {
  color: #ffffff !important;
}

.contact-card {
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.2rem 1.3rem;
  background: radial-gradient(circle at top left, rgba(25, 146, 246, 0.25), rgba(15, 23, 42, 0.96));
}
/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.98);
  padding: 0.4rem 0 !important;
  margin: 0 !important;
  height: auto;
  min-height: 0;
}

.site-footer .container {
  max-width: 100% !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.site-footer .footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.site-footer .container,
.site-footer .footer-inner {
  padding: 0 !important;
  margin: 0 !important;
}

.site-footer p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3;
}

.site-footer .container,
.site-footer .footer-inner {
  padding: 0 !important;
  margin: 0 !important;
}

.site-footer p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3;
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

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

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

  .about-grid,
  .quote-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.1rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .quote-form {
    padding: 1.3rem 1.1rem;
  }
}
