/* RESET & GLOBAL */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #111827;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* HEADER & NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.98);
  color: #f9fafb;
  backdrop-filter: blur(6px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  height: 40px;
  width: auto;
}

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

.logo-main {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.logo-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.main-nav a:hover {
  background: #e5e7eb;
  color: #111827;
}

/* HERO */
.hero {
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #f9fafb;
  padding: 4rem 1.5rem 3.5rem;
}

.hero-content {
  display: grid;
  gap: 2.5rem;
  align-items: flex-start;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin: 0 0 1rem;
}

.hero-text p {
  max-width: 34rem;
  opacity: 0.9;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-card {
  background: #020617;
  border-radius: 1.2rem;
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.hero-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.hero-card p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
}

.hero-list li + li {
  margin-top: 0.25rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.06s ease;
}

.btn.primary {
  background: #f97316;
  border-color: #ea580c;
  color: #111827;
}

.btn.primary:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

.btn.outline {
  background: transparent;
  border-color: #e5e7eb;
  color: #f9fafb;
}

.section-alt .btn.outline {
  color: #111827;
}

.btn.outline:hover {
  background: #e5e7eb;
}

.btn.full {
  width: 100%;
}

/* SECTIONS */
.section {
  padding: 3.5rem 1.5rem;
  background: #f9fafb;
}

.section-alt {
  background: #ffffff;
}

.section h2 {
  font-size: 1.7rem;
  margin: 0 0 0.75rem;
}

.section-intro {
  max-width: 40rem;
  font-size: 0.95rem;
  color: #4b5563;
}

/* LAYOUT HELPERS */
.split {
  display: grid;
  gap: 2rem;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* CARDS */
.card,
.form-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.section-alt .card {
  background: #f9fafb;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.92rem;
  color: #4b5563;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  font-size: 0.9rem;
}

.card-list li + li {
  margin-top: 0.2rem;
}

.price {
  margin-top: 0.75rem;
  font-size: 0.94rem;
  font-weight: 600;
}

/* ABOUT HIGHLIGHT */
.about-highlight {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1.1rem;
  padding: 1.5rem;
}

.about-highlight h3 {
  margin-top: 0;
}

.about-highlight p {
  font-size: 0.9rem;
}

/* FORMS */
.form-row {
  display: grid;
  gap: 1rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.9rem;
  background: #f9fafb;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.4);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

/* CONTACT */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.contact-list li + li {
  margin-top: 0.3rem;
}

/* UTILITY */
.note {
  font-size: 0.8rem;
  color: #6b7280;
}

.note.small {
  font-size: 0.78rem;
}

.cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* FOOTER */
.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 1.5rem 1.5rem 2rem;
  font-size: 0.8rem;
}

.footer-inner {
  text-align: center;
}

.footer-subtext {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

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

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

  .cards-grid:nth-of-type(1) .card {
    /* first services grid becomes 3 on desktop if space allows */
  }

  .cards-grid:nth-of-type(1) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 767px) {
  .main-nav {
    display: none; /* simple approach: hide nav on small screens, rely on scrolling */
  }

  .hero {
    padding-top: 3.2rem;
  }
}
