
:root {
  --bg: #020617;
  --bg-alt: #020617;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --text: #f9fafb;
  --muted: #9ca3af;
  --card: #020617;
  --border: rgba(148, 163, 184, 0.35);
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background:
    radial-gradient(circle at top, #0b1120 0, #020617 55%),
    url("assets/hero.jpg") no-repeat top center/cover;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header / nav */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.96), rgba(15,23,42,0.6));
  border-bottom: 1px solid rgba(148,163,184,0.25);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(15,23,42,0.9);
}

.logo span {
  font-size: 0.98rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav-links a:hover {
  background: rgba(15,23,42,0.9);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-call {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.6);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0b1120;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-call span:first-child {
  font-size: 1.05rem;
}

.btn-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.7);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
  padding-top: 2.4rem;
}

.hero-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-kicker::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: 0.7rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #e5f5ff, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
  font-size: 0.8rem;
}

.hero-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.94);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1rem;
}

.btn-secondary {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.92);
  color: var(--muted);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: rgba(148,163,184,0.7);
  color: var(--text);
  transform: translateY(-1px);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-note strong {
  color: var(--accent);
}

/* Hero right card */
.hero-right {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.18), rgba(15,23,42,0.98));
  border-radius: 26px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-size: 0.96rem;
  font-weight: 600;
}

.hero-card-chip {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.22);
  color: #bbf7d0;
  border: 1px solid rgba(22, 163, 74, 0.7);
}

.hero-temp-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-temp-col strong {
  display: block;
  font-size: 1.35rem;
  color: #e0f2fe;
}

.hero-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.hero-progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  overflow: hidden;
}

.hero-progress-fill {
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 18px rgba(56,189,248,0.8);
}

.hero-card-footer {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-card-footer strong {
  color: #e5f5ff;
}

.hero-floating-pill {
  position: absolute;
  top: 10px;
  right: -10px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.7);
  font-size: 0.74rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Section base */
section {
  padding-top: 3.2rem;
}

.section-header {
  margin-bottom: 1.25rem;
}

.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 34rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: var(--radius-lg);
  background: rgba(15,23,42,0.96);
  border: 1px solid var(--border);
  padding: 1.1rem;
  box-shadow: 0 14px 30px rgba(15,23,42,0.9);
}

.card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.95);
  color: var(--muted);
}

/* Projects */
.projects {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.project-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.project-item {
  padding: 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.96);
  font-size: 0.86rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.project-title-row h3 {
  font-size: 0.96rem;
}

.project-stat {
  font-size: 0.78rem;
  color: #bbf7d0;
}

.project-notes {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.projects-highlight-card {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, rgba(56,189,248,0.12), rgba(15,23,42,0.98));
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.6rem;
}

.testimonial {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.97);
  padding: 1rem;
  font-size: 0.84rem;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: -28px;
  right: 10px;
  font-size: 5rem;
  color: rgba(148,163,184,0.08);
}

.testimonial-body {
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.85rem;
}

.testimonial-meta {
  font-size: 0.76rem;
  color: var(--muted);
}

.stars {
  font-size: 0.78rem;
  color: #fde68a;
  margin-bottom: 0.25rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.6rem;
}

.contact-panel {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.98);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.contact-panel h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-panel p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  font-size: 0.8rem;
}

.form-field label {
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 0.55rem 0.6rem;
  background: rgba(15,23,42,0.98);
  color: var(--text);
  font: inherit;
  resize: vertical;
  min-height: 38px;
}

.form-field textarea {
  min-height: 90px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.7);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 0.1rem;
}

.sms-disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(15,23,42,0.96);
  border-radius: 12px;
  border: 1px dashed rgba(148,163,184,0.8);
  padding: 0.6rem 0.7rem;
  margin-top: 0.25rem;
}

.sms-disclaimer strong {
  color: var(--accent);
}

.contact-actions {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.contact-actions span {
  font-size: 0.78rem;
  color: var(--muted);
}

.contact-side {
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-list strong {
  color: var(--text);
  font-size: 0.85rem;
}

.contact-highlight {
  margin-top: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(34,197,94,0.6);
  background: rgba(22,163,74,0.18);
  font-size: 0.8rem;
  color: #bbf7d0;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 1.5rem 1.25rem 2.2rem;
  border-top: 1px solid rgba(148,163,184,0.35);
  background: radial-gradient(circle at top, rgba(15,23,42,0.94), #020617 65%);
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

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

.footer-links a:hover {
  color: var(--accent);
}

.footer-sms {
  max-width: 380px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero,
  .projects,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 2rem;
  }
  .hero-right {
    order: -1;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .wrapper {
    padding-inline: 1rem;
  }
  .services-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    border-radius: 18px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
