:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #eef2ff;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --text: #0f172a;
  --text-light: #475569;
  --border: #e2e8f0;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

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

section[id] {
  scroll-margin-top: 110px;
}

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

body.nav-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.menu-toggle .line {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem clamp(1.5rem, 6vw, 7rem);
  background: #405299;
  color: #f7f9ff;
  border-bottom: none;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.logo-img {
  width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.logo-text strong {
  font-size: 1.12rem;
  color: #fff;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 600;
  color: #f8fbff;
  text-decoration: none;
  padding: 0;
  background: none;
  border: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  text-decoration: underline;
  outline: none;
}

.icon-whatsapp {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.image-slider {
  padding: 0;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

.slider-track {
  position: relative;
  height: clamp(320px, calc(100vh - 110px), 880px);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 40%,
    rgba(15, 23, 42, 0.85)
  );
}

.slide .caption {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.slider-dots {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0 clamp(1.5rem, 6vw, 7rem);
}

.slider-dots .dot {
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.slider-dots .dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.45);
}

.slider-dots .dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 5rem clamp(1.5rem, 6vw, 7rem) 3.5rem;
  background: linear-gradient(
    130deg,
    rgba(79, 70, 229, 0.07),
    rgba(99, 102, 241, 0.03)
  );
  align-items: center;
}

.content h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin: 1rem 0;
}

.content p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

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

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

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

.btn.ghost {
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: var(--text);
  background: transparent;
}

.btn.ghost:hover {
  border-color: var(--text);
}

.btn.full {
  width: 100%;
  justify-content: center;
}

.hero-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(79, 70, 229, 0.15);
}

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

.hero-text {
  color: var(--text-light);
  margin: 0.75rem 0 1rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  color: var(--text-light);
}

main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.banner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 0 clamp(1.5rem, 6vw, 7rem) 3rem;
  margin-top: -1rem;
}

.banner-strip article {
  background: var(--surface);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.08);
}

.banner-strip h4 {
  margin-bottom: 0.4rem;
}

.section {
  padding: 4rem clamp(1.5rem, 6vw, 7rem);
}

.section.alt {
  background: #f2f6ff;
}

.section-header {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0.75rem 0;
}

.section-header p {
  color: var(--text-light);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.card,
.service-card,
.policy-card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  height: 100%;
}

.card h3,
.service-card h3,
.policy-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.card ul,
.service-card ul {
  list-style: none;
  color: var(--text-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.policy-card p,
.card p,
.service-card p {
  color: var(--text-light);
}

.privacy-footer {
  margin-top: 2rem;
  color: var(--text-light);
}

footer {
  background: #0f172a;
  color: #cbd5f5;
  padding: 1.8rem clamp(1.5rem, 6vw, 7rem);
}

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

.footer-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content a {
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    padding: 0.85rem clamp(1.25rem, 5vw, 3rem);
    gap: 1rem;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.2rem clamp(1.2rem, 6vw, 3rem) 1.6rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 12;
  }

  .main-nav a {
    color: var(--text);
  }

  .main-nav a::after {
    background: var(--primary);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-cta {
    justify-self: end;
    color: #f8fbff;
  }
}

@media (max-width: 768px) {
  .site-header {
    grid-template-columns: 1fr auto;
    text-align: left;
    row-gap: 0.75rem;
  }

  .header-cta {
    grid-column: auto;
    width: auto;
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 0.75rem 1.25rem;
  }

  .logo-img {
    width: 120px;
  }

  .hero {
    padding: 3.5rem 1.5rem 2.5rem;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .menu-toggle {
    justify-self: end;
  }

  .image-slider {
    padding-top: 1rem;
  }

  .slider-track {
    height: clamp(220px, 65vw, 420px);
  }

  .banner-strip {
    padding: 0 1.25rem 2rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }
}
