/* ============================================================================
   TechDev · Landing pública
   Tema oscuro + glassmorphism + azul eléctrico
   ========================================================================== */

:root {
  --bg: #05070f;
  --bg-soft: #080d18;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --blue: #2f7cff;
  --blue-bright: #5b9bff;
  --cyan: #45e0ff;
  --green: #25d366;
  --text: #eef3ff;
  --muted: #96a5c4;
  --muted-strong: #b8c6e2;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 28px 80px -40px rgba(0, 0, 0, 0.95);
  --shadow-blue: 0 24px 70px -32px rgba(47, 124, 255, 0.6);
  --header-h: 76px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(69, 224, 255, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ------------------------------------------------------------------ loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(47, 124, 255, 0.18), transparent 70%),
    #04060d;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__mark {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.loader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--cyan);
  border-right-color: rgba(47, 124, 255, 0.7);
  animation: spin 1.1s linear infinite;
}

.loader__ring--delayed {
  inset: 12px;
  border-top-color: transparent;
  border-bottom-color: var(--blue);
  animation-duration: 1.7s;
  animation-direction: reverse;
}

.loader__logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.05em;
  color: #cfe2ff;
  text-shadow: 0 0 22px rgba(69, 224, 255, 0.45);
}

.loader__brand {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.loader__text {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.loader__dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 4px;
}

.loader__dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 1.2s infinite ease-in-out;
}

.loader__dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.loader__dots i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

/* ---------------------------------------------------------------- backdrop */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% -10%, rgba(47, 124, 255, 0.16), transparent 60%),
    radial-gradient(50% 40% at 90% 10%, rgba(69, 224, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #05070f 0%, #060a14 45%, #04060c 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}

.orb--1 {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: rgba(47, 124, 255, 0.32);
}

.orb--2 {
  width: 420px;
  height: 420px;
  top: 38%;
  right: -160px;
  background: rgba(69, 224, 255, 0.14);
  animation-delay: -6s;
}

.orb--3 {
  width: 380px;
  height: 380px;
  bottom: -180px;
  left: 38%;
  background: rgba(84, 68, 255, 0.2);
  animation-delay: -11s;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
  opacity: 0.7;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, -35px, 0) scale(1.06);
  }
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 8, 16, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 40px -32px rgba(0, 0, 0, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #dcebff;
  background: linear-gradient(145deg, rgba(47, 124, 255, 0.35), rgba(69, 224, 255, 0.12));
  border: 1px solid rgba(102, 163, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 30px -18px rgba(47, 124, 255, 0.9);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand__text small {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.nav__link {
  position: relative;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--muted-strong);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav__link.is-active::after {
  width: 18px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lang-switch:hover {
  color: #fff;
  border-color: rgba(102, 163, 255, 0.5);
  background: rgba(47, 124, 255, 0.14);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #dbe7ff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #2f7cff 0%, #1e5cd6 100%);
  border-color: rgba(140, 185, 255, 0.45);
  box-shadow: 0 18px 40px -22px rgba(47, 124, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -20px rgba(47, 124, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: rgba(102, 163, 255, 0.55);
  background: rgba(47, 124, 255, 0.12);
  transform: translateY(-2px);
}

.btn--small {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn--whatsapp {
  color: #042412;
  background: linear-gradient(135deg, #4cf08a 0%, var(--green) 100%);
  border-color: rgba(210, 255, 226, 0.5);
  box-shadow: 0 18px 44px -20px rgba(37, 211, 102, 0.8);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px -18px rgba(37, 211, 102, 0.95);
}

.btn--whatsapp svg {
  fill: currentColor;
  stroke: none;
  width: 20px;
  height: 20px;
}

/* ---------------------------------------------------------------- glass UI */
.glass {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ------------------------------------------------------------------ layout */
.section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-sub {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
}

.text-gradient {
  background: linear-gradient(100deg, #7cb6ff 0%, var(--cyan) 55%, #9c8bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------------- hero */
.hero {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 15px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #cfe0ff;
  background: rgba(47, 124, 255, 0.1);
  border: 1px solid rgba(93, 151, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.badge__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4cf08a;
  box-shadow: 0 0 12px rgba(76, 240, 138, 0.9);
}

.badge__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(76, 240, 138, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  display: flex;
  flex-direction: column;
}

.hero__title > span {
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 34rem;
  margin: 0 0 32px;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 22px 4px 0;
  border-top: 1px solid var(--line);
}

.stat {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat__value {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.stat__label {
  margin: 2px 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  min-width: 0;
}

.hero__glow {
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(circle at 60% 40%, rgba(47, 124, 255, 0.38), transparent 62%);
  filter: blur(38px);
  z-index: 0;
}

.hero__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 10px;
  border-radius: 28px;
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero__frame:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-6px);
}

.hero__frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero__chip {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(10, 16, 30, 0.86);
  box-shadow: var(--shadow-blue);
}

.hero__chip-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.hero__chip-label {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero__float {
  position: absolute;
  z-index: 2;
  right: -8px;
  top: 12%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(9, 15, 28, 0.8);
  animation: bob 6s ease-in-out infinite;
}

.hero__float-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.hero__float-line {
  width: 64px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.hero__float-line--short {
  width: 38px;
  background: rgba(47, 124, 255, 0.5);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ---------------------------------------------------------------- services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 28px 26px 30px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 148, 255, 0.45);
  box-shadow: var(--shadow), 0 24px 60px -34px rgba(47, 124, 255, 0.75);
}

.service-card__index {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.22);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  font-size: 1.4rem;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(47, 124, 255, 0.28), rgba(69, 224, 255, 0.08));
  border: 1px solid rgba(93, 151, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card__title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.service-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.service-card__sheen {
  position: absolute;
  inset: auto -40% -60% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(69, 224, 255, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover .service-card__sheen {
  opacity: 1;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: clamp(26px, 4vw, 40px);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(47, 124, 255, 0.22), transparent 60%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
}

.cta-band h3 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.015em;
}

.cta-band p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------- projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 148, 255, 0.4);
  box-shadow: var(--shadow), 0 26px 60px -36px rgba(47, 124, 255, 0.7);
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0a1120;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-card__media img {
  transform: scale(1.05);
}

.project-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 70% 20%, rgba(69, 224, 255, 0.22), transparent 55%),
    linear-gradient(145deg, #0b1730, #070b16 70%);
}

.project-card__placeholder span {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(160, 197, 255, 0.5);
  text-transform: uppercase;
}

.project-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px 26px;
}

.project-card__title {
  margin: 0;
  font-size: 1.16rem;
  letter-spacing: -0.015em;
}

.project-card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  white-space: pre-line;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 4px 11px;
  font-size: 0.71rem;
  letter-spacing: 0.02em;
  color: #bcd4ff;
  background: rgba(47, 124, 255, 0.12);
  border: 1px solid rgba(93, 151, 255, 0.24);
  border-radius: 999px;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue-bright);
}

.project-card__link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.project-card__link:hover svg {
  transform: translate(2px, -2px);
}

.empty-state {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

/* ------------------------------------------------------------------- about */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(34px, 5vw, 68px);
}

.about__media {
  position: relative;
}

.about__frame {
  position: relative;
  margin: 0;
  padding: 10px;
  border-radius: 26px;
}

.about__frame img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 18px;
}

.about__badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  display: flex;
  flex-direction: column;
  padding: 16px 22px;
  border-radius: 18px;
  background: rgba(9, 15, 28, 0.9);
  box-shadow: var(--shadow-blue);
}

.about__badge strong {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.about__badge span {
  max-width: 140px;
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--muted);
}

.about__content .section-title {
  margin-bottom: 18px;
}

.about__text {
  margin: 0 0 14px;
  font-size: 0.96rem;
  color: var(--muted);
  white-space: pre-line;
}

.about__points {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.about__point {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.about__check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(47, 124, 255, 0.16);
  border: 1px solid rgba(93, 151, 255, 0.3);
}

.about__check svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__point strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
}

.about__point p {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ----------------------------------------------------------------- contact */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(47, 124, 255, 0.28), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.contact__content {
  position: relative;
  z-index: 1;
}

.contact__content .section-title {
  margin-bottom: 12px;
}

.contact__content .section-sub {
  max-width: 30rem;
  margin-bottom: 26px;
}

.contact__hint {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.contact__cards {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: center;
}

.contact__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.036);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact__card:hover {
  border-color: rgba(93, 151, 255, 0.4);
  background: rgba(47, 124, 255, 0.08);
}

.contact__card-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 1rem;
  background: rgba(47, 124, 255, 0.14);
  border: 1px solid rgba(93, 151, 255, 0.26);
}

.contact__card-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__card strong {
  font-size: 0.94rem;
  font-weight: 600;
  align-self: end;
}

.contact__card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  position: relative;
  margin-top: clamp(24px, 4vw, 48px);
  padding: 64px 0 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.4), rgba(4, 6, 12, 0.9));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer__brand p {
  max-width: 26rem;
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col h3 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.footer__col a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer__col a:hover {
  color: #fff;
}

.footer__col p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer__admin {
  width: fit-content;
  margin-top: 6px;
  padding: 4px 10px;
  font-size: 0.72rem !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  opacity: 0.7;
}

.footer__admin:hover {
  opacity: 1;
  border-color: rgba(93, 151, 255, 0.5);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

.footer__bottom p {
  margin: 0;
}

.footer__muted {
  opacity: 0.6;
}

/* -------------------------------------------------------------- whatsapp fab */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #06210f;
  background: linear-gradient(135deg, #5af59b, var(--green));
  box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.65);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fab-in 0.8s 1.2s both;
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, 0.55);
  animation: pulse 2.6s ease-out infinite;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 50px -12px rgba(37, 211, 102, 0.8);
}

@keyframes fab-in {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ------------------------------------------------------------------- toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  max-width: min(92vw, 420px);
  padding: 12px 20px;
  font-size: 0.86rem;
  color: #eaf2ff;
  background: rgba(10, 16, 30, 0.95);
  border: 1px solid rgba(93, 151, 255, 0.35);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------------------------------------------ reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.services-grid .reveal:nth-child(2),
.projects-grid .reveal:nth-child(2),
.about__points .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.services-grid .reveal:nth-child(3),
.projects-grid .reveal:nth-child(3),
.about__points .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.services-grid .reveal:nth-child(4),
.projects-grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.services-grid .reveal:nth-child(5) {
  transition-delay: 0.08s;
}

.services-grid .reveal:nth-child(6) {
  transition-delay: 0.16s;
}

.services-grid .reveal:nth-child(7) {
  transition-delay: 0.24s;
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__col--meta {
    grid-column: span 3;
  }
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  :root {
    --header-h: 68px;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 14px;
    right: 14px;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: rgba(7, 12, 24, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.98rem;
  }

  .nav__link.is-active {
    background: rgba(47, 124, 255, 0.14);
  }

  .nav__actions {
    margin: 10px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 960px) {
  .hero__grid,
  .about,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .hero__frame {
    transform: none;
  }

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

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__content {
    text-align: center;
  }

  .hero__actions,
  .hero__stats {
    justify-content: center;
  }

  .hero__stats {
    text-align: left;
  }
}

@media (max-width: 960px) {
  .about__media {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .about__content {
    order: 0;
  }

  .about__badge {
    right: 8px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer__col--meta {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact {
    padding: 26px 22px 30px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .brand__text small {
    display: none;
  }

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

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    padding-top: 18px;
  }

  .stat__label {
    font-size: 0.74rem;
  }

  .hero__chip {
    left: 4px;
    bottom: 12px;
    padding: 10px 14px;
  }

  .hero__float {
    display: none;
  }

  .section-head {
    text-align: left;
  }

  .section-head .eyebrow::before {
    display: none;
  }

  .cta-band .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer__col--meta {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .whatsapp-fab {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }

  .contact__card {
    padding: 16px;
  }
}

@media (max-width: 375px) {
  .hero__title {
    font-size: 2.05rem;
  }

  .badge {
    font-size: 0.72rem;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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