/* =========================================================
   MECATRONICOS RD
   Identidad industrial moderna / humana / tecnológica
   Negro + blanco + gris técnico + acento industrial sutil
   ========================================================= */

/* =========================
   VARIABLES
========================= */

:root {
  --black: #020202;
  --black-2: #070707;
  --black-3: #101010;

  --white: #ffffff;
  --white-soft: #f5f5f5;

  --gray-100: #f4f4f4;
  --gray-200: #e7e7e7;
  --gray-300: #cfcfcf;
  --gray-400: #a8a8a8;
  --gray-500: #7a7a7a;
  --gray-700: #222222;

  --industrial: #d8b24c;
  --industrial-soft: rgba(216, 178, 76, 0.16);

  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);

  --card: rgba(255, 255, 255, 0.07);
  --card-hover: rgba(255, 255, 255, 0.12);

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.25);
  --shadow-strong: 0 30px 90px rgba(0, 0, 0, 0.42);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 34px;
  --radius-pill: 999px;

  --container: 1240px;
  --transition: 0.28s ease;
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
   font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #030303;
}

::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 999px;
}

/* =========================
   ACCESIBILIDAD
========================= */

:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 1260px);
  z-index: 999;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  transition: var(--transition);
}

.navbar.scrolled {
  top: 10px;
  transform: translateX(-50%) scale(0.985);
}

.navbar .container {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu a {
  position: relative;
  color: #111111;
  font-size: 16px;
  font-weight: 520;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: #111111;
  border-radius: 999px;
  transition: var(--transition);
}

.menu a:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile {
  display: none;
  color: #111111;
  font-size: 26px;
  cursor: pointer;
}

/* =========================
   BOTONES
========================= */

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  padding: 17px 30px;
  background: var(--white);
  color: #101010;
  border: 2px solid var(--white);
  box-shadow: none;
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
}

.btn-secondary {
  padding: 17px 30px;
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: #101010;
  transform: translateY(-3px);
}

.btn-outline {
  padding: 15px 30px;
  background: #111111;
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
}

.btn-outline:hover {
  background: #000000;
  transform: translateY(-2px);
}

#theme {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  border: none;
  background: #111111;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

#theme:hover {
  transform: translateY(-2px) rotate(-8deg);
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;
  padding: 150px 0 70px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.88) 44%, rgba(0, 0, 0, 0.35) 100%),
    radial-gradient(circle at 72% 50%, rgba(255, 255, 255, 0.08), transparent 34%),
    var(--black);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 42px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  margin-bottom: 26px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 13px;
  font-weight: 650;
  backdrop-filter: blur(10px);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: -0.052em;
}

.hero h1 span {
  display: block;
  color: var(--white);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero p {
  max-width: 670px;
  margin-bottom: 40px;
  color: #d8d8d8;
  font-size: 18px;
  font-weight: 390;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}

/* =========================
   ESTADÍSTICAS
========================= */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 760px;
}

.stats div {
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.stats div:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--line-strong);
}

.stats h2 {
  color: var(--white);
  font-size: 34px;
  font-weight: 820;
  line-height: 1;
  margin-bottom: 8px;
}

.stats span {
  color: #cfcfcf;
  font-size: 13px;
  font-weight: 500;
}

/* =========================
   HERO VISUAL
========================= */

.hero-image {
  position: relative;
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  width: min(90%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-image img {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  filter: drop-shadow(0 42px 82px rgba(0, 0, 0, 0.72));
  animation: robotBreath 7s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  z-index: 3;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--white);
  color: #111111;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 680;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
  animation: softFloat 5.5s ease-in-out infinite;
}

.floating-card i {
  color: #111111;
  font-size: 18px;
}

.floating-card.one {
  top: 20%;
  left: 6%;
}

.floating-card.two {
  top: 42%;
  right: 1%;
  animation-delay: 0.5s;
}

.floating-card.three {
  bottom: 18%;
  left: 15%;
  animation-delay: 1s;
}

@keyframes robotBreath {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.012);
  }
}

@keyframes softFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* =========================
   BRANDS / MARQUEE CORREGIDO
========================= */

.brands {
  padding: 42px 0 86px;
  overflow: hidden;
  position: relative;
  background: var(--black);
}

.brands::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    var(--black) 0%,
    transparent 12%,
    transparent 88%,
    var(--black) 100%
  );
  pointer-events: none;
}

.brands p {
  margin-bottom: 26px;
  text-align: center;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}

.brand-slider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: brandMove 22s linear infinite;
  will-change: transform;
}

.brand-slider:hover {
  animation-play-state: paused;
}

.brand-slider div {
  min-width: 170px;
  height: 68px;
  padding: 0 24px;
  border-radius: 16px;
  background: #ffffff;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  flex-shrink: 0;
  transition: 0.28s ease;
}

.brand-slider div:hover {
  transform: translateY(-4px);
  background: #eeeeee;
}

.brand-slider i {
  color: #111111;
  font-size: 24px;
}

@keyframes brandMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =========================
   TÍTULOS DE SECCIÓN
========================= */

.section-title {
  max-width: 820px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-title span,
.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 820;
  letter-spacing: -0.045em;
}

.section-title p {
  color: #cfcfcf;
  font-size: 16px;
}

/* =========================
   SOLUCIONES
========================= */

#soluciones {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.055), transparent 32%),
    var(--black);
}

.solutions-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.solution-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: var(--transition);
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), transparent 48%);
  opacity: 0;
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-7px);
  background: var(--card-hover);
  border-color: var(--line-strong);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card .icon {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: transparent;
  border: 1px solid var(--line);
  transition: var(--transition);
}

.solution-card .icon i {
  color: var(--white);
  font-size: 24px;
  transition: var(--transition);
}

.solution-card:hover .icon {
  background: var(--white);
}

.solution-card:hover .icon i {
  color: #111111;
}

.solution-card h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.015em;
}

.solution-card p {
  position: relative;
  z-index: 2;
  color: #c9c9c9;
  font-size: 14.5px;
}

/* =========================
   TECNOLOGÍAS
========================= */

.technologies {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  background: #050505;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.technologies::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  pointer-events: none;
}

.tech-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.tech-grid div {
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.tech-grid div:hover {
  transform: translateY(-5px);
  background: var(--white);
  color: #111111;
}

.tech-grid i {
  color: currentColor;
  font-size: 31px;
}

.tech-grid span {
  color: currentColor;
  font-size: 13.5px;
  font-weight: 650;
}

/* =========================
   CLOUD
========================= */

.cloud-section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.055), transparent 35%),
    var(--black);
}

.cloud-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cloud-card {
  min-height: 230px;
  padding: 30px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.cloud-card:hover {
  transform: translateY(-7px);
  background: var(--card-hover);
  border-color: var(--line-strong);
}

.cloud-card i {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 25px;
  transition: var(--transition);
}

.cloud-card:hover i {
  background: var(--white);
  color: #111111;
}

.cloud-card h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 21px;
  font-weight: 720;
}

.cloud-card p {
  color: #c9c9c9;
  font-size: 14.5px;
}

/* =========================
   PROYECTOS
========================= */

.projects {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  background: #050505;
}

.projects-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  background: var(--card-hover);
  border-color: var(--line-strong);
}

.project-card img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  transition: var(--transition);
}

.project-card:hover img {
  transform: scale(1.045);
  filter: grayscale(0%) contrast(1.06);
}

.project-card .content {
  padding: 28px;
}

.project-card .content span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card .content h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.project-card .content p {
  margin-bottom: 20px;
  color: #c9c9c9;
  font-size: 14.5px;
}

.project-card .content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 720;
  transition: var(--transition);
}

.project-card .content a::after {
  content: "→";
  transition: var(--transition);
}

.project-card .content a:hover::after {
  transform: translateX(5px);
}

/* =========================
   CTA
========================= */

.cta-section {
  padding: 116px 0;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.cta-box {
  max-width: 1050px;
  margin: 0 auto;
  padding: 72px 60px;
  border-radius: 34px;
  text-align: center;
  background: var(--white);
  color: #111111;
  overflow: hidden;
}

.cta-box .section-badge {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
  color: #111111;
}

.cta-box h2 {
  max-width: 850px;
  margin: 0 auto 22px;
  color: #111111;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: -0.052em;
}

.cta-box p {
  max-width: 760px;
  margin: 0 auto 34px;
  color: #333333;
  font-size: 16.5px;
}

.cta-box .btn-primary {
  background: #111111;
  color: var(--white);
  border-color: #111111;
}

.cta-box .btn-primary:hover {
  background: transparent;
  color: #111111;
}

.cta-box .btn-secondary {
  color: #111111;
  border-color: #111111;
}

.cta-box .btn-secondary:hover {
  background: #111111;
  color: var(--white);
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================
   FOOTER
========================= */

footer {
  padding: 76px 0 28px;
  background: var(--white);
  color: #111111;
  border-radius: 38px 38px 0 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: 42px;
  padding-bottom: 42px;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 18px;
}

.footer-grid p {
  max-width: 420px;
  color: #222222;
  font-size: 14px;
}

.footer-grid h3 {
  margin-bottom: 18px;
  color: #111111;
  font-size: 17px;
  font-weight: 720;
}

.footer-grid ul {
  display: grid;
  gap: 11px;
}

.footer-grid li,
.footer-grid a {
  color: #222222;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-grid a:hover {
  padding-left: 4px;
}

.footer-grid li i {
  color: #111111;
  margin-right: 9px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
}

.socials a {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #111111;
  color: var(--white);
  transition: var(--transition);
}

.socials a:hover {
  transform: translateY(-4px);
  background: #000000;
  padding-left: 0;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 2px solid #111111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-bottom p {
  color: #111111;
  font-size: 13px;
}

.footer-bottom div {
  display: flex;
  align-items: center;
  gap: 17px;
}

.footer-bottom a {
  color: #111111;
  font-size: 13px;
}

/* =========================
   BOTONES FLOTANTES
========================= */

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--white);
  color: #111111;
  font-size: 29px;
  z-index: 950;
  border: 5px solid #111111;
  box-shadow: none;
  transition: var(--transition);
}

.whatsapp:hover {
  transform: translateY(-5px) rotate(-3deg);
}

#toTop {
  position: fixed;
  right: 22px;
  bottom: 96px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 16px;
  cursor: pointer;
  z-index: 940;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  backdrop-filter: blur(14px);
  transition: var(--transition);
}

#toTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#toTop:hover {
  background: var(--white);
  color: #111111;
}

/* =========================
   ANIMACIONES JS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}

/* =========================
   LIGHT MODE
========================= */

html[data-theme="light"] body {
  background: #f3f4f6;
  color: #111111;
}

html[data-theme="light"] .hero,
html[data-theme="light"] #soluciones,
html[data-theme="light"] .cloud-section,
html[data-theme="light"] .cta-section {
  background: #f3f4f6;
}

html[data-theme="light"] .technologies,
html[data-theme="light"] .projects {
  background: #e9ebef;
}

html[data-theme="light"] .hero::before {
  display: none;
}

html[data-theme="light"] .navbar {
  background: var(--white);
}

html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero h1 span,
html[data-theme="light"] .section-title h2,
html[data-theme="light"] .solution-card h3,
html[data-theme="light"] .cloud-card h3,
html[data-theme="light"] .project-card .content h3 {
  color: #111111;
}

html[data-theme="light"] .hero p,
html[data-theme="light"] .section-title p,
html[data-theme="light"] .solution-card p,
html[data-theme="light"] .cloud-card p,
html[data-theme="light"] .project-card .content p {
  color: #333333;
}

html[data-theme="light"] .badge,
html[data-theme="light"] .section-title span,
html[data-theme="light"] .section-badge,
html[data-theme="light"] .stats div,
html[data-theme="light"] .brand-slider div,
html[data-theme="light"] .solution-card,
html[data-theme="light"] .cloud-card,
html[data-theme="light"] .project-card,
html[data-theme="light"] .tech-grid div {
  background: var(--white);
  color: #111111;
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .stats h2,
html[data-theme="light"] .stats span,
html[data-theme="light"] .tech-grid span,
html[data-theme="light"] .tech-grid i,
html[data-theme="light"] .brand-slider i {
  color: #111111;
}

html[data-theme="light"] .btn-primary {
  background: #111111;
  color: white;
  border-color: #111111;
}

html[data-theme="light"] .btn-primary:hover {
  background: transparent;
  color: #111111;
}

html[data-theme="light"] .btn-secondary {
  color: #111111;
  border-color: #111111;
}

html[data-theme="light"] .btn-secondary:hover {
  background: #111111;
  color: white;
}

html[data-theme="light"] .floating-card {
  background: var(--white);
  color: #111111;
}

html[data-theme="light"] .floating-card i {
  color: #111111;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p,
  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .stats {
    margin: 0 auto;
  }

  .hero-image {
    max-width: 680px;
    margin: 0 auto;
  }

  .cloud-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .navbar {
    top: 12px;
    border-radius: 28px;
  }

  .navbar .container {
    height: 74px;
  }

  .logo img {
    height: 54px;
  }

  .mobile {
    display: block;
  }

  .menu {
    position: absolute;
    left: 0;
    top: 86px;
    width: 100%;
    padding: 14px;
    display: none;
    flex-direction: column;
    gap: 8px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    width: 100%;
    display: flex;
    padding: 14px 16px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.04);
  }

  .menu a::after {
    display: none;
  }

  .nav-buttons .btn-outline {
    display: none;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 132px 0 70px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid,
  .cloud-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    padding: 54px 24px;
    border-radius: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(91%, var(--container));
  }

  .navbar {
    width: 94%;
  }

  .hero h1 {
    font-size: 36px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: auto;
    display: block;
  }

  .hero-image::before {
    display: none;
  }

  .floating-card {
    position: static;
    margin: 10px auto 0;
    width: fit-content;
  }

  .brand-slider div {
    min-width: 138px;
    height: 60px;
    font-size: 13px;
  }

  .tech-grid div {
    height: 112px;
  }

  .project-card img {
    height: 240px;
  }

  .footer-logo {
    width: 155px;
  }

  .whatsapp {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 26px;
  }

  #toTop {
    width: 46px;
    height: 46px;
    bottom: 90px;
  }
}

/* =========================
   REDUCE MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* =====================================================
   FIX DEFINITIVO MARQUEE / TECNOLOGÍAS
   Pegar al FINAL del style.css
===================================================== */

.brands {
  position: relative !important;
  overflow: hidden !important;
  background: #020202 !important;
}

.brands .container {
  width: 100% !important;
  max-width: none !important;
}

.brand-slider {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  width: max-content !important;
  min-width: max-content !important;
  flex-wrap: nowrap !important;
  animation: brandMoveFixed 18s linear infinite !important;
  will-change: transform !important;
}

.brand-slider:hover {
  animation-play-state: paused !important;
}

.brand-slider div {
  flex: 0 0 auto !important;
  min-width: 170px !important;
}

/* Animación nueva para evitar conflicto con brandMove anterior */
@keyframes brandMoveFixed {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Evita que reduced-motion mate específicamente este marquee */
@media (prefers-reduced-motion: reduce) {
  .brand-slider {
    animation: brandMoveFixed 18s linear infinite !important;
  }
}
/* =====================================================
   FIX LIGHT MODE + FIX NAVBAR MOBILE
   Pegar al final del CSS
===================================================== */

/* =========================
   LIGHT MODE ICONS FIX
========================= */

html[data-theme="light"] .solution-card .icon,
html[data-theme="light"] .cloud-card i {
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  color: #111111 !important;
}

html[data-theme="light"] .solution-card .icon i,
html[data-theme="light"] .cloud-card i i,
html[data-theme="light"] .tech-grid i,
html[data-theme="light"] .brand-slider i {
  color: #111111 !important;
}

/* Hover en light mode */
html[data-theme="light"] .solution-card:hover .icon,
html[data-theme="light"] .cloud-card:hover i {
  background: #111111 !important;
  color: #ffffff !important;
}

html[data-theme="light"] .solution-card:hover .icon i {
  color: #ffffff !important;
}

/* Tech cards en light mode */
html[data-theme="light"] .tech-grid div {
  color: #111111 !important;
}

html[data-theme="light"] .tech-grid div:hover {
  background: #111111 !important;
  color: #ffffff !important;
}

html[data-theme="light"] .tech-grid div:hover i,
html[data-theme="light"] .tech-grid div:hover span {
  color: #ffffff !important;
}

/* Marquee brands en light mode */
html[data-theme="light"] .brand-slider div {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] .brand-slider div:hover {
  background: #111111 !important;
  color: #ffffff !important;
}

html[data-theme="light"] .brand-slider div:hover i {
  color: #ffffff !important;
}

/* =========================
   MOBILE NAVBAR FIX
========================= */

@media (max-width: 900px) {
  .navbar .container {
    height: 74px !important;
    gap: 10px !important;
    position: relative;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo img {
    height: 42px !important;
    width: auto !important;
  }

  .menu {
    top: 82px !important;
  }

  .nav-buttons {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 0 0 auto;
  }

  .nav-buttons .btn-outline {
    display: none !important;
  }

  #theme {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    font-size: 15px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    flex: 0 0 42px !important;
  }

  .mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: 4px !important;
    color: #111111 !important;
    font-size: 24px !important;
    flex: 0 0 42px;
  }
}

/* =========================
   EXTRA SMALL MOBILE
========================= */

@media (max-width: 520px) {
  .navbar {
    width: 95% !important;
    border-radius: 28px !important;
  }

  .navbar .container {
    height: 70px !important;
    gap: 8px !important;
  }

  .logo img {
    height: 36px !important;
  }

  #theme {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 14px !important;
    flex: 0 0 40px !important;
  }

  .mobile {
    width: 40px !important;
    height: 40px !important;
    font-size: 22px !important;
    flex: 0 0 40px !important;
  }
}
/* =====================================================
   PROYECTOS TIPO GALERÍA DESLIZABLE
===================================================== */

.projects {
  padding: 120px 0;
  background: #050505;
  overflow: hidden;
}

.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section-title.align-left {
  text-align: left;
  margin: 0;
}

.section-title.align-left h2 {
  max-width: 720px;
}

.section-title.align-left p {
  max-width: 560px;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.gallery-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  transition: .28s ease;
}

.gallery-btn:hover {
  background: #ffffff;
  color: #111111;
  transform: translateY(-3px);
}

.projects-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 0 26px;
  cursor: grab;
}

.projects-gallery:active {
  cursor: grabbing;
}

.projects-gallery::-webkit-scrollbar {
  height: 0;
}

.gallery-card {
  flex: 0 0 min(430px, 86vw);
  scroll-snap-align: start;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  overflow: hidden;
  transition: .35s ease;
}

.gallery-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-8px);
}

.project-media {
  height: 270px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    #111111;
  overflow: hidden;
  position: relative;
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55));
  pointer-events: none;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s ease;
}

.gallery-card:hover .project-media img {
  transform: scale(1.06);
  filter: contrast(1.05) saturate(1.05);
}

.gallery-card .content {
  padding: 28px;
}

.gallery-card .content span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery-card .content h3 {
  color: #ffffff;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 760;
  margin-bottom: 12px;
}

.gallery-card .content p {
  color: #cfcfcf;
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.gallery-card .content a {
  color: #ffffff;
  font-weight: 750;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-card .content a::after {
  content: "→";
  transition: .28s ease;
}

.gallery-card .content a:hover::after {
  transform: translateX(5px);
}

.gallery-progress {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.gallery-progress-bar {
  width: 0%;
  height: 100%;
  background: #ffffff;
  border-radius: 999px;
  transition: width .2s ease;
}

/* Light mode */
html[data-theme="light"] .projects {
  background: #e9ebef;
}

html[data-theme="light"] .gallery-btn {
  background: #ffffff;
  color: #111111;
  border-color: rgba(0,0,0,.12);
}

html[data-theme="light"] .gallery-btn:hover {
  background: #111111;
  color: #ffffff;
}

html[data-theme="light"] .gallery-card {
  background: #ffffff;
  border-color: rgba(0,0,0,.12);
}

html[data-theme="light"] .gallery-card:hover {
  background: #ffffff;
  border-color: rgba(0,0,0,.22);
}

html[data-theme="light"] .project-media {
  background: #dddddd;
}

html[data-theme="light"] .gallery-card .content h3 {
  color: #111111;
}

html[data-theme="light"] .gallery-card .content p {
  color: #333333;
}

html[data-theme="light"] .gallery-card .content span {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
  color: #111111;
}

html[data-theme="light"] .gallery-card .content a {
  color: #111111;
}

html[data-theme="light"] .gallery-progress {
  background: rgba(0,0,0,.12);
}

html[data-theme="light"] .gallery-progress-bar {
  background: #111111;
}

/* Responsive */
@media (max-width: 760px) {
  .projects {
    padding: 90px 0;
  }

  .projects-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .gallery-card {
    flex-basis: 86vw;
    border-radius: 24px;
  }

  .project-media {
    height: 230px;
  }
}

@media (max-width: 480px) {
  .gallery-btn {
    width: 46px;
    height: 46px;
  }

  .project-media {
    height: 210px;
  }

  .gallery-card .content {
    padding: 24px;
  }
}
/* =====================================================
   PLANES DE DESARROLLO
   Reemplazo de la sección "Herramientas que usamos"
===================================================== */

.plans-section {
  padding: 118px 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.055), transparent 30%),
    #050505;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}

.plans-wrapper {
  display: grid;
  gap: 70px;
}

.plans-block {
  position: relative;
}

.plans-block-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.plans-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.plans-label i {
  font-size: 14px;
}

.plans-block-head h3 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -.045em;
  margin-bottom: 14px;
}

.plans-block-head p {
  color: #cfcfcf;
  font-size: 16px;
  max-width: 680px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.plan-card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  transition: .3s ease;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), transparent 48%);
  opacity: 0;
  transition: .3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.32);
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-card.featured {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

.plan-card.featured::before {
  display: none;
}

.plan-card.featured:hover {
  background: #f2f2f2;
  border-color: #ffffff;
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.plan-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.plan-type {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plan-top > i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,.16);
  color: #ffffff;
  font-size: 22px;
}

.plan-card h4 {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.plan-desc {
  position: relative;
  z-index: 2;
  color: #cfcfcf;
  font-size: 14.5px;
  margin-bottom: 22px;
}

.plan-features {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e8e8e8;
  font-size: 14px;
}

.plan-features li i {
  margin-top: 4px;
  color: #ffffff;
  font-size: 12px;
}

.plan-btn {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111111;
  border: 2px solid #ffffff;
  font-size: 14px;
  font-weight: 750;
  transition: .28s ease;
}

.plan-btn:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-3px);
}

/* Featured */
.plan-card.featured .plan-type {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
  color: #111111;
}

.plan-card.featured .plan-top > i {
  border-color: rgba(0,0,0,.14);
  color: #111111;
}

.plan-card.featured h4,
.plan-card.featured .plan-desc,
.plan-card.featured .plan-features li,
.plan-card.featured .plan-features li i {
  color: #111111;
}

.plan-card.featured .plan-btn {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.plan-card.featured .plan-btn:hover {
  background: transparent;
  color: #111111;
}

/* Bloque embebido con separación visual */
.plans-block.embedded {
  padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* Light mode */
html[data-theme="light"] .plans-section {
  background: #e9ebef;
  border-color: rgba(0,0,0,.08);
}

html[data-theme="light"] .plans-label {
  background: #ffffff;
  border-color: rgba(0,0,0,.12);
  color: #111111;
}

html[data-theme="light"] .plans-block-head h3 {
  color: #111111;
}

html[data-theme="light"] .plans-block-head p {
  color: #333333;
}

html[data-theme="light"] .plan-card {
  background: #ffffff;
  border-color: rgba(0,0,0,.12);
  color: #111111;
}

html[data-theme="light"] .plan-card:hover {
  background: #ffffff;
  border-color: rgba(0,0,0,.24);
}

html[data-theme="light"] .plan-type {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
  color: #111111;
}

html[data-theme="light"] .plan-top > i {
  border-color: rgba(0,0,0,.14);
  color: #111111;
}

html[data-theme="light"] .plan-card h4,
html[data-theme="light"] .plan-desc,
html[data-theme="light"] .plan-features li,
html[data-theme="light"] .plan-features li i {
  color: #111111;
}

html[data-theme="light"] .plan-btn {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

html[data-theme="light"] .plan-btn:hover {
  background: transparent;
  color: #111111;
}

html[data-theme="light"] .plan-card.featured {
  background: #111111;
  color: #ffffff;
}

html[data-theme="light"] .plan-card.featured .plan-badge {
  background: #ffffff;
  color: #111111;
}

html[data-theme="light"] .plan-card.featured .plan-type {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color: #ffffff;
}

html[data-theme="light"] .plan-card.featured .plan-top > i,
html[data-theme="light"] .plan-card.featured h4,
html[data-theme="light"] .plan-card.featured .plan-desc,
html[data-theme="light"] .plan-card.featured .plan-features li,
html[data-theme="light"] .plan-card.featured .plan-features li i {
  color: #ffffff;
  border-color: rgba(255,255,255,.18);
}

html[data-theme="light"] .plan-card.featured .plan-btn {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

html[data-theme="light"] .plan-card.featured .plan-btn:hover {
  background: transparent;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1050px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plans-block-head {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .plans-section {
    padding: 90px 0;
  }

  .plans-wrapper {
    gap: 52px;
  }

  .plans-block-head h3 {
    font-size: 34px;
  }

  .plan-card {
    padding: 26px;
    border-radius: 24px;
  }

  .plan-badge {
    position: static;
    width: fit-content;
    margin-bottom: 18px;
  }
}
/* =====================================================
   PRECIOS EN PLANES
===================================================== */

.plan-price {
  position: relative;
  z-index: 2;
  margin: 14px 0 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.plan-price small {
  display: block;
  color: #cfcfcf;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.plan-price strong {
  display: block;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -.04em;
}

.plan-price span {
  display: block;
  color: #cfcfcf;
  font-size: 13px;
  margin-top: 8px;
}

.plan-note {
  position: relative;
  z-index: 2;
  margin: -6px 0 18px;
  color: #cfcfcf;
  font-size: 12.5px;
  line-height: 1.5;
  opacity: .9;
}

/* Featured */
.plan-card.featured .plan-price {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
}

.plan-card.featured .plan-price small,
.plan-card.featured .plan-price strong,
.plan-card.featured .plan-price span,
.plan-card.featured .plan-note {
  color: #111111;
}

/* Light mode */
html[data-theme="light"] .plan-price {
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.12);
}

html[data-theme="light"] .plan-price small,
html[data-theme="light"] .plan-price strong,
html[data-theme="light"] .plan-price span,
html[data-theme="light"] .plan-note {
  color: #111111;
}

html[data-theme="light"] .plan-card.featured .plan-price {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

html[data-theme="light"] .plan-card.featured .plan-price small,
html[data-theme="light"] .plan-card.featured .plan-price strong,
html[data-theme="light"] .plan-card.featured .plan-price span,
html[data-theme="light"] .plan-card.featured .plan-note {
  color: #ffffff;
}
/* =====================================================
   PROYECTOS CON ÍCONOS EN LUGAR DE IMÁGENES
===================================================== */

.project-media.icon-project {
  height: 230px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.025)),
    #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-media.icon-project::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
  pointer-events: none;
}

.project-media.icon-project > i {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #111111;
  font-size: 42px;
  box-shadow: 0 22px 55px rgba(0,0,0,.35);
  transition: .35s ease;
}

.gallery-card:hover .project-media.icon-project > i {
  transform: translateY(-6px) scale(1.04);
}

.project-status {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  padding: 7px 13px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Light mode */
html[data-theme="light"] .project-media.icon-project {
  background:
    radial-gradient(circle at 50% 30%, rgba(0,0,0,.08), transparent 34%),
    linear-gradient(145deg, rgba(0,0,0,.05), rgba(0,0,0,.01)),
    #f2f2f2;
}

html[data-theme="light"] .project-media.icon-project::after {
  background-image:
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px);
}

html[data-theme="light"] .project-media.icon-project > i {
  background: #111111;
  color: #ffffff;
}

html[data-theme="light"] .project-status {
  background: #111111;
  color: #ffffff;
}

/* Mobile */
@media (max-width: 520px) {
  .project-media.icon-project {
    height: 190px;
  }

  .project-media.icon-project > i {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    font-size: 35px;
  }
}