:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #515151;
  --primary: #3d92c8;
  --primary-dark: #2e78a8;
  --primary-soft: #9bcff2;
  --surface: #f4f4f4;
  --border: #e5edf2;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  width: 199px;
  height: 48px;
}

nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

nav a:hover {
  color: var(--primary-dark);
  background: #edf6fc;
}

.menu-toggle {
  margin-left: auto;
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 6px;
  background: #0a0a0a;
  margin: 7px 5px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  padding: 6.5rem 0 5rem;
  background: radial-gradient(circle at 95% 5%, #eaf6fe 0%, #ffffff 55%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.5rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.subtitle,
.section-head p,
.card p,
.contact-card p,
.step-content {
  color: var(--muted);
}

.subtitle {
  max-width: 62ch;
  margin-bottom: 1.6rem;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  width: 100%;
  max-width: 380px;
  justify-content: center;
}

.hero-copy .kicker,
.hero-copy h1 {
  text-align: center;
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 0.72rem 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 180px;
  min-height: 46px;
  text-align: center;
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(61, 146, 200, 0.2);
}

.btn-outline {
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--primary-soft);
}

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

.stats {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: 100%;
  max-width: 380px;
  justify-content: center;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  min-width: 140px;
}

.stat-card strong {
  display: block;
  color: var(--primary-dark);
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.silver-badge {
  position: relative;
  isolation: isolate;
  width: 180px;
  height: 180px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: radial-gradient(circle at 34% 30%, #f8f8f8 0%, #e7e7e7 42%, #d2d2d2 68%, #bbbbbb 100%);
  border: 4px solid #b5b5b5;
  box-shadow: inset 0 0 0 3px #efefef, inset 0 0 0 9px #c8c8c8, inset 0 0 0 12px #f7f7f7, 0 10px 16px rgba(52, 52, 52, 0.2);
  text-align: center;
  overflow: visible;
  margin: 0 auto;
}

.silver-badge strong {
  color: #5c5c5c;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.silver-badge span {
  color: #6b6b6b;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.silver-badge::before,
.silver-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 114px;
  height: 46px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #f1f1f1 0%, #d5d5d5 45%, #eeeeee 100%);
  border: 1px solid #c5c5c5;
  z-index: -1;
}

.silver-badge::before {
  right: calc(100% - 12px);
  clip-path: polygon(0 0, 100% 0, 88% 50%, 100% 100%, 0 100%, 10% 50%);
}

.silver-badge::after {
  left: calc(100% - 12px);
  clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%, 12% 50%);
}

.hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 28px 40px rgba(13, 59, 84, 0.12);
}

.hero-media img {
  width: 100%;
  height: min(460px, 55vh);
  object-fit: cover;
}

.float-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(10, 10, 10, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  animation: floatBadge 2.8s ease-in-out infinite;
}

.section {
  padding: 4.4rem 0;
}

.section-muted {
  background: var(--surface);
}

.about-showcase {
  position: relative;
  overflow: hidden;
  background: #073878;
  color: #fff;
}

.about-showcase::before,
.about-showcase::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(135, 189, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.about-showcase::before {
  width: 1200px;
  height: 1200px;
  top: -760px;
  right: -300px;
}

.about-showcase::after {
  width: 920px;
  height: 920px;
  bottom: -600px;
  left: 180px;
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 2rem;
  align-items: start;
}

.about-copy {
  max-width: 470px;
}

.about-kicker {
  color: #88f1ff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.about-copy h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  margin-bottom: 1rem;
  line-height: 1.02;
}

.about-copy h2 span {
  display: block;
  color: #1be3f2;
  font-weight: 800;
}

.about-copy p {
  color: #d8e7fb;
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}

.about-btn {
  margin-top: 0.7rem;
  border-radius: 999px;
  padding-inline: 1.5rem;
  background: #2bc2ed;
  border-color: #2bc2ed;
  color: #fff;
}

.about-btn:hover {
  background: #1aa9d1;
  border-color: #1aa9d1;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.about-card {
  background: #f7f8fa;
  border: 1px solid rgba(185, 205, 231, 0.85);
  border-radius: 18px;
  padding: 1.2rem;
  min-height: 210px;
  color: #1a2a3f;
}

.about-card h3 {
  color: #2f3c4f;
  margin-bottom: 0.6rem;
}

.about-card p {
  margin: 0;
  color: #6a7380;
}

.about-card-featured {
  box-shadow: 0 0 26px rgba(137, 218, 255, 0.45);
}

.about-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #22bfec;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.about-icon svg {
  width: 30px;
  height: 30px;
}

.section-head {
  margin-bottom: 1rem;
  max-width: 680px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.tech-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tech-card img {
  height: 68px;
  width: 100%;
  max-width: 100px;
  object-fit: contain;
}

.tech-card span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: #b7d7ea;
}

.process {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.8rem;
  background: #f8fbfd;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  border: 1px solid #d6e6f1;
  background: #fff;
  color: #0a0a0a;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

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

.process-panel {
  padding: 1rem;
}

.step-content {
  display: none;
  margin: 0;
}

.step-content.active {
  display: block;
  animation: fadeIn 0.28s ease;
}

.contact-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.contact-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 230px;
  text-align: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.1rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.cookie-preferences-btn {
  border: 1px solid var(--primary-soft);
  background: #fff;
  color: var(--primary-dark);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-preferences-btn:hover {
  background: #eef6fc;
}

.privacy-section {
  background: #ffffff;
}

.privacy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.privacy-card h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.privacy-card ul {
  margin-top: 0.2rem;
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-content {
  max-width: 920px;
  margin: 0 auto;
  background: #0a0a0a;
  color: #fff;
  border-radius: 14px;
  border: 1px solid #1f1f1f;
  padding: 1rem;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.cookie-banner-content p {
  margin: 0;
  color: #e6e6e6;
  max-width: 60ch;
}

.cookie-banner-content a {
  color: #9bcff2;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cookie-banner-actions .btn {
  min-width: 120px;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.privacy-modal.visible {
  display: block;
}

.privacy-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.56);
}

.privacy-modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, 92%);
  max-height: min(82vh, 760px);
  overflow: auto;
  margin: 7vh auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.3rem 1.2rem;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
}

.privacy-modal-card h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
  font-size: 1.06rem;
}

.privacy-modal-card ul {
  margin-top: 0.2rem;
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
}

.privacy-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  border: 1px solid #d7dfe6;
  background: #fff;
  color: #0a0a0a;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.privacy-modal-close:hover {
  background: #f6f8fa;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5.7rem;
  }

  .about-copy {
    max-width: 100%;
  }

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

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

  nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.7rem 4%;
    border-bottom: 1px solid var(--border);
    background: #fff;
  }

  nav.open {
    display: flex;
  }
}

@media (max-width: 580px) {
  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-card {
    min-height: auto;
  }

  .about-copy h2 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .logo-img {
    width: 162px;
    height: auto;
  }

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

  .float-badge {
    font-size: 0.82rem;
  }

  .contact-actions {
    width: 100%;
    justify-content: center;
  }

  .contact-actions .btn {
    width: min(320px, 100%);
  }

  .silver-badge {
    width: 150px;
    height: 150px;
  }

  .silver-badge::before,
  .silver-badge::after {
    width: 78px;
    height: 38px;
  }

  .site-footer .container {
    align-items: flex-start;
  }

  .cookie-banner {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .cookie-banner-content {
    padding: 0.9rem;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 140px;
  }

  .privacy-modal-card {
    margin-top: 4vh;
    width: min(760px, 94%);
    max-height: 88vh;
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
