:root {
  --bg: #eef3f8;
  --bg-soft: #f8fbff;
  --bg-gradient-start: #edf3f8;
  --bg-gradient-end: #e8eff6;

  --orb-cyan: rgba(34, 211, 238, 0.08);
  --orb-green: rgba(34, 197, 94, 0.06);

  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-bg-strong: rgba(255, 255, 255, 0.96);
  --card-featured-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.92));
  --project-section-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.18));

  --line: rgba(15, 23, 42, 0.12);
  --line-soft: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);

  --text: #0f172a;
  --muted: #5f6f86;
  --placeholder: #94a3b8;

  --primary: #22d3ee;
  --primary-strong: #0ea5e9;
  --accent: #22c55e;

  --badge-bg: rgba(34, 197, 94, 0.1);
  --badge-text: #15803d;

  --input-bg: #f4f7fb;
  --input-focus-bg: #ffffff;

  --btn-ghost-bg: rgba(255, 255, 255, 0.7);
  --btn-ghost-hover-bg: rgba(255, 255, 255, 0.95);

  --white: #ffffff;
  --dark: #020617;

  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 18px 50px rgba(15, 23, 42, 0.07);
  --shadow-card-hover: 0 30px 70px rgba(15, 23, 42, 0.12);
  --shadow-featured:
    0 24px 60px rgba(14, 165, 233, 0.12),
    0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-featured-hover:
    0 35px 90px rgba(2, 6, 23, 0.14),
    0 0 30px rgba(34, 211, 238, 0.1);
  --shadow-form: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-form-hover:
    0 28px 80px rgba(2, 6, 23, 0.1),
    0 0 24px rgba(34, 211, 238, 0.05);

  --radius: 20px;
  --radius-lg: 24px;
  --radius-md: 14px;

  --container: 1120px;
  --nav-h: 84px;

  --nav-bg: rgba(255, 255, 255, 0.68);
  --nav-border: rgba(15, 23, 42, 0.08);

  --glow-one: rgba(34, 211, 238, 0.12);
  --glow-two: rgba(34, 197, 94, 0.1);

  --selection-bg: rgba(14, 165, 233, 0.18);
  --selection-text: #0f172a;
}

html[data-theme="dark"] {
  --bg: #020617;
  --bg-soft: #0b1220;
  --bg-gradient-start: #020617;
  --bg-gradient-end: #071120;

  --orb-cyan: rgba(34, 211, 238, 0.09);
  --orb-green: rgba(34, 197, 94, 0.07);

  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --card-bg: rgba(11, 18, 32, 0.72);
  --card-bg-strong: rgba(10, 16, 28, 0.88);
  --card-featured-bg: linear-gradient(180deg, rgba(8, 18, 34, 0.94), rgba(10, 28, 46, 0.88));
  --project-section-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015));

  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #e5eefc;
  --muted: #94a3b8;
  --placeholder: rgba(148, 163, 184, 0.72);

  --primary: #67e8f9;
  --primary-strong: #22d3ee;
  --accent: #34d399;

  --badge-bg: rgba(52, 211, 153, 0.14);
  --badge-text: #86efac;

  --input-bg: rgba(255, 255, 255, 0.04);
  --input-focus-bg: rgba(255, 255, 255, 0.06);

  --btn-ghost-bg: rgba(255, 255, 255, 0.03);
  --btn-ghost-hover-bg: rgba(255, 255, 255, 0.07);

  --white: #ffffff;
  --dark: #03110d;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-card:
    0 20px 60px rgba(0, 0, 0, 0.32);
  --shadow-card-hover:
    0 30px 80px rgba(0, 0, 0, 0.42);
  --shadow-featured:
    0 24px 60px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(34, 211, 238, 0.1);
  --shadow-featured-hover:
    0 35px 90px rgba(0, 0, 0, 0.48),
    0 0 30px rgba(34, 211, 238, 0.14);
  --shadow-form:
    0 20px 60px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(34, 211, 238, 0.05);
  --shadow-form-hover:
    0 28px 80px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(34, 211, 238, 0.08);

  --nav-bg: rgba(2, 6, 23, 0.72);
  --nav-border: rgba(255, 255, 255, 0.08);

  --glow-one: rgba(34, 211, 238, 0.16);
  --glow-two: rgba(52, 211, 153, 0.12);

  --selection-bg: rgba(34, 211, 238, 0.22);
  --selection-text: #f8fafc;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

html {
  scroll-behavior: smooth;
  font-size-adjust: 0.5;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 20% 0%, var(--orb-cyan), transparent 26%),
    radial-gradient(circle at 75% 18%, var(--orb-green), transparent 22%),
    linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition:
    background 0.35s ease,
    color 0.35s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

main {
  display: block;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--nav-h);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    background 0.35s ease,
    border-color 0.35s ease;
}

.nav-content {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 120px;
  height: 40px;
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
}

.logo strong,
.logo small {
  display: block;
  line-height: 1.1;
}

.logo strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.logo small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.logo:hover .logo-box img {
  transform: scale(1.03);
  filter: drop-shadow(0 10px 20px rgba(14, 165, 233, 0.12));
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu a {
  position: relative;
  color: var(--muted);
  transition:
    color 0.2s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu a:hover {
  color: var(--text);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu a:hover::after {
  transform: scaleX(1);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--btn-ghost-bg);
  color: var(--text);
  font-weight: 700;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background-color 0.35s ease,
    opacity 0.35s ease,
    color 0.35s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.015);
}

.btn:active {
  transform: translateY(0) scale(0.995);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.2);
}

html[data-theme="dark"] .btn.primary {
  color: #03110d;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.2);
}

.btn.primary:hover {
  opacity: 0.97;
}

.btn.ghost {
  border-color: var(--line-soft);
  background: var(--btn-ghost-bg);
  color: var(--text);
}

.btn.ghost:hover {
  background: var(--btn-ghost-hover-bg);
  border-color: var(--line-strong);
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  align-items: center;
  overflow: clip;
}

.hero-text {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
  font-weight: 800;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--primary-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.glow-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform, opacity;
  animation: floatOrb 8s ease-in-out infinite;
}

.glow-orb.one {
  top: 6%;
  right: 8%;
  width: 260px;
  height: 260px;
  background: var(--glow-one);
}

.glow-orb.two {
  bottom: 10%;
  right: 16%;
  width: 220px;
  height: 220px;
  background: var(--glow-two);
  animation-duration: 10s;
  animation-delay: -2s;
}

/* SECTIONS */
.section {
  padding: 88px 0;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section > p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.7;
}

#servicios,
#proyectos,
#contacto {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

#proyectos {
  background: var(--project-section-bg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
  padding: 40px;
}

html[data-theme="dark"] #proyectos {
  border-color: rgba(255, 255, 255, 0.06);
}

/* GRID / CARDS */
.grid {
  display: grid;
  gap: 20px;
}

.projects-grid {
  grid-template-columns: 1.5fr 1fr;
}

.servicios-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.project-card,
.servicio-card,
.contact-form {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background-color 0.35s ease,
    opacity 0.35s ease,
    filter 0.35s ease,
    color 0.35s ease;
}

.card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card:hover,
.project-card:hover,
.servicio-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-card-hover);
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.card p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-card.featured {
  min-height: 320px;
}

.project-card.featured:hover,
.servicio-card.featured:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-featured-hover);
}

.project-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.project-tags,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tags {
  margin: 18px 0 24px;
}

.project-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  background: var(--panel);
}

/* SERVICIOS */
.servicio-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0.98;
}

.servicio-icon {
  font-size: 28px;
}

.servicio-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.servicio-card ul li {
  margin-bottom: 6px;
}

.servicio-card a {
  margin-top: auto;
}

.servicio-card.featured {
  position: relative;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: var(--card-featured-bg);
  box-shadow: var(--shadow-featured);
}

html[data-theme="dark"] .servicio-card.featured {
  border-color: rgba(34, 211, 238, 0.18);
}

.servicio-card.featured::before {
  content: "Más vendido";
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

html[data-theme="dark"] .servicio-card.featured::before {
  color: #03110d;
}

/* CONTACTO */
#contacto {
  text-align: center;
}

.contact-form {
  min-height: 320px;
  margin: 2rem auto 0;
  max-width: 720px;
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: var(--card-bg-strong);
  box-shadow: var(--shadow-form);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-form:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: var(--shadow-form-hover);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  background: var(--input-bg);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--placeholder);
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(14, 165, 233, 0.16);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
  background: var(--input-focus-bg);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  justify-self: end;
  min-height: 48px;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

html[data-theme="dark"] .contact-form button {
  color: #03110d;
}

.contact-form button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.28);
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-message.success {
  color: #16a34a;
}

.form-message.error {
  color: #dc2626;
}

/* FOOTER */
.footer {
  padding: 28px 16px 44px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-34px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.show {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(34px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-zoom.show {
  opacity: 1;
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.delay-4 {
  transition-delay: 0.32s;
}

/* HERO ENTRY */
.hero-text > * {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-text > *:nth-child(1) {
  animation-delay: 0.05s;
}

.hero-text > *:nth-child(2) {
  animation-delay: 0.18s;
}

.hero-text > *:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -14px, 0) scale(1.04);
  }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .servicios-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

@media (max-width: 640px) {
  .nav-content {
    gap: 12px;
  }

  .logo small {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .card {
    padding: 20px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form button {
    width: 100%;
    justify-self: stretch;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
  }

  #proyectos {
    padding: 24px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after,
  .hero-text > *,
  .glow-orb,
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-zoom,
  .card,
  .btn,
  .project-card,
  .servicio-card,
  .contact-form,
  .menu a,
  .logo-box img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* TRUST SECTION */
#confianza {
  padding-top: 12px;
}

.trust-wrap {
  position: relative;
  border-radius: 30px;
  padding: 38px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.2));
  border: 1px solid rgba(255,255,255,0.4);
  overflow: hidden;
}

html[data-theme="dark"] .trust-wrap {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border-color: rgba(255,255,255,0.06);
}

.trust-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.trust-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

html[data-theme="dark"] .trust-kicker {
  background: rgba(34, 211, 238, 0.12);
  color: var(--primary);
}

.trust-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.trust-intro p {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
  line-height: 1.8;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.trust-card {
  min-height: 100%;
  gap: 12px;
}

.trust-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 24px;
  background: rgba(14, 165, 233, 0.08);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.08);
}

html[data-theme="dark"] .trust-icon {
  background: rgba(34, 211, 238, 0.08);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.1);
}

.trust-band {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

html[data-theme="dark"] .trust-band {
  background: rgba(255,255,255,0.03);
}

.trust-band strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.trust-band p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .trust-wrap {
    padding: 24px;
    border-radius: 24px;
  }

  .trust-band {
    padding: 18px;
  }

  .trust-band .btn {
    width: 100%;
  }
}


.project-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.project-media {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* hover premium */
.project-card:hover .project-media img {
  transform: scale(1.05);
}

/* contenido */
.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}



.project-media {
  position: relative;
  height: 280px;
  padding: 20px;
  background: linear-gradient(135deg, #eaf2f8, #dfe9f3);
  overflow: hidden;
}

html[data-theme="dark"] .project-media {
  background: linear-gradient(135deg, #0b1220, #020617);
}

.mockup {
  position: relative;
  width: 100%;
  height: 100%;
}

/* DESKTOP */
.mockup-desktop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;

  box-shadow:
    0 20px 40px rgba(0,0,0,0.18),
    0 10px 20px rgba(0,0,0,0.1);

  transition: transform 0.6s ease;
}

/* MOBILE flotando */
.mockup-mobile {
  position: absolute;
  right: 30px;
  bottom: -10px;

  width: 120px;
  height: auto;

  border-radius: 18px;

  box-shadow:
    0 25px 50px rgba(0,0,0,0.35),
    0 10px 25px rgba(0,0,0,0.2);

  transform: rotate(-6deg);
  transition: transform 0.6s ease;
}

/* HOVER */
.project-card:hover .mockup-desktop {
  transform: scale(1.03);
}

.project-card:hover .mockup-mobile {
  transform: rotate(-3deg) translateY(-6px) scale(1.05);
}

.mockup-mobile::after {
  content: "";
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(34,211,238,0.2), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .mockup-mobile::after {
  opacity: 1;
}

.projects-featured {
  margin-bottom: 28px;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 980px) {
  .projects-list {
    grid-template-columns: 1fr;
  }
}
.projects-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.projects-featured {
  margin-bottom: 28px;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 980px) {
  .projects-list {
    grid-template-columns: 1fr;
  }
}