:root {
  --bg: #f4f9fd;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #14354a;
  --muted: #5f7d91;
  --line: rgba(9, 118, 187, 0.14);
  --accent: #0976bb;
  --accent-deep: #065d93;
  --accent-soft: #d8ecf8;
  --dark: #0d4f7a;
  --accent-rgb: 9, 118, 187;
  --dark-rgb: 13, 79, 122;
  --success: #1f9d62;
  --shadow: 0 20px 60px rgba(9, 118, 187, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-height: 104px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.16), transparent 24%),
    radial-gradient(circle at right center, rgba(245, 250, 253, 0.98), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 52%, var(--bg) 100%);
}

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

img {
  max-width: 100%;
}

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

.page-shell {
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.12);
  box-shadow: 0 10px 30px rgba(var(--dark-rgb), 0.06);
}

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

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

.brand-logo {
  width: 92px;
  height: 92px;
  display: block;
}

.brand-text {
  display: grid;
  gap: 4px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
}

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

.site-nav a {
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s ease;
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

section {
  padding: 96px 0;
}

.hero-section {
  padding-top: 64px;
}

.hero-grid,
.why-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.why-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-heading h2,
.why-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.hero-copy p,
.section-heading p,
.why-copy p,
.contact-copy p,
.service-card p,
.feature-item p,
.process-step p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 25px rgba(var(--dark-rgb), 0.06);
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 30px 0 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 18px 36px rgba(var(--accent-rgb), 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 35, 46, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-stats li,
.hero-panel,
.service-card,
.feature-item,
.process-step,
.contact-form,
.contact-cards a,
.contact-cards span {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-stats li {
  padding: 20px;
  border-radius: var(--radius-md);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.6rem;
  font-family: "Space Grotesk", sans-serif;
}

.hero-stats span {
  color: var(--muted);
}

.hero-panel {
  position: relative;
  padding: 34px;
  border-radius: var(--radius-lg);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.22), transparent 64%);
}

.hero-panel h2 {
  margin: 18px 0 26px;
  font-size: 1.7rem;
  line-height: 1.25;
}

.panel-badge {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
}

.service-points,
.services-grid,
.feature-list,
.process-timeline,
.contact-cards {
  display: grid;
  gap: 18px;
}

.service-points article {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.service-points article:first-child {
  border-top: 0;
  padding-top: 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

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

.service-card,
.feature-item,
.process-step {
  padding: 28px;
  border-radius: 24px;
}

.service-card span,
.process-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e3f2fb, #bedef3);
  color: var(--accent-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 18px;
}

.service-card span svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.process-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.process-step {
  position: relative;
  overflow: visible;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -34px;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.95), rgba(var(--accent-rgb), 0.32));
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.08);
}

.process-step::before {
  content: "";
  position: absolute;
  top: 38px;
  right: -6px;
  width: 14px;
  height: 14px;
  border-top: 3px solid rgba(var(--accent-rgb), 0.95);
  border-right: 3px solid rgba(var(--accent-rgb), 0.95);
  transform: rotate(45deg);
}

.process-step:last-child::after,
.process-step:last-child::before {
  display: none;
}

.process-step strong {
  min-width: 60px;
  width: auto;
  padding: 0 14px;
}

.process-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-step h3 {
  margin: 0 0 10px;
}

.why-section {
  background: linear-gradient(180deg, rgba(239, 248, 253, 0.98), rgba(223, 239, 249, 0.98));
  color: var(--text);
}

.why-section .eyebrow {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(var(--accent-rgb), 0.18);
  color: var(--dark);
}

.why-section p,
.why-section .feature-item p {
  color: var(--muted);
}

.feature-item {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(var(--accent-rgb), 0.16);
}

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

.contact-grid-single {
  grid-template-columns: 1fr;
}

.call-button {
  gap: 10px;
}

.contact-section {
  padding-top: 72px;
}

.contact-showcase {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.contact-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--dark), var(--accent));
  color: #fff;
  box-shadow: 0 24px 50px rgba(var(--dark-rgb), 0.18);
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  flex: 0 0 auto;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.contact-callout-text {
  display: grid;
  gap: 6px;
}

.contact-callout-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-callout-text strong {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(16, 35, 46, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  color: var(--text);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  margin: 14px 0;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-cards a,
.contact-cards span {
  padding: 18px 20px;
  border-radius: 18px;
  color: var(--text);
}

.contact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-cards a,
.contact-cards span {
  display: grid;
  gap: 8px;
}

.contact-mini-title {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-cards strong {
  font-size: 1rem;
  line-height: 1.5;
}

.site-footer {
  padding: 24px 0 40px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-wrap p {
  margin: 0;
}

.footer-wrap a {
  color: var(--dark);
  font-weight: 700;
}

.footer-social {
  justify-self: auto;
}

.legal-page {
  padding: 34px 0 72px;
}

.legal-hero {
  margin-bottom: 22px;
}

.legal-hero h1 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.legal-updated {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.legal-card {
  padding: 30px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.78;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--text);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
}

.whatsapp-inline,
.footer-whatsapp,
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-inline svg,
.footer-whatsapp svg,
.whatsapp-float svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  min-height: 58px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #179c4d);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(23, 156, 77, 0.32);
}

.whatsapp-float::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  pointer-events: none;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(20, 53, 74, 0.94);
  color: #fff;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(var(--dark-rgb), 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover::after,
.whatsapp-float:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

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

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(var(--accent-rgb), 0.12);
    box-shadow: 0 18px 40px rgba(var(--dark-rgb), 0.1);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .why-grid,
  .contact-grid,
  .services-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

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

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

  .contact-callout {
    padding: 24px;
  }

  .process-step::after,
  .process-step::before {
    display: none;
  }

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

@media (max-width: 640px) {
  :root {
    --header-height: 88px;
  }

  section {
    padding: 72px 0;
  }

  .nav-wrap {
    min-height: 76px;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

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

  .btn {
    width: 100%;
  }

  .legal-page {
    padding: 18px 0 56px;
  }

  .legal-card {
    padding: 24px 20px;
  }
}
