/* =============================================
   4colors — Propuesta de rediseño
   Paleta CMYK del logo
   ============================================= */

:root {
  --cyan:    #00B4D8;
  --magenta: #E4007C;
  --yellow:  #FFD500;
  --black:   #1A1A1A;
  --white:   #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100:#F1F3F5;
  --gray-200:#E9ECEF;
  --gray-400:#ADB5BD;
  --gray-600:#6C757D;
  --gray-800:#343A40;

  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 26, 26, 0.12);
  --transition: 0.25s ease;
  --max-width: 1200px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Utility */
.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =============================================
   Demo banner
   ============================================= */
.demo-banner {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.demo-banner span {
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* =============================================
   Header
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.875rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo__text {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo__text small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--cyan);
  background: var(--gray-50);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
  background: var(--gray-50);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50% 40% 60% 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.hero__blob--cyan {
  width: 420px; height: 380px;
  background: var(--cyan);
  top: -80px; right: -60px;
}

.hero__blob--magenta {
  width: 320px; height: 300px;
  background: var(--magenta);
  bottom: -40px; left: 10%;
}

.hero__blob--yellow {
  width: 260px; height: 240px;
  background: var(--yellow);
  top: 40%; left: -80px;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--magenta);
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--magenta) 50%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 32rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

.btn--primary {
  background: var(--black);
  color: var(--white);
}

.btn--primary:hover { box-shadow: var(--shadow-lg); }

.btn--outline {
  background: var(--white);
  color: var(--black);
  border-color: var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  width: 100%;
}

.hero__card-logo {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 1.5rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.hero__stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__stat-num--c { color: var(--cyan); }
.hero__stat-num--m { color: var(--magenta); }
.hero__stat-num--y { color: var(--yellow); filter: brightness(0.85); }

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: 0.125rem;
}

/* CMYK color strip */
.cmyk-strip {
  display: flex;
  height: 6px;
}

.cmyk-strip span { flex: 1; }
.cmyk-strip span:nth-child(1) { background: var(--cyan); }
.cmyk-strip span:nth-child(2) { background: var(--magenta); }
.cmyk-strip span:nth-child(3) { background: var(--yellow); }
.cmyk-strip span:nth-child(4) { background: var(--black); }

/* =============================================
   Section shared
   ============================================= */
.section {
  padding: 5rem 0;
}

.section--alt { background: var(--gray-50); }

.section__header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section__eyebrow--cyan { color: var(--cyan); }
.section__eyebrow--magenta { color: var(--magenta); }
.section__eyebrow--yellow { color: #C9A800; }

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* =============================================
   Services
   ============================================= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.service-card__icon--c { background: rgba(0, 180, 216, 0.12); }
.service-card__icon--m { background: rgba(228, 0, 124, 0.1); }
.service-card__icon--y { background: rgba(255, 213, 0, 0.2); }
.service-card__icon--k { background: rgba(26, 26, 26, 0.08); }

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* =============================================
   Feature blocks
   ============================================= */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature--reverse .feature__content { order: 2; }
.feature--reverse .feature__visual { order: 1; }

.feature__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feature__tag--magenta { background: rgba(228, 0, 124, 0.1); color: var(--magenta); }
.feature__tag--cyan { background: rgba(0, 180, 216, 0.12); color: var(--cyan); }
.feature__tag--yellow { background: rgba(255, 213, 0, 0.25); color: #9A7B00; }

.feature__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.feature__text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.feature__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--gray-800);
}

.feature__list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-top: 0.55rem;
  background: var(--magenta);
}

.feature__visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.feature__visual-inner {
  text-align: center;
}

.feature__visual-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.feature__visual-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature + .feature { margin-top: 4rem; }

/* =============================================
   Products
   ============================================= */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
}

.product-tag:hover {
  border-color: var(--cyan);
  background: rgba(0, 180, 216, 0.04);
}

.product-tag__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.product-tag:nth-child(4n+1) .product-tag__dot { background: var(--cyan); }
.product-tag:nth-child(4n+2) .product-tag__dot { background: var(--magenta); }
.product-tag:nth-child(4n+3) .product-tag__dot { background: var(--yellow); }
.product-tag:nth-child(4n+4) .product-tag__dot { background: var(--black); }

/* =============================================
   Why us
   ============================================= */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.why-card__number {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.why-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.why-card__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* =============================================
   Contact
   ============================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.contact__item-icon--c { background: rgba(0, 180, 216, 0.12); }
.contact__item-icon--m { background: rgba(228, 0, 124, 0.1); }
.contact__item-icon--y { background: rgba(255, 213, 0, 0.2); }

.contact__item-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.contact__item-value {
  font-size: 1.0625rem;
  font-weight: 500;
}

.contact__item-value a:hover { color: var(--cyan); }

.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.contact__form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--gray-800);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--black);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
  background: var(--white);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer__brand p {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 28rem;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.9375rem;
  color: var(--gray-200);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.footer__cmyk {
  display: flex;
  gap: 6px;
}

.footer__cmyk span {
  width: 14px; height: 14px;
  border-radius: 50%;
}

.footer__cmyk span:nth-child(1) { background: var(--cyan); }
.footer__cmyk span:nth-child(2) { background: var(--magenta); }
.footer__cmyk span:nth-child(3) { background: var(--yellow); }
.footer__cmyk span:nth-child(4) { background: var(--white); }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__list,
  .nav__cta { display: none; }

  .nav__toggle { display: block; }

  .nav--open .nav__list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }

  .nav--open .nav__cta {
    display: inline-flex;
    margin: 0.5rem 1.25rem 0;
  }

  .header__inner { position: relative; flex-wrap: wrap; }
  .nav { flex-direction: column; align-items: stretch; width: 100%; }

  .hero { padding: 3rem 0 4rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { order: -1; }
  .hero__card { max-width: 100%; }

  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature--reverse .feature__content,
  .feature--reverse .feature__visual { order: unset; }

  .contact__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .services__grid,
  .products__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; }
}
