:root {
  --bg: #f5f8ff;
  --bg-soft: #eef4ff;
  --bg-deep: #0d2e77;
  --bg-deeper: #082254;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.88);
  --line: #d7e2fb;
  --line-strong: #c5d5fa;
  --text: #0f2246;
  --muted: #60749c;
  --blue: #1954dc;
  --blue-strong: #1145bc;
  --blue-soft: #e9f0ff;
  --purple: #6a64e8;
  --gold: #f0bb52;
  --shadow: 0 24px 70px rgba(20, 55, 120, 0.12);
  --shadow-soft: 0 10px 25px rgba(18, 55, 125, 0.08);
  --radius: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8ff 100%);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 14%, rgba(25, 84, 220, 0.14), transparent 24%),
    radial-gradient(circle at 90% 8%, rgba(106, 100, 232, 0.12), transparent 20%),
    radial-gradient(circle at 78% 36%, rgba(240, 187, 82, 0.1), transparent 18%);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 1rem 0;
  transition: 0.25s ease;
}

.site-header.scrolled {
  background: rgba(248, 251, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(17, 41, 94, 0.06);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand-copy span {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

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

.site-nav a:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.95rem 1.35rem;
  font-weight: 800;
  transition: 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #4576f0);
  box-shadow: 0 14px 32px rgba(25, 84, 220, 0.25);
}

.button-secondary {
  background: #fff;
  color: var(--blue);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.login-dropdown {
  position: relative;
}

.login-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 180px;
  padding: 0.6rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.login-dropdown.open .login-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.login-menu a {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--text);
}

.login-menu a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.hero {
  padding: 2rem 0 3rem;
}

.hero-layout,
.contact-layout,
.legal-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.legal-card h2,
.about-card h2 {
  margin: 0;
  line-height: 1.05;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  max-width: 11ch;
}

.hero-copy h1 span {
  color: var(--blue);
}

.hero-copy p,
.section-heading p,
.about-card p,
.contact-copy p,
.service-copy p,
.feature-strip-card h3,
.hero-mini-grid p,
.hero-logo-card p,
.faq-answer p,
.legal-card li,
.contact-table span {
  color: var(--muted);
}

.eyebrow,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.74rem;
}

.eyebrow {
  color: var(--gold);
  margin-bottom: 1rem;
}

.eyebrow-blue,
.mini-label {
  color: var(--blue);
}

.hero-actions,
.hero-badges,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  margin: 2rem 0 1.4rem;
}

.hero-badges span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  color: var(--muted);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.shell-card {
  border-radius: var(--radius);
  border: 1px solid rgba(197, 213, 250, 0.9);
  background: var(--surface-soft);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-panel,
.about-card,
.contact-card,
.legal-card {
  padding: 1.5rem;
}

.hero-panel-top,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-logo-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.2rem;
}

.hero-logo-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.hero-logo-card strong,
.feature-strip-card h3,
.service-copy h3,
.contact-table strong,
.legal-card h2,
.faq-question span:first-child {
  display: block;
}

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

.hero-mini-grid article,
.feature-strip-card,
.faq-item,
.contact-table div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
}

.hero-mini-grid article span,
.service-subtitle,
.feature-kicker,
.contact-table span {
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-mini-grid article strong {
  display: block;
  margin: 0.2rem 0;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 0.55rem 0.85rem;
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding-top: 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(233, 240, 255, 0.72), rgba(245, 248, 255, 0.65));
}

.section-deep {
  background: linear-gradient(160deg, var(--bg-deep), var(--bg-deeper));
  color: #fff;
}

.section-deep .contact-copy p,
.section-deep .contact-table span,
.section-deep .contact-table strong,
.section-deep .contact-table a {
  color: rgba(255, 255, 255, 0.88);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 2.4rem;
}

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

.feature-strip-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.feature-icon.blue {
  background: linear-gradient(135deg, var(--blue), #4f79ea);
}

.feature-icon.purple {
  background: linear-gradient(135deg, var(--purple), #8b86f3);
}

.feature-icon.gold {
  background: linear-gradient(135deg, #d99d23, var(--gold));
}

.feature-kicker {
  margin: 0 0 0.2rem;
}

.feature-strip-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.about-card {
  max-width: 900px;
  margin: 0 auto;
}

.about-card p {
  margin: 0;
}

.about-card p + p {
  margin-top: 1rem;
}

.service-stack {
  display: grid;
  gap: 2rem;
}

.service-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.service-band.reverse .service-copy {
  order: 2;
}

.service-band.reverse .service-media {
  order: 1;
}

.service-copy {
  padding: 0 0.5rem;
}

.service-title-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-number {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  font-weight: 900;
  color: var(--blue);
}

.service-copy h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.service-subtitle {
  margin: 0.2rem 0 0;
  color: var(--blue);
}

.service-media {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,255,0.96));
}

.service-media img {
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.feature-list,
.legal-card ol {
  margin: 1.1rem 0 0;
  padding-left: 1.2rem;
}

.feature-list li,
.legal-card li {
  margin-bottom: 0.55rem;
}

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

.faq-item {
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  text-align: left;
  color: var(--text);
  font-weight: 800;
}

.faq-icon {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.faq-answer {
  padding: 0 1.2rem 1.2rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.contact-card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-table {
  display: grid;
  gap: 1rem;
}

.contact-table div {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-table span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.35rem;
}

.legal-grid {
  gap: 1.5rem;
  align-items: stretch;
}

.legal-card ol {
  margin-top: 1.2rem;
}

.site-footer {
  padding: 1.25rem 0 2rem;
}

.footer-row {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  color: var(--muted);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

@media (max-width: 1080px) {
  .hero-layout,
  .contact-layout,
  .legal-grid,
  .service-band {
    grid-template-columns: 1fr;
  }

  .service-band.reverse .service-copy,
  .service-band.reverse .service-media {
    order: initial;
  }

  .hero-mini-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {

  .site-nav a.selected::after {
  bottom: -0.2rem;
}
  .site-header,
  .site-header.scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  
  .menu-toggle {
    display: block;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
    order: initial;
    flex-shrink: 0;
  }

  .nav-actions {
    display: flex;
    position: fixed;
    right: 4.9rem;
    bottom: 1rem;
    margin: 0;
    order: initial;
    z-index: 80;
  }

  .nav-actions .button {
    padding: 0.72rem 1rem;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .site-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 5.8rem;
    top: auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: grid;
    gap: 0.95rem;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .login-menu {
    top: auto;
    bottom: calc(100% + 0.75rem);
    right: 0;
  }

  .brand-copy span {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero {
    padding-top: 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-panel,
  .about-card,
  .contact-card,
  .legal-card {
    padding: 1.1rem;
  }

  .hero-logo-card {
    grid-template-columns: 64px 1fr;
  }

  .hero-logo-card img {
    width: 64px;
    height: 64px;
  }

  .service-title-row {
    gap: 0.8rem;
  }

  .service-copy {
    padding: 0;
  }

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

.call-button,
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.call-button img,
.whatsapp-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(25, 84, 220, 0.08);
  z-index: 120;
  pointer-events: none;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #4f79ea);
  transition: width 0.08s linear;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-nav a.selected {
  color: var(--blue);
}

.site-nav a.selected::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}