:root {
  --bg: #f2f5f8;
  --surface: #ffffff;
  --surface-alt: #e9f4fc;
  --text: #10131a;
  --muted: #5f6978;
  --line: rgba(16, 19, 26, 0.12);
  --line-strong: rgba(16, 19, 26, 0.2);
  --blue-700: #0b63b6;
  --blue-500: #35b2ff;
  --blue-300: #8ad6ff;
  --charcoal: #1d2027;
  --shadow-lg: 0 24px 60px rgba(8, 23, 41, 0.12);
  --shadow-md: 0 18px 32px rgba(8, 23, 41, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1160px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #f7fafc 0%, #f1f5f8 58%, #eef2f5 100%);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(242, 245, 248, 0.88);
  border-bottom: 1px solid rgba(16, 19, 26, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

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

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  color: #243041;
}

.menu a:not(.button) {
  position: relative;
}

.menu a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
}

.menu a:not(.button):hover::after,
.menu a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 16px 30px rgba(11, 99, 182, 0.26);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 19, 26, 0.12);
}

.hero {
  padding: 56px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 34px 34px 30px;
  border: 1px solid rgba(53, 178, 255, 0.14);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(246, 250, 253, 0.86));
  box-shadow: 0 22px 42px rgba(10, 38, 73, 0.08);
  isolation: isolate;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -14% -12% -16% -18%;
  background:
    url("/assets/hero-copy-bg.jpg") center / cover no-repeat;
  opacity: 0.62;
  transform-origin: center;
  filter: saturate(1.08) contrast(1.02);
  animation: heroBackdropDrift 18s ease-in-out infinite alternate;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.44) 38%, rgba(233, 244, 252, 0.28) 100%);
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(53, 178, 255, 0.13);
  color: var(--blue-700);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.97;
  max-width: 13ch;
}

.hero-lead,
.section-heading p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

.hero-lead {
  margin-top: 20px;
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 20px;
  color: #243041;
  line-height: 1.55;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  overflow: hidden;
  border: 1px solid rgba(11, 99, 182, 0.16);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #ffffff, #eaf2f8);
}

.hero-image-frame img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: -88px;
  padding: 0 22px;
  position: relative;
}

.hero-stats article {
  min-height: 164px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-md);
  background: rgba(17, 22, 30, 0.88);
  color: #ecf4ff;
  box-shadow: var(--shadow-md);
}

.hero-stats strong,
.service-card h3,
.highlight-card h3,
.process-grid h3,
.advantage-list h3,
.deliverable-grid h3,
.faq-list summary,
.site-footer h3 {
  display: block;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(236, 244, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.6;
}

@keyframes heroBackdropDrift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1.03);
  }

  50% {
    transform: translate3d(2%, 1.5%, 0) scale(1.08);
  }

  100% {
    transform: translate3d(0%, 4%, 0) scale(1.05);
  }
}

.trust-band {
  padding: 28px 0 12px;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: center;
}

.trust-grid > p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #233040;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-cards div,
.deliverable-grid article,
.advantage-list article {
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}

.section {
  padding: 92px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(138, 214, 255, 0.14), rgba(255, 255, 255, 0.58));
}

.section-dark {
  color: #f4f9ff;
  background:
    linear-gradient(135deg, #0f1621 0%, #15263a 55%, #0b63b6 100%);
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  max-width: 690px;
}

.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  line-height: 1.04;
}

.section-heading p:last-child {
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.78;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.service-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card > div {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.service-card p,
.service-card li,
.process-grid p,
.advantage-list p,
.deliverable-grid p,
.faq-list p,
.contact-block span,
.contact-block a,
.form-footer p,
.footer-grid li {
  line-height: 1.65;
}

.service-card ul,
.footer-grid ul {
  padding: 0;
  list-style: none;
}

.service-card li,
.footer-grid li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before,
.footer-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
}

.highlight-card {
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(17, 22, 30, 0.96), rgba(11, 99, 182, 0.94));
  color: #f2f8ff;
}

.card-kicker {
  color: rgba(242, 248, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 800;
  color: #ffffff;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.process-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-weight: 800;
  background: rgba(53, 178, 255, 0.16);
  color: var(--blue-300);
}

.advantage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: start;
}

.advantage-list,
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.faq-list details {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding-right: 30px;
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue-700);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin-top: 14px;
  color: var(--muted);
}

.contact-section {
  padding-bottom: 108px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 26px;
  align-items: start;
}

.contact-copy h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.05;
}

.contact-copy > p:last-of-type {
  margin-top: 18px;
  line-height: 1.8;
}

.contact-block {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--blue-500);
  background: rgba(255, 255, 255, 0.52);
}

.contact-block p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.72;
}

.contact-block span {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: var(--shadow-md);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
}

.social-link svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.social-link-whatsapp {
  color: #0c7a43;
  background: linear-gradient(180deg, rgba(226, 255, 241, 0.96), rgba(241, 255, 248, 0.92));
}

.social-link-facebook {
  color: #0b63b6;
  background: linear-gradient(180deg, rgba(231, 242, 255, 0.96), rgba(245, 249, 255, 0.92));
}

.contact-card {
  padding: 28px;
  border: 1px solid rgba(11, 99, 182, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 10px;
}

.form-grid span {
  font-size: 0.92rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(16, 19, 26, 0.12);
  border-radius: 16px;
  background: #f7fbff;
  min-height: 56px;
  padding: 14px 16px;
  color: var(--text);
}

.form-grid textarea {
  min-height: 150px;
  resize: vertical;
}

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

.bot-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.form-footer p {
  max-width: 42ch;
  color: var(--muted);
}

.site-footer {
  color: #eff5fb;
  background:
    linear-gradient(180deg, #10161f 0%, #182434 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.85fr));
  gap: 30px;
  padding: 48px 0 34px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
}

.footer-grid p {
  margin-top: 14px;
  max-width: 46ch;
  color: rgba(239, 245, 251, 0.7);
  line-height: 1.75;
}

.footer-grid ul {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.footer-social-links {
  margin-top: 16px;
}

.footer-social-links .social-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: #eff5fb;
  box-shadow: none;
}

.footer-social-links .social-link-whatsapp {
  background: rgba(24, 114, 74, 0.28);
  color: #d5ffe8;
}

.footer-social-links .social-link-facebook {
  background: rgba(27, 92, 179, 0.28);
  color: #deebff;
}

.footer-grid li::before {
  top: 9px;
  background: var(--blue-300);
}

.footer-copy {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy p {
  color: rgba(239, 245, 251, 0.58);
  font-size: 0.92rem;
}

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

  .hero-stats {
    margin-top: 18px;
    padding: 0;
  }

  .process-grid,
  .advantage-list,
  .deliverable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .menu {
    position: fixed;
    top: 84px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
  }

  .menu.is-open {
    display: flex;
  }

  .menu .button {
    width: 100%;
  }

  .hero-stats,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-image-frame img {
    min-height: 420px;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-footer .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100vw - 24px, 100vw - 24px);
  }

  .site-header {
    position: sticky;
  }

  .site-nav {
    min-height: 70px;
    gap: 12px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .hero {
    padding: 26px 0 18px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-copy {
    padding: 26px 22px 22px;
    border-radius: 28px;
  }

  .hero-copy::before {
    inset: -10% -8% -12% -10%;
    opacity: 0.72;
    background-position: 62% 34%;
  }

  .hero-copy::after {
    background:
      linear-gradient(140deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.34) 46%, rgba(233, 244, 252, 0.18) 100%);
  }

  h1 {
    margin-top: 14px;
    font-size: 3.5rem;
    letter-spacing: 0;
    line-height: 0.95;
    max-width: none;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: fit-content;
    min-height: 44px;
    padding: 0 18px;
  }

  .hero-points {
    margin-top: 20px;
    gap: 10px;
  }

  .hero-points li {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .hero-image-frame {
    border-radius: 28px;
  }

  .hero-image-frame img {
    min-height: 320px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-stats article {
    min-height: 0;
    padding: 16px;
    border-radius: 18px;
  }

  .hero-stats article:nth-child(3) {
    grid-column: 1 / -1;
  }

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

  .hero-stats span {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .trust-band {
    padding: 18px 0 4px;
  }

  .trust-grid {
    gap: 18px;
  }

  .trust-grid > p {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .trust-cards {
    grid-template-columns: 1fr 1fr;
  }

  .trust-cards div {
    padding: 16px;
    font-size: 0.94rem;
  }

  .section-heading h2,
  .contact-copy h2 {
    margin-top: 14px;
    font-size: 2.25rem;
    line-height: 1;
  }

  .section-heading p:last-child {
    margin-top: 14px;
    font-size: 0.97rem;
    line-height: 1.66;
  }

  .service-grid,
  .process-grid,
  .advantage-list,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-section {
    padding: 56px 0;
  }

  .service-grid {
    gap: 16px;
    margin-top: 30px;
  }

  .service-card {
    border-radius: 24px;
  }

  .service-card > div {
    gap: 10px;
    padding: 18px;
  }

  .service-card p,
  .service-card li,
  .process-grid p,
  .advantage-list p,
  .deliverable-grid p,
  .faq-list p {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .process-grid {
    gap: 14px;
    margin-top: 28px;
  }

  .process-grid article,
  .advantage-list article,
  .deliverable-grid article,
  .faq-list details {
    padding: 18px;
  }

  .advantage-grid,
  .contact-grid {
    gap: 20px;
  }

  .contact-block {
    margin-top: 16px;
    padding: 16px;
  }

  .social-links {
    gap: 10px;
  }

  .social-link {
    width: 54px;
    height: 54px;
  }

  .contact-card {
    padding: 18px 16px;
    border-radius: 24px;
  }

  .form-grid {
    gap: 14px;
  }

  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    min-height: 52px;
    border-radius: 14px;
    padding: 13px 14px;
  }

  .form-grid textarea {
    min-height: 132px;
  }

  .footer-grid {
    gap: 24px;
    padding: 36px 0 28px;
  }

  .menu {
    top: 76px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3.15rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats,
  .trust-cards {
    grid-template-columns: 1fr;
  }

  .hero-stats article:nth-child(3) {
    grid-column: auto;
  }

  .hero-copy::before {
    opacity: 0.8;
    background-position: 66% 32%;
  }

  .hero-copy::after {
    background:
      linear-gradient(150deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.28) 44%, rgba(233, 244, 252, 0.12) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy::before {
    animation: none;
    transform: scale(1.04);
  }
}
