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

:root {
  --bg: #dbe4ee;
  --surface: #ffffff;
  --surface-soft: #eef4f8;
  --surface-strong: #0b1220;
  --ink: #101828;
  --muted: #667085;
  --muted-strong: #475467;
  --blue: #0b3b91;
  --blue-soft: #3561c9;
  --teal: #0f9f8f;
  --amber: #f59e0b;
  --border: rgba(16, 24, 40, 0.1);
  --border-blue: rgba(11, 59, 145, 0.18);
  --grad: linear-gradient(135deg, #0b3b91 0%, #0f9f8f 100%);
  --grad-soft: linear-gradient(135deg, rgba(11, 59, 145, 0.1), rgba(15, 159, 143, 0.08));
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow: 0 18px 60px rgba(16, 24, 40, 0.08);
  --shadow-hover: 0 22px 70px rgba(16, 24, 40, 0.13);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(11, 59, 145, 0.12), transparent 520px),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 6vw;
  background: rgba(7, 24, 51, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(7, 24, 51, 0.24);
  backdrop-filter: blur(18px);
  transition: background 0.25s, box-shadow 0.25s, min-height 0.25s, border-color 0.25s;
}

#navbar.scrolled {
  min-height: 66px;
  background: linear-gradient(90deg, rgba(11, 59, 145, 0.97), rgba(84, 0, 95, 0.781));
  border-bottom-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 38px rgba(11, 59, 145, 0.28);
}

#navbar.scrolled .nav-brand,
#navbar.scrolled .hamburger {
  color: #fff;
}

#navbar.scrolled .nav-menu {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

#navbar.scrolled .nav-menu a {
  color: rgba(255, 255, 255, 0.86);
}

#navbar.scrolled .nav-menu a:hover,
#navbar.scrolled .nav-menu a.active {
  background: transparent;
  color: #fff;
  border-color: transparent;
  box-shadow: none;
  text-shadow:
    0 0 16px rgba(45, 212, 191, 0.95),
    0 0 34px rgba(147, 197, 253, 0.65),
    0 1px 2px rgba(7, 24, 51, 0.65);
}

#navbar.scrolled .nav-menu a::before {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.46), rgba(37, 99, 235, 0.18) 58%, transparent 76%);
  border-color: transparent;
}

#navbar.scrolled .nav-contact a {
  background: var(--amber);
  color: #101828;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.32);
}

#navbar.scroll-pulse {
  animation: navbarPulse 0.72s ease;
}

@keyframes navbarPulse {
  0% {
    box-shadow: 0 0 0 rgba(15, 159, 143, 0);
  }
  42% {
    box-shadow:
      0 18px 42px rgba(11, 59, 145, 0.34),
      0 0 0 5px rgba(245, 158, 11, 0.22);
  }
  100% {
    box-shadow: 0 14px 38px rgba(11, 59, 145, 0.28);
  }
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: max-content;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

.nav-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.nav-menu a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.95rem;
  border-radius: 6px;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 650;
  overflow: hidden;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-menu a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 92%;
  height: 78%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.38), rgba(45, 212, 191, 0.12) 52%, transparent 74%);
  border: 0;
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.65);
  filter: blur(7px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: transparent;
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
  text-shadow:
    0 0 18px rgba(45, 212, 191, 0.7),
    0 0 3px rgba(255, 255, 255, 0.88);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.nav-contact a {
  background: var(--amber);
  color: #281025;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.24);
}

.nav-contact a:hover,
.nav-contact a.active {
  background: #f59e0b;
  color: #21007c;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(124, 1, 1, 0.521);
}

.nav-contact a::before {
  display: none;
}

.nav-contact a:hover,
.nav-contact a.active {
  text-shadow: none;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}

.mobile-menu-info {
  display: none;
}

.menu-backdrop {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

.section {
  position: relative;
  z-index: 1;
  padding: 4.8rem 6vw;
  background: #38383831;
}

.section.alt-bg {
  background: #d2deea;
}

.section-header {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header.center .section-sub {
  margin-inline: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.75rem;
  background: rgba(11, 59, 145, 0.07);
  border: 1px solid var(--border-blue);
  border-radius: 6px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  line-height: 1.08;
  font-weight: 700;
}

.section-sub {
  max-width: 610px;
  margin-top: 0.85rem;
  color: var(--muted-strong);
  font-size: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #93c5fd 0%, #2dd4bf 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cursor {
  display: inline-block;
  width: 4px;
  height: 0.82em;
  margin-left: 6px;
  background: var(--teal);
  border-radius: 4px;
  vertical-align: -0.08em;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.82rem 1.35rem;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--grad);
  border: 0;
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 59, 145, 0.22);
}

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

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(11, 59, 145, 0.28);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--border-blue);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

.btn-sm {
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

#inicio {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  padding: 8.4rem 6vw 3.4rem;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 58%, rgba(15, 159, 143, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(5, 14, 30, 0.98), rgba(7, 24, 51, 0.97) 52%, rgba(13, 74, 92, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 45%, rgba(11, 59, 145, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(5, 14, 30, 0.42), rgba(5, 14, 30, 0.58));
  pointer-events: none;
}

#inicio::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 50%;
  width: min(760px, 80vw);
  height: min(760px, 80vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(15, 159, 143, 0.18) 38%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
  transform: translateY(-32px);
}

.binary-rain {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.68;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 76%, transparent 100%);
}

.binary-rain canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: #a7f3d0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 920px;
  margin: 0 auto 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  line-height: 0.98;
  font-weight: 700;
  color: #fff;
}

.hero-sub {
  max-width: 860px;
  margin: 0 auto 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.55;
}

.hero-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  padding: 0.45rem 0.85rem;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 999px;
  color: #fde68a;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.12);
}

.hero-actions,
.hero-social,
.hero-social-icons,
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions {
  gap: 0.85rem;
}

.hero-badges {
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.15rem 0.2rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hero-badge i {
  color: #a7f3d0;
  filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.5));
}

.hero-social {
  gap: 1rem;
  margin-top: 1.55rem;
}

.hero-social p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-social-icons {
  gap: 0.65rem;
}

.social-link,
.footer-social a,
.floating-btn-main,
.floating-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.12);
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-whatsapp { background: #25d366; }
.social-facebook { background: #1877f2; }
.social-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 52%, #515bd4); }
.social-tiktok { background: #111827; }
.social-email { background: #ea4335; }

.about-grid,
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-grid > *,
.contact-wrap > *,
.about-visual,
.about-card,
.value-item,
.srv-card,
.proj-card {
  min-width: 0;
}

.about-text p,
.srv-card p,
.proc-step p,
.proj-body p,
.proj-cta p {
  color: var(--muted-strong);
}

.about-text p {
  margin-bottom: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.1rem;
}

.value-item,
.srv-card,
.proj-card,
.channel,
.contact-form,
.stat-box,
.about-card,
.social-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(11, 59, 145, 0.14);
  border-radius: 8px;
  box-shadow:
    0 14px 34px rgba(16, 24, 40, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.value-item,
.srv-card,
.proj-body,
.proc-step {
  padding: 1.35rem;
}

.value-item i,
.srv-icon i,
.proc-step i,
.channel-icon i {
  color: var(--blue);
}

.value-item h4,
.srv-card h3,
.proj-body h3,
.proc-step h4,
.contact-form h3,
.social-section h3,
.proj-cta h3 {
  font-family: var(--font-display);
  line-height: 1.2;
}

.value-item h4 {
  margin: 0.65rem 0 0.25rem;
  font-size: 0.98rem;
}

.value-item p {
  color: var(--muted);
  font-size: 0.85rem;
}

.about-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%),
    #071833;
  border-color: rgba(147, 197, 253, 0.28);
  color: #dbe7f3;
  box-shadow:
    0 22px 60px rgba(7, 24, 51, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: rgba(15, 23, 42, 0.78);
  border-bottom: 1px solid rgba(147, 197, 253, 0.16);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c840; }

.file-label,
.code-line,
.proc-num,
.proj-type {
  font-family: var(--font-mono);
}

.file-label {
  margin-left: 0.45rem;
  color: #98a2b3;
  font-size: 0.72rem;
}

.about-card-body {
  padding: 1.4rem;
  overflow-x: auto;
  background:
    radial-gradient(circle at 78% 16%, rgba(45, 212, 191, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(11, 59, 145, 0.16), transparent 42%);
}

.code-line {
  color: #b7c5d6;
  font-size: 0.8rem;
  line-height: 1.85;
  white-space: nowrap;
}

.code-line .kw { color: #7dd3fc; }
.code-line .fn { color: #c4b5fd; }
.code-line .str { color: #86efac; }
.code-line .cm { color: #94a3b8; font-style: italic; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat-box {
  padding: 1.1rem;
  text-align: center;
}

.stat-box .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
}

.stat-box .lbl {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.srv-card,
.proj-card {
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.srv-card:hover,
.proj-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 59, 145, 0.28);
  box-shadow:
    0 24px 60px rgba(16, 24, 40, 0.14),
    0 0 0 1px rgba(15, 159, 143, 0.08);
}

.srv-icon,
.channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  background: var(--grad-soft);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
}

.srv-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.srv-card p {
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
}

.srv-tags,
.proj-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.srv-tag,
.proj-chip {
  padding: 0.22rem 0.55rem;
  background: rgba(11, 59, 145, 0.07);
  border: 1px solid rgba(11, 59, 145, 0.12);
  border-radius: 6px;
  color: var(--muted-strong);
  font-size: 0.7rem;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eaf2fb 100%);
  border: 1px solid rgba(11, 59, 145, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.1);
}

.proc-step {
  position: relative;
  border-right: 1px solid rgba(11, 59, 145, 0.22);
  background: rgba(255, 255, 255, 0.48);
}

.proc-step:last-child {
  border-right: 0;
}

.proc-num {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.6rem;
  background: rgba(11, 59, 145, 0.09);
  border: 1px solid rgba(11, 59, 145, 0.18);
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.proc-step i {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 1.25rem;
}

.proc-step h4 {
  margin-bottom: 0.4rem;
}

.proj-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  background: #dfeaf2;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.proj-thumb img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.proj-card:hover .proj-thumb img {
  transform: scale(1.035);
}

.mock-browser {
  width: 84%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.7rem;
  background: #f2f4f7;
  border-bottom: 1px solid var(--border);
}

.mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.mock-dot.rd { background: #ff5f57; }
.mock-dot.yw { background: #ffbd2e; }
.mock-dot.gn { background: #28c840; }

.mock-url {
  flex: 1;
  height: 10px;
  margin-left: 0.35rem;
  background: #e4e7ec;
  border-radius: 4px;
}

.mock-body {
  padding: 0.85rem;
}

.mock-line {
  height: 8px;
  margin-bottom: 0.5rem;
  background: #d0d5dd;
  border-radius: 4px;
}

.mock-line.accent { background: rgba(15, 159, 143, 0.34); }
.mock-line.short { width: 60%; }
.mock-line.shorter { width: 42%; }

.proj-type {
  margin-bottom: 0.45rem;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.proj-body h3 {
  margin-bottom: 0.45rem;
  font-size: 1.06rem;
}

.proj-body p {
  margin-bottom: 1rem;
  font-size: 0.87rem;
}

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

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.proj-cta {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.22), transparent 38%),
    linear-gradient(135deg, #071833 0%, #102a4c 58%, #1f2937 100%);
  border-color: rgba(245, 158, 11, 0.42);
  color: #fff;
  text-align: center;
}

.cta-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.36);
  border-radius: 999px;
  color: #fde68a !important;
  font-size: 0.76rem !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 1 !important;
}

.proj-cta h3,
.proj-cta p {
  color: #fff;
}

.proj-cta p {
  opacity: 0.88;
}

.proj-cta .srv-icon {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.42);
}

.proj-cta .srv-icon i {
  color: #fbbf24;
  background: none;
  -webkit-text-fill-color: #fbbf24;
}

.proj-cta .srv-icon {
  margin-inline: auto;
}

.proj-cta .btn-primary {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #101828;
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.28);
}

.contact-wrap {
  align-items: start;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 9.4rem 6vw 4.4rem;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(45, 212, 191, 0.2), transparent 28%),
    radial-gradient(circle at 20% 78%, rgba(245, 158, 11, 0.12), transparent 24%),
    linear-gradient(135deg, #071833 0%, #102a4c 58%, #0f766e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.32;
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.contact-hero .tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #a7f3d0;
}

.contact-hero h1 {
  max-width: 760px;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  line-height: 0.98;
  color: #fff;
}

.contact-hero p {
  max-width: 720px;
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.contact-page-section {
  padding-top: 3.8rem;
  background:
    linear-gradient(180deg, #d9e5ef 0%, #cddbe7 100%);
}

.contact-page-wrap {
  align-items: stretch;
  gap: clamp(1.6rem, 4vw, 3.5rem);
}

.contact-page-section .contact-info > .tag,
.contact-page-section .contact-info > .section-title,
.contact-page-section .contact-info > .section-sub {
  display: none;
}

.contact-page-section .contact-channels {
  margin-top: 0;
}

.contact-page-section .channel {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  border-color: rgba(11, 59, 145, 0.18);
}

.contact-page-section .contact-form {
  position: relative;
  border-color: rgba(11, 59, 145, 0.2);
  box-shadow:
    0 24px 70px rgba(7, 24, 51, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.contact-channels {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem;
}

.channel-icon {
  margin-bottom: 0;
}

.channel-label {
  color: var(--muted);
  font-size: 0.76rem;
}

.channel-val {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form {
  padding: 2rem;
}

.contact-form h3 {
  margin-bottom: 1.3rem;
  font-size: 1.2rem;
}

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

.form-group {
  display: grid;
  gap: 0.42rem;
  margin-bottom: 1rem;
}

.form-group label {
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #fbfcfd;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(11, 59, 145, 0.42);
  box-shadow: 0 0 0 4px rgba(11, 59, 145, 0.08);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-alert {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 8px;
  color: #7c2d12;
  font-size: 0.88rem;
}

.form-alert p + p {
  margin-top: 0.25rem;
}

.social-section {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--grad-soft);
  text-align: center;
}

.social-section p {
  margin: 0.35rem 0 1.4rem;
  color: var(--muted-strong);
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: translateY(-3px);
}

footer {
  padding: 2.5rem 6vw;
  background: var(--surface-strong);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-brand span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
}

.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 650;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-copy {
  flex-basis: 100%;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  font-size: 0.78rem;
}

.floating-btn-container {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 150;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.65rem;
}

.floating-btn-main,
.floating-btn-secondary {
  position: relative;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.18);
}

.floating-btn-main {
  width: 58px;
  height: 58px;
  background: #25d366;
  font-size: 2rem;
  animation: whatsappPulse 2.1s ease-in-out infinite;
}

.floating-btn-main::before,
.floating-btn-main::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 3px solid rgba(37, 211, 102, 0.72);
  border-radius: 50%;
  opacity: 0;
  animation: whatsappRing 2.1s ease-out infinite;
}

.floating-btn-main::after {
  animation-delay: 0.7s;
}

.floating-btn-main i {
  position: relative;
  z-index: 1;
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 12px 28px rgba(37, 211, 102, 0.34),
      0 0 0 6px rgba(37, 211, 102, 0.1);
  }
  50% {
    transform: translateY(-4px) scale(1.09);
    box-shadow:
      0 20px 44px rgba(37, 211, 102, 0.5),
      0 0 0 10px rgba(37, 211, 102, 0.16);
  }
}

@keyframes whatsappRing {
  0% {
    opacity: 0.9;
    transform: scale(0.72);
  }
  70%, 100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

.floating-btn-secondary {
  width: 48px;
  height: 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
}

.floating-btn-container:hover .floating-btn-secondary,
.floating-btn-container:focus-within .floating-btn-secondary {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.floating-btn-main:hover,
.floating-btn-secondary:hover {
  transform: translateY(-3px);
}

.floating-btn-label {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.7rem);
  transform: translateY(-50%);
  padding: 0.42rem 0.65rem;
  background: rgba(16, 24, 40, 0.94);
  border-radius: 6px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.floating-btn-main:hover .floating-btn-label,
.floating-btn-secondary:hover .floating-btn-label {
  opacity: 1;
}

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

.reveal.up {
  opacity: 1;
  transform: none;
}

.hero-content.reveal {
  transform: translateY(-8px);
}

.hero-content.reveal.up {
  transform: translateY(-32px);
}

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

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

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

  .proc-step:nth-child(2) {
    border-right: 0;
  }

  .proc-step:nth-child(3),
  .proc-step:nth-child(4) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 880px) {
  .menu-backdrop {
    position: fixed;
    inset: 74px 0 0 0;
    z-index: 190;
    display: block;
    background: rgba(16, 24, 40, 0.44);
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .menu-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  #navbar {
    width: 100%;
    min-height: 74px;
    padding: 0.6rem 1rem;
    gap: 0.75rem;
  }

  .hamburger {
    display: inline-flex;
    position: relative;
    z-index: 230;
    flex: 0 0 auto;
    margin-left: auto;
    width: 50px;
    height: 50px;
    background: var(--blue);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 1.45rem;
    box-shadow: 0 10px 24px rgba(11, 59, 145, 0.28);
  }

  #navbar.scrolled .hamburger {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    bottom: auto;
    z-index: 220;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(82vw, 310px);
    height: calc(100dvh - 74px);
    min-height: calc(100vh - 74px);
    max-height: none;
    padding: 0.7rem 0 1rem;
    background: linear-gradient(180deg, #123d6b 0%, #0e4f73 100%);
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    box-shadow: 20px 0 45px rgba(16, 24, 40, 0.28);
    overflow-y: auto;
    overflow-x: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-menu.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-height: 56px;
    flex: 0 0 56px;
    padding: 0 1.25rem;
    border-radius: 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
  }

  .mobile-menu-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
    padding: 1.1rem 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
  }

  .mobile-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.78rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .mobile-contact-item i {
    color: var(--amber);
    margin-top: 0.15rem;
    flex: 0 0 auto;
  }

  .mobile-socials {
    display: flex;
    gap: 0.55rem;
    padding-top: 0.2rem;
  }

  .mobile-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    flex: 0 0 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .mobile-socials a::before {
    display: none;
  }

  .mobile-socials a:hover {
    background: var(--amber);
    color: #101828;
  }

  .mobile-menu-info {
    align-items: stretch;
    gap: 1rem;
    margin: 6rem 1rem 0;
    padding: 1rem 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    text-align: left;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 12px 24px rgba(0, 0, 0, 0.12);
  }

  .mobile-contact-item {
    justify-content: flex-start;
    width: 100%;
    font-size: 0.76rem;
    line-height: 1.65;
  }


  .mobile-socials {
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 0.85rem;
    margin-top: 0.35rem;
  }

  .mobile-socials a {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  }

  .mobile-socials a[href*="wa.me"] {
    background: #25d366;
    border-color: rgba(37, 211, 102, 0.55);
  }

  .mobile-socials a[href*="facebook.com"] {
    background: #1877f2;
    border-color: rgba(24, 119, 242, 0.55);
  }

  .mobile-socials a[href*="instagram.com"] {
    background: linear-gradient(135deg, #f58529, #dd2a7b 52%, #515bd4);
    border-color: rgba(221, 42, 123, 0.55);
  }

  .mobile-socials a[href*="tiktok.com"] {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.2);
  }

  .mobile-socials a[href^="mailto:"] {
    background: #ea4335;
    border-color: rgba(234, 67, 53, 0.55);
  }

  .nav-menu li:last-child a {
    border-bottom: 0;
  }

  .nav-menu a::before {
    inset: 6px 0.75rem;
    width: auto;
    height: auto;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 6px;
    transform: scale(0.96);
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: rgba(245, 158, 11, 0.12);
    color: #fff;
    transform: none;
  }

  .nav-menu a:hover::before,
  .nav-menu a.active::before {
    opacity: 1;
    transform: scale(1);
  }

  #navbar.scrolled .nav-menu {
    background: linear-gradient(180deg, #123d6b 0%, #0e4f73 100%);
    border-color: rgba(255, 255, 255, 0.12);
  }

  #navbar.scrolled .nav-menu a {
    color: #fff;
  }

  #navbar.scrolled .nav-menu a:hover,
  #navbar.scrolled .nav-menu a.active {
    background: rgba(245, 158, 11, 0.12);
    color: #fff;
  }

  .nav-brand {
    min-width: 0;
    max-width: calc(100% - 64px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.6rem 5vw;
  }

  .contact-hero {
    padding: 7.2rem 5vw 3.2rem;
  }

  .contact-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

  .contact-hero-actions,
  .contact-hero-actions .btn-primary,
  .contact-hero-actions .btn-outline {
    width: 100%;
  }

  .contact-page-section {
    padding-top: 2.4rem;
  }

  #inicio {
    min-height: auto;
    padding: 7.2rem 5vw 3.4rem;
  }

  .hero-content {
    transform: translateY(-16px);
  }

  .hero-content.reveal.up {
    transform: translateY(-24px);
  }

  .binary-rain {
    opacity: 0.18;
  }

  .nav-brand {
    font-size: 0.86rem;
    min-width: 0;
    gap: 0.45rem;
  }

  .nav-logo {
    width: 36px;
    height: 36px;
  }

  .hero-title {
    font-size: clamp(2.3rem, 14vw, 3.6rem);
  }

  .hero-sub {
    font-size: 0.98rem;
  }

  .hero-actions,
  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 0.55rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: auto;
    flex: 1 1 0;
    min-height: 44px;
    padding: 0.68rem 0.65rem;
    font-size: 0.82rem;
    gap: 0.38rem;
    white-space: nowrap;
  }

  .services-grid,
  .projects-grid,
  .process-row,
  .about-values,
  .form-row {
    grid-template-columns: 1fr;
  }

  .proc-step {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .proc-step:last-child {
    border-bottom: 0;
  }

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

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .floating-btn-container {
    right: 1rem;
    bottom: 1rem;
  }

  .about-card-body {
    padding: 1rem;
  }

  .code-line {
    font-size: 0.72rem;
  }
}

@media (max-width: 360px) {
  #navbar {
    gap: 0.5rem;
    min-height: 64px;
    padding-inline: 0.7rem;
  }

  #navbar.scrolled {
    min-height: 60px;
  }

  .nav-brand {
    font-size: 0.72rem;
    max-width: calc(100% - 52px);
  }

  .nav-logo {
    width: 30px;
    height: 30px;
  }

  .hamburger {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    flex: 0 0 auto;
  }

  .nav-menu {
    top: 100%;
    left: 0;
    width: min(86vw, 285px);
    height: calc(100dvh - 64px);
    min-height: calc(100vh - 64px);
  }

  .menu-backdrop {
    inset: 64px 0 0 0;
  }

  .hero-title {
    font-size: clamp(2rem, 15vw, 3rem);
  }

  .value-item,
  .srv-card,
  .proj-body,
  .proc-step,
  .contact-form,
  .social-section {
    padding: 1rem;
  }

  .mobile-menu-info {
    margin-top: 4.5rem;
  }

  .hero-actions {
    gap: 0.4rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    min-height: 42px;
    padding: 0.62rem 0.45rem;
    font-size: 0.74rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
