:root {
  --bg: #f7f3ec;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-strong: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: rgba(23, 32, 51, 0.12);
  --accent: #2459d6;
  --accent-dark: #173f9c;
  --accent-warm: #e9a93a;
  --green: #0f8b6f;
  --whatsapp: #25d366;
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.13);
  --radius-xl: 34px;
  --radius-lg: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(36, 89, 214, 0.14), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(233, 169, 58, 0.16), transparent 24%),
    linear-gradient(135deg, #fbf8f1 0%, #eef4ff 48%, #f8efe2 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(120deg, transparent 0 48%, rgba(36, 89, 214, 0.055) 48.3% 48.8%, transparent 49.1% 100%),
    linear-gradient(60deg, transparent 0 54%, rgba(233, 169, 58, 0.08) 54.3% 54.8%, transparent 55.1% 100%);
  animation: softDrift 28s ease-in-out infinite;
  opacity: 0.85;
}

.mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(36, 89, 214, 0.16), transparent 22%),
    radial-gradient(circle at calc(var(--mx, 50%) + 20%) calc(var(--my, 30%) + 18%), rgba(233, 169, 58, 0.12), transparent 22%);
  transition: background 0.2s ease;
}

@keyframes softDrift {
  0%, 100% { transform: translate3d(-1%, -1%, 0) scale(1.02); }
  50% { transform: translate3d(2%, 1%, 0) scale(1.06); }
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(1160px, calc(100% - 28px));
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.09);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #5c8cff);
  box-shadow: 0 14px 28px rgba(36, 89, 214, 0.28);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: #344054;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 13px;
  border-radius: 999px;
  transition: 0.22s ease;
}

.nav a:hover {
  color: var(--accent-dark);
  background: rgba(36, 89, 214, 0.08);
}

.lang-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(23,32,51,0.06);
  border: 1px solid rgba(23,32,51,0.08);
}

.lang-switcher button {
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 900;
  color: #475467;
  background: transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

.lang-switcher button.active {
  background: var(--text);
  color: #fff;
  box-shadow: 0 10px 22px rgba(23,32,51,0.15);
}

.section {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 132px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(350px, 0.97fr);
  align-items: center;
  gap: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(23, 32, 51, 0.06);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(15, 139, 111, 0.12);
}

h1 {
  margin: 24px 0 20px;
  font-size: clamp(48px, 8vw, 94px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.blue-text {
  color: var(--accent);
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
  cursor: pointer;
  font: inherit;
}

.button.primary {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--accent), #6c92ff);
  box-shadow: 0 18px 42px rgba(36, 89, 214, 0.28);
}

.button.whatsapp-inline {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--whatsapp), #128c7e);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.22);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(23, 32, 51, 0.12);
}

.hero-card {
  position: relative;
  min-height: 545px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.58)),
    radial-gradient(circle at 70% 0%, rgba(36, 89, 214, 0.14), transparent 32%);
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(36,89,214,0.14) 0 1px, transparent 1.4px);
  background-size: 28px 28px;
  opacity: 0.45;
  animation: dotMove 24s linear infinite;
}

@keyframes dotMove {
  to { transform: translate3d(-28px, -28px, 0); }
}

.document-stack {
  position: absolute;
  left: 38px;
  right: 38px;
  top: 60px;
  height: 330px;
  perspective: 900px;
}

.doc {
  position: absolute;
  inset: 0;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(23,32,51,0.08);
  box-shadow: 0 24px 50px rgba(23,32,51,0.12);
  transform: rotate(-3deg);
}

.doc.two {
  top: 42px;
  left: 30px;
  right: -30px;
  transform: rotate(5deg);
  background: #fdf6e8;
  opacity: 0.9;
}

.doc.three {
  top: 86px;
  left: -10px;
  right: 10px;
  transform: rotate(-1deg);
  background: #eef4ff;
  opacity: 0.96;
}

.doc h3 {
  margin: 0 0 18px;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.line {
  height: 10px;
  border-radius: 999px;
  background: rgba(23,32,51,0.12);
  margin: 12px 0;
}

.line.small {
  width: 62%;
}

.line.blue {
  background: rgba(36,89,214,0.2);
}

.quick-info {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.info-pill {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(23,32,51,0.08);
  backdrop-filter: blur(14px);
}

.info-pill strong {
  display: block;
  margin-bottom: 3px;
  color: var(--accent-dark);
}

.info-pill span {
  color: var(--muted);
  font-size: 14px;
}

.services,
.reviews,
.contact {
  padding: 92px 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-title p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow: 0 18px 44px rgba(23,32,51,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -56px;
  bottom: -56px;
  border-radius: 50%;
  background: rgba(36,89,214,0.1);
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(23,32,51,0.13);
}

.service-card:hover::after {
  transform: scale(1.25);
}

.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 18px;
  background: #eef4ff;
  color: var(--accent);
  font-size: 26px;
}

.service-card:nth-child(2) .icon {
  background: #fff4de;
  color: #af7416;
}

.service-card:nth-child(3) .icon {
  background: #edf8f5;
  color: var(--green);
}

.service-card:nth-child(4) .icon {
  background: #f2ecff;
  color: #6844bb;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.reviews-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255,255,255,0.62)),
    radial-gradient(circle at 8% 0%, rgba(36,89,214,0.16), transparent 30%),
    radial-gradient(circle at 100% 20%, rgba(233,169,58,0.16), transparent 28%);
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow: var(--shadow);
}

.reviews-cta h2 {
  margin: 20px 0 12px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.reviews-cta p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(255,255,255,0.86);
  box-shadow: var(--shadow);
}

.contact-info,
.contact-form {
  border-radius: 28px;
  padding: 30px;
}

.contact-info {
  color: #fff;
  background:
    radial-gradient(circle at 20% 12%, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, var(--accent), #173f9c);
}

.contact-info h2,
.contact-form h2 {
  margin: 0 0 16px;
  font-size: 38px;
  letter-spacing: -0.055em;
}

.contact-info p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 15px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.contact-item b {
  display: block;
  margin-bottom: 3px;
  color: #fff;
}

.contact-form {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255,255,255,0.62)),
    repeating-linear-gradient(45deg, rgba(36,89,214,0.055) 0 12px, transparent 12px 24px);
  border: 1px solid rgba(23,32,51,0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(23,32,51,0.12);
  border-radius: 17px;
  padding: 16px 17px;
  color: var(--text);
  outline: none;
  background: rgba(255,255,255,0.84);
  font: inherit;
  box-shadow: 0 10px 26px rgba(23,32,51,0.04);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(36,89,214,0.55);
  box-shadow: 0 0 0 4px rgba(36,89,214,0.1);
}

.form-note {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.honeypot {
  display: none;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--whatsapp), #128c7e);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(37,211,102,0.32);
  transition: transform 0.22s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px);
}

footer {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  padding: 32px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

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

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

  .reviews-cta {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card {
    min-height: 500px;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 68px;
  }

  .topbar {
    top: 10px;
    border-radius: 24px;
  }

  .brand small {
    display: none;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 116px;
  }

  .service-grid,
  .quick-info,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-card {
    min-height: 460px;
  }

  .document-stack {
    left: 24px;
    right: 24px;
  }

  footer {
    flex-direction: column;
  }

  .floating-whatsapp span:last-child {
    display: none;
  }

  .floating-whatsapp {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.92);
    box-shadow: 0 18px 42px rgba(23,32,51,0.18);
    backdrop-filter: blur(18px);
  }

  .mobile-action-bar a {
    display: grid;
    place-items: center;
    min-height: 44px;
    border-radius: 16px;
    background: rgba(36,89,214,0.08);
    color: var(--accent-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-action-bar a:first-child {
    color: #fff;
    background: linear-gradient(135deg, var(--whatsapp), #128c7e);
  }
}


.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-strip span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(23,32,51,0.08);
  color: #344054;
  font-weight: 800;
  font-size: 14px;
}

.button.light {
  color: var(--text);
  background: #fff;
  border: 0;
}

.mini-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
}

.mini-link:hover {
  text-decoration: underline;
}

.faq {
  padding: 92px 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: 22px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 14px 34px rgba(23,32,51,0.07);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
  color: var(--text);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.65;
}

.form-status {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 800;
  border: 1px solid rgba(23,32,51,0.08);
  background: rgba(255,255,255,0.8);
  box-shadow: 0 14px 34px rgba(23,32,51,0.07);
}

.form-status.success {
  color: #076b53;
  background: rgba(15,139,111,0.1);
}

.form-status.error {
  color: #a43131;
  background: rgba(224,47,62,0.1);
}

.contact-actions {
  margin-top: 18px;
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.privacy-check input {
  width: auto;
  margin-top: 4px;
  box-shadow: none;
}

.mobile-action-bar {
  display: none;
}
