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

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #5b7cfa;
  --primary-dark: #4258c7;
  --dark: #0e1320;
  --text: #121826;
  --muted: #6b7280;
  --bg: #f5f6fa;
  --card: #ffffff;
  --accent: #eaf0ff;
}

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

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

.hero {
  background: radial-gradient(circle at top left, #ffffff 0%, #e9efff 55%, #d7e1ff 100%);
  padding: 32px 7%;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(91, 124, 250, 0.18);
  border-radius: 50%;
  top: -80px;
  right: -80px;
  filter: blur(10px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  background: rgba(91, 124, 250, 0.12);
  border-radius: 50%;
  bottom: -120px;
  left: 15%;
  filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: clamp(72px, 8vw, 120px);
  display: block;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

.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(--primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 24px rgba(91, 124, 250, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  border: 1px solid rgba(18, 24, 38, 0.2);
  background: transparent;
}

.btn-dark {
  background: var(--dark);
  color: white;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  padding: 6px 14px;
  background: rgba(91, 124, 250, 0.12);
  color: var(--primary-dark);
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.subtitle {
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stats strong {
  font-size: 1.5rem;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.hero-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.hero-card-info {
  padding: 24px;
}

.section {
  padding: 72px 7%;
}

.section-title {
  margin-bottom: 36px;
}

.section-title span {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--muted);
}

.section-title h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-top: 8px;
}

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

.card {
  background: var(--card);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(18, 24, 38, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.case-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.dark {
  background: var(--dark);
  color: white;
}

.dark .section-title span {
  color: rgba(255, 255, 255, 0.6);
}

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

.timeline-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: 16px;
}

.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.case-card {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-rows: 160px auto;
}

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

.case-card div {
  padding: 18px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.blog-card {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-rows: 170px auto;
}

.blog-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.blog-card div {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.blog-tag {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(91, 124, 250, 0.12);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.75rem;
}

.blog-empty {
  margin-top: 12px;
  color: var(--muted);
  display: none;
}

.highlight {
  background: var(--primary);
  color: white;
}

.highlight-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: white;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(18, 24, 38, 0.08);
  display: grid;
  gap: 16px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.2rem;
}

.testimonial-card p {
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.testimonial-author strong {
  color: var(--text);
}

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

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.form {
  background: var(--card);
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(18, 24, 38, 0.08);
  display: grid;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.form input,
.form textarea {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.15);
}

.form-feedback {
  color: var(--primary-dark);
  font-weight: 600;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-info .btn {
  margin-top: 8px;
}

.contact-card {
  background: var(--accent);
  padding: 18px;
  border-radius: 16px;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.15);
  }
}

.back-to-top {
  position: fixed;
  bottom: 104px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(91, 124, 250, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  color: white;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(91, 124, 250, 0.4);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  padding: 72px 7% 24px;
  background: var(--dark);
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 48px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.footer-section h4 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-section ul li {
  color: rgba(255, 255, 255, 0.7);
}

.footer-section ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-section ul a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .nav-links {
    width: 100%;
  }

  .nav {
    justify-content: center;
  }

  .logo {
    margin: 0 auto;
  }

  .logo img {
    height: clamp(80px, 22vw, 140px);
  }

  .hero-stats {
    flex-direction: column;
  }

  .highlight-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
