/* === Theme & Base === */
:root {
  --base-900: #0b1220;
  --base-800: #121a2c;
  --base-700: #1b2540;
  --base-600: #223055;
  --brand-400: #D8B054;
  --brand-500: #E8C979;
  --brand-600: #b28B3F;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.8);
  --text-faint: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --ring: rgba(255, 255, 255, 0.1);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
  --radius: 14px;
  --radius-lg: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1b2540 0, #0b1220 55%, #050816 100%);
  color: var(--text);
  line-height: 1.6;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout helpers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Headings */
h1,
h2,
h3 {
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.8rem;
}

/* === Header / Navigation === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, var(--brand-500), var(--brand-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #111827;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dim);
}

.main-nav a:hover {
  color: var(--brand-400);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--brand-500);
  color: #111827;
  background: var(--brand-500);
  box-shadow: var(--shadow-soft);
}

.nav-cta:hover {
  background: var(--brand-600);
  color: #050816;
}

/* Stack nav on small screens */
@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* === Hero === */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.6;
  z-index: -1;
}

.hero-bg-1 {
  width: 20rem;
  height: 20rem;
  top: -6rem;
  left: -6rem;
  background: rgba(243, 156, 18, 0.3);
}

.hero-bg-2 {
  width: 20rem;
  height: 20rem;
  right: -5rem;
  bottom: -6rem;
  background: rgba(49, 130, 206, 0.25);
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.hero-content h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 800;
}

.hero-content .accent {
  display: block;
  color: var(--brand-500);
}

.hero-lead {
  margin-top: 0.8rem;
  max-width: 34rem;
  color: var(--text-dim);
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-checklist {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
  max-width: 24rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.hero-checklist li::before {
  content: "✔ ";
  color: #6ee7b7;
}

/* Hero media */
.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media-box {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(17, 24, 39, 1));
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.1rem;
}

.hero-media-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}

.hero-media-body {
  border-radius: var(--radius);
  background: radial-gradient(circle at top, #1e293b, #020617);
  padding: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.hero-media-body video {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--brand-500);
  color: #111827;
  border-color: var(--brand-500);
  box-shadow: var(--shadow-soft);
}

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

.btn-outline {
  background: transparent;
  border-color: var(--ring);
  color: var(--text-dim);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
}

.full-width {
  width: 100%;
}

/* === Sections === */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: rgba(15, 23, 42, 0.75);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-intro {
  margin-top: 0.3rem;
  margin-bottom: 1.5rem;
  max-width: 38rem;
  font-size: 0.96rem;
  color: var(--text-dim);
}

.small {
  font-size: 0.85rem;
}

/* === Cards / Grids === */
.card-grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  padding: 1.2rem 1.3rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.card ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0;
}

/* Industries pills */
.pill-grid {
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 640px) {
  .pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .pill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pill {
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.95);
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Work grid */
.section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
}

.section-link a {
  font-size: 0.9rem;
  color: var(--brand-400);
}

.work-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 720px) {
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.work-item {
  margin: 0;
}

.work-thumb {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #1f2937, #020617);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-faint);
}

/* Ensure images/videos fit inside the work-thumb box */
.work-thumb img,
.work-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.work-item figcaption {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pricing-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.95);
  padding: 1.3rem 1.4rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pricing-card-featured {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-soft);
}

.pricing-card h3 {
  font-size: 1.05rem;
}

.pricing-price {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0.4rem 0;
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-faint);
}

.pricing-card ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0.8rem;
}

.pricing-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* About */
.about-grid {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.about-list {
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* Forms (Quote) */
.quote-form {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 720px) {
  .form-row {
    flex-direction: row;
  }
}

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

label {
  font-size: 0.85rem;
  color: var(--text-faint);
}

input,
select,
textarea {
  border-radius: 10px;
  border: 1px solid var(--ring);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
}

textarea {
  resize: vertical;
}

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.98);
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--text-faint);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 0.8rem;
}

.footer-name {
  font-weight: 600;
}

.footer-meta {
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.footer-links a {
  text-decoration: none;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding: 0.6rem 0 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}

/* Footer responsive */
@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
