:root {
  --primary: #1f2a44;
  --secondary: #2e5bff;
  --accent: #ff6b00;
  --bg: #f4f6f9;
  --text: #222222;
  --white: #ffffff;
  --muted: #6b7280;
  --border: #dbe1ea;
  --shadow: 0 14px 34px rgba(31, 42, 68, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(160deg, #edf2ff 0%, #f8f9fd 45%, #ffffff 100%);
}

.section-title {
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-subtitle {
  max-width: 720px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(46, 91, 255, 0.3);
}

.btn-primary:hover {
  background: #1949ef;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(255, 107, 0, 0.28);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(31, 42, 68, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand strong {
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand span {
  color: #bcd0ff;
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--white);
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20, 31, 54, 0.9) 20%, rgba(20, 31, 54, 0.55) 55%, rgba(20, 31, 54, 0.3) 100%);
}

.hero-content {
  position: relative;
  max-width: 700px;
  color: var(--white);
  padding: 4rem 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  background: rgba(255, 107, 0, 0.18);
  border: 1px solid rgba(255, 107, 0, 0.38);
  color: #ffd7ba;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  color: #d7dff1;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.grid {
  display: grid;
  gap: 1.4rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 42, 68, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31, 42, 68, 0.16);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(130deg, #2e5bff, #1f2a44);
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.stat {
  background: var(--white);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 0.9rem;
  border: 1px solid var(--border);
}

.stat strong {
  display: block;
  color: var(--secondary);
  font-size: 1.3rem;
}

.process-step {
  display: flex;
  gap: 1rem;
}

.step-index {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.before-after {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.before-after-labels {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
}

.testimonial {
  position: relative;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: -14px;
  left: 0;
  font-size: 3rem;
  color: rgba(46, 91, 255, 0.24);
  font-family: Georgia, serif;
}

.faq details {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
}

.faq details + details {
  margin-top: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
}

.faq p {
  margin-top: 0.65rem;
  color: #4b5563;
}

.cta-banner {
  border-radius: var(--radius);
  padding: 2rem;
  background: linear-gradient(110deg, var(--primary), #273c68 55%, #1b2850);
  color: var(--white);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.page-hero {
  padding: 5.4rem 0 3.2rem;
  background: linear-gradient(140deg, rgba(31, 42, 68, 0.95), rgba(46, 91, 255, 0.88));
  color: var(--white);
}

.page-hero h1 {
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 3.1rem);
  margin-bottom: 0.9rem;
}

.service-card img {
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.form-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 1px solid rgba(31, 42, 68, 0.08);
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--primary);
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 0;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(46, 91, 255, 0.15);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.error {
  color: #b42318;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.success-message {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: #e8f7ee;
  color: #196b3a;
  border: 1px solid #9fd4b1;
}

.success-message:not(:empty) {
  display: block;
}

.legal {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.legal h2 {
  margin-top: 1.5rem;
  color: var(--primary);
}

.legal p + p {
  margin-top: 0.9rem;
}

.site-footer {
  background: #0f1729;
  color: #d8e3ff;
  padding: 3.2rem 0 1.6rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 0.9rem;
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
}

.footer-links a {
  display: block;
  margin-bottom: 0.45rem;
  color: #d8e3ff;
}

.footer-links a:hover {
  color: #ffffff;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.socials a:hover {
  background: var(--accent);
}

.copyright {
  margin-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  text-align: center;
  color: #b8c6ef;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #16213a;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 4%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 360px;
  }

  .menu-toggle {
    display: block;
  }

  .grid-2,
  .grid-3,
  .stats,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .form-shell {
    padding: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
