:root {
  --primary: #1f4f82;
  --primary-light: #2f6fb5;
  --accent: #ffb347;
  --bg: #f5f7fb;
  --text: #1b2736;
  --muted: #6b7280;
  --radius-lg: 18px;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.12);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

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

header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 247, 251, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

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

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.25);
}

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

.brand-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.brand-text span:last-child {
  font-size: 0.75rem;
  color: var(--muted);
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

nav a {
  font-size: 0.92rem;
  color: var(--muted);
  padding-bottom: 0.1rem;
  border-bottom: 2px solid transparent;
}

nav a.active {
  color: var(--primary);
  border-color: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.45);
}

.btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
}

.btn-outline:hover {
  background: #fff;
}

/* HERO */

.hero {
  padding-top: 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
  gap: 2.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.hero-tag span.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin: 0.85rem 0 0.5rem;
}

.hero h1 span.highlight {
  color: var(--primary);
}

.hero p.lead {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
}

.hero-cta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-cta small {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-card {
  background: radial-gradient(circle at top left, #fff, #e5edf9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -60%;
  height: 260px;
  background: radial-gradient(circle at top, rgba(59,130,246,0.35), transparent 60%);
  opacity: 0.7;
}

.hero-tech {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-tech img {
  width: 160px;
  border-radius: 999px;
}

.hero-tech h2 {
  margin: 0;
  font-size: 1.15rem;
}

.hero-tech p {
  margin: 0;
  font-size: 0.86rem;
  text-align: center;
  color: var(--muted);
}

.hero-contact-chips {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.chip {
  font-size: 0.78rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #e5e7eb;
}

.section {
  margin-top: 3.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.section-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.service-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.service-card p {
  margin: 0 0 0.65rem;
  font-size: 0.87rem;
  color: var(--muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.service-tags span {
  font-size: 0.74rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  color: #4b5563;
}

/* Testimonials */

.testimonials {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 1.75rem;
  align-items: center;
}

.testimonials-intro p {
  font-size: 0.92rem;
  color: var(--muted);
}

.testimonial-card {
  background: #fff;
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  font-size: 0.9rem;
}

.testimonial-card + .testimonial-card {
  margin-top: 0.7rem;
}

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

/* Gallery */

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

.gallery-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

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

.gallery-caption {
  padding: 0.8rem 0.9rem 0.9rem;
  font-size: 0.87rem;
  color: var(--muted);
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-layout p {
  font-size: 0.94rem;
  color: var(--muted);
}

.about-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.about-stat {
  background: #fff;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  font-size: 0.85rem;
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.35);
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  margin-top: 0;
}

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

label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4b5563;
  display: block;
  margin-bottom: 0.25rem;
}

input, textarea, select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.3);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-details {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-details a {
  color: var(--primary);
  font-weight: 500;
}

.contact-chip-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-chip span.icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(59,130,246,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--primary);
}

/* Footer */

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.2rem 1.5rem 1.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(226, 232, 240, 0.4);
}

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

/* Responsive */

@media (max-width: 880px) {
  nav ul {
    display: none;
  }
  .hero-inner,
  .testimonials,
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 1.4rem;
  }
  .hero-card {
    order: -1;
    margin-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}