:root {
  --bg: #f5f8ff;
  --white: #fff;
  --primary: #3d7bf2;
  --primary-dark: #2a5ecc;
  --secondary: #e2efff;
  --text: #1f2b3d;
  --muted: #5c6b80;
  --radius: 20px;
  --radius-lg: 34px;
  --shadow: 0 20px 60px rgba(39, 91, 191, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1200px, 90vw);
  margin-inline: auto;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 15px 30px rgba(61, 123, 242, 0.3);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(20, 45, 90, 0.08);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}

.logo span {
  color: var(--primary);
}

.header-cta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-weight: 500;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  border: none;
  background: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.hero {
  min-height: 85vh;
  position: relative;
}

.hero-slider {
  width: 100%;
  min-height: inherit;
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: inherit;
  background-image: var(--image);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25));
}

.hero-overlay {
  position: relative;
  color: #fff;
  padding: 5rem 0;
  width: min(600px, 90%);
  margin-left: 5vw;
}

.hero-overlay h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  margin-bottom: 1rem;
}

.hero-overlay .tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-badges span {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.section {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.why-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: rgba(61, 123, 242, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.why-gallery {
  position: relative;
  min-height: 340px;
}

.gallery-main,
.gallery-secondary {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-secondary {
  position: absolute;
  width: 55%;
  height: 55%;
  bottom: -20px;
  right: -10px;
  border: 6px solid #fff;
}

.gallery-badge {
  position: absolute;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--primary);
}

.gallery-badge:first-of-type {
  top: 15px;
  left: 15px;
}

.gallery-badge:last-of-type {
  bottom: 15px;
  left: 15px;
}

.why-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.why-metrics strong {
  font-size: 1.4rem;
}

.why-right {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.why-right article {
  display: flex;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--secondary);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.why-chip {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.2rem;
  display: inline-block;
}

.process {
  background: #fff;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.step {
  background: #f0f5ff;
  padding: 1.5rem;
  border-radius: var(--radius);
  position: relative;
}

.step-number {
  position: absolute;
  top: -12px;
  right: 1.2rem;
  font-weight: 700;
  color: rgba(31, 43, 61, 0.3);
  font-size: 2rem;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(15, 40, 75, 0.1);
  margin-bottom: 1rem;
}

.step-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}

.services {
  background: #f1f6ff;
}

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

.service-glass {
  position: relative;
  border-radius: 32px;
  min-height: 320px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-glass-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.75);
}

.service-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.8) 100%);
}

.service-glass-body {
  position: relative;
  z-index: 1;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  gap: 0.7rem;
}

.testimonials {
  background: linear-gradient(120deg, #eff5ff, #fdfdff);
}

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

.testimonial-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card .stars {
  color: #ffb703;
  letter-spacing: 0.2rem;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}

.author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author span {
  color: var(--muted);
  font-size: 0.85rem;
}

.pricing {
  background: #fff;
}

.pricing-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

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

.price-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.price {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--muted);
}

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

.accordion-item {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.accordion-trigger {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding-bottom: 1rem;
}

.footer {
  background: #0f1a2b;
  color: #c7d4ee;
  padding: 7rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 0;
}

.footer-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-bar-actions {
  display: flex;
  gap: 0.8rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-brand p {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-credentials {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.footer-links a,
.footer-contact a {
  color: #c7d4ee;
  margin-bottom: 0.4rem;
  display: block;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.social {
  display: flex;
  gap: 0.5rem;
}

.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease;
}

.social a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sticky-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 99;
}

.sticky-actions .btn {
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sticky-icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 70px;
    right: 20px;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 0;
  }

  .hero-overlay {
    padding: 3rem 1.2rem 4rem;
    margin-left: 0;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-cards {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
