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

html {
  scroll-behavior: smooth;
}

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

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

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

/* HEADER */

header {
  background: #0b1624;
  color: #fff;
  padding: 8px 14px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-wrap img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav-links a {
  opacity: 0.9;
}

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

/* LAYOUT */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 14px 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 18px;
  background: radial-gradient(circle at top left, #1d4ed8 0, #0f172a 55%);
  color: #e5e7eb;
  border-radius: 20px;
  margin-top: 18px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.4);
}

.hero h1 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.hero p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.badge {
  background: rgba(15, 23, 42, 0.72);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11px;
  border: 1px solid rgba(96, 165, 250, 0.6);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.14s ease, transform 0.12s ease, box-shadow 0.14s ease;
}

.btn-primary {
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.5);
}

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

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(209, 213, 219, 0.7);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.45);
}

.hero-img-wrapper {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  max-height: 320px;
}

.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTIONS */

.section {
  margin-top: 32px;
  padding: 20px 18px 22px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.section p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
}

/* SERVICES GRID */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.service-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 14px 14px 16px;
  background: linear-gradient(145deg, #f9fafb 0, #ffffff 40%, #eef2ff 100%);
}

.service-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.service-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.badge-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e0ecff;
  font-size: 11px;
  color: #1e3a8a;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #020617;
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* QUOTE SECTION */

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 22px;
}

.quote-text p {
  font-size: 14px;
}

.form-card {
  background: #020617;
  color: #e5e7eb;
  border-radius: 16px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.form-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.form-row {
  margin-bottom: 10px;
}

.form-row label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  opacity: 0.92;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  font-size: 13px;
  font-family: inherit;
  background: #020617;
  color: #e5e7eb;
}

.form-row textarea {
  min-height: 80px;
  resize: vertical;
}

.form-row input[type="file"] {
  padding: 5px;
  background: #020617;
}

.form-helper {
  font-size: 11px;
  opacity: 0.78;
  margin-top: 4px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* TWO COLUMN TEXT */

.columns-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

/* TAG PILLS */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pills span {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* FOOTER */

.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 16px 30px;
  font-size: 12px;
  color: #6b7280;
}

.footer strong {
  font-weight: 600;
}

.footer a {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 16px 20px;
  }

  .hero-img-wrapper {
    max-height: 260px;
    order: -1;
  }
}

@media (max-width: 720px) {
  header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    font-size: 13px;
  }

  main {
    padding: 18px 12px 30px;
  }

  .hero {
    margin-top: 14px;
    border-radius: 16px;
  }

  .hero h1 {
    font-size: 23px;
  }

  .section {
    padding: 16px 14px 18px;
    border-radius: 14px;
  }

  .gallery-item img {
    height: 140px;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
