/* ============================================
   IDEO MAKER — Base + componentes de pagina
   Usado por las paginas nuevas del menu.
   Mantiene los mismos tokens que las paginas
   exportadas desde Figma.
   ============================================ */

:root {
  --color-purple: #5c0f8b;
  --color-purple-soft: #8d57ae;
  --color-yellow: #f5dc20;
  --color-pink: #f5259f;
  --color-white: #ffffff;
  --color-gray: #d9d9d9;
  --color-black: #000000;
  --color-divider: rgba(255, 255, 255, 0.45);

  --font-display: 'Bangers', cursive;
  --font-body: 'Montserrat', sans-serif;

  --fs-hero-title: 96px;
  --fs-card-title: 96px;
  --fs-lead: 24px;
  --fs-body: 16px;
  --fs-nav-link: 16px;
  --fs-copyright: 12px;

  --container-max: 1280px;
  --radius-md: 20px;
  --radius-sm: 15px;
  --radius-input: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-purple);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 90px;
}

/* ============================================
   HERO
   ============================================ */
.page-hero {
  position: relative;
  background-color: var(--color-black);
  overflow: hidden;
}
.page-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url('../img/patron-ideomaker.png');
  background-repeat: repeat;
  background-size: 149px 149px;
  opacity: 0.85;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 90px 90px 80px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.page-hero__text { flex: 1 1 520px; min-width: 0; }
.page-hero__eyebrow {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 12px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-hero-title);
  line-height: 1;
  letter-spacing: 1.92px;
  color: var(--color-white);
}
.page-hero__lead {
  margin-top: 22px;
  max-width: 640px;
  font-weight: 600;
  font-size: var(--fs-lead);
  line-height: 1.4;
  color: var(--color-white);
}
.page-hero__media {
  flex: 0 1 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero__media img { width: 100%; height: auto; object-fit: contain; }
.page-hero__media--placeholder {
  width: 100%;
  height: 280px;
  background-color: var(--color-gray);
  box-shadow: 12px 12px 0 var(--color-yellow);
}

/* ============================================
   BLOQUE DE INTRO
   ============================================ */
.intro { padding: 72px 0 8px; }
.intro__title {
  font-family: var(--font-display);
  font-size: 64px;
  letter-spacing: 1.5px;
  color: var(--color-purple);
  margin-bottom: 18px;
}
.intro__text {
  max-width: 900px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-purple);
}
.intro__text + .intro__text { margin-top: 16px; }

/* ============================================
   TARJETAS (grilla)
   ============================================ */
.cards { padding: 56px 0 72px; }
.cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-purple);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.card__media {
  height: 190px;
  background-color: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 26px 28px;
}
.card__title {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 1px;
  color: var(--color-yellow);
}
.card__text {
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--color-white);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 39px;
  padding: 0 22px;
  border: none;
  border-radius: var(--radius-sm);
  background-color: var(--color-yellow);
  color: var(--color-purple);
  font-weight: 600;
  font-size: var(--fs-body);
  text-align: center;
  transition: filter 0.2s ease;
}
.btn:hover { filter: brightness(0.96); }
.btn--pink { background-color: var(--color-pink); color: var(--color-white); border-radius: var(--radius-md); }
.btn--pink:hover { filter: brightness(1.08); }
.card .btn { margin-top: auto; }

/* ============================================
   FILAS ALTERNADAS (detalle)
   ============================================ */
.rows { padding: 24px 0 72px; }
.row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 36px 0;
}
.row:nth-child(even) { flex-direction: row-reverse; }
.row:last-child { padding-bottom: 12px; }
.row__media {
  flex: 0 0 320px;
  height: 260px;
  background-color: var(--color-gray);
  box-shadow: 12px 12px 0 var(--color-yellow);
}
.row__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.row__body { flex: 1; min-width: 0; }
.row__title {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 1.2px;
  color: var(--color-purple);
  margin-bottom: 14px;
}
.row__text {
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-purple);
}

/* ============================================
   FICHA / LISTADO
   ============================================ */
.specs { background-color: var(--color-purple); padding: 64px 0; }
.specs__title {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: 1.2px;
  color: var(--color-yellow);
  margin-bottom: 28px;
}
.specs__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px 40px;
}
.specs__item {
  position: relative;
  padding-left: 34px;
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--color-white);
}
.specs__item::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: var(--color-yellow);
}

/* ============================================
   BANDA CTA
   ============================================ */
.cta-band {
  position: relative;
  background-color: var(--color-purple);
  background-image: url('../img/patron-ideomaker.png');
  background-repeat: repeat;
  background-position: top left;
  background-size: 149px 149px;
  padding: 72px 90px;
}
.cta-band__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: 1.2px;
  color: var(--color-white);
  margin-bottom: 14px;
}
.cta-band__text {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 28px;
}

.divider-band { width: 100%; height: 110px; background-color: var(--color-gray); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background-color: var(--color-purple); color: var(--color-white); }
.footer__inner {
  position: relative;
  max-width: var(--container-max);
  height: 192px;
  margin: 0 auto;
}
.footer__address { position: absolute; left: 240px; top: 18px; width: 200px; }
.footer__heading {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 16px;
  white-space: nowrap;
}
.footer__text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-white);
}
.footer__brand {
  position: absolute;
  left: 50%; top: 14px;
  transform: translateX(-50%);
  width: 235px; height: 115px;
}
.footer__brand img { width: 100%; height: 100%; object-fit: contain; }
.footer__contact { position: absolute; left: 810px; top: 18px; }
.footer__contact .footer__heading { margin-bottom: 0; }
.footer__contact .footer__text { display: block; margin-top: 35px; }
.footer__social { display: flex; align-items: center; gap: 17px; margin-top: 23px; }
.footer__social img { width: 100%; height: 100%; }
.footer__social a:nth-child(1) { width: 30px; height: 30px; }
.footer__social a:nth-child(2) { width: 21px; height: 21px; }
.footer__copyright {
  position: absolute;
  left: 50%; top: 148px;
  transform: translateX(-50%);
  width: 246px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-copyright);
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  .page-hero__inner { flex-direction: column; align-items: flex-start; padding: 56px 24px 48px; gap: 32px; }
  .page-hero__title { font-size: 60px; }
  .page-hero__lead { font-size: 20px; }
  .page-hero__media { width: 100%; flex-basis: auto; }

  .intro { padding: 48px 0 0; }
  .intro__title { font-size: 46px; }
  .intro__text { font-size: 16px; }

  .row, .row:nth-child(even) { flex-direction: column; align-items: stretch; gap: 24px; }
  .row__media { flex-basis: auto; width: 100%; max-width: 420px; height: 240px; }
  .row__title { font-size: 38px; }

  .specs__title { font-size: 42px; }
  .cta-band { padding: 56px 24px; }
  .cta-band__title { font-size: 42px; }

  .footer__inner {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px 24px;
    text-align: center;
  }
  .footer__address,
  .footer__contact,
  .footer__brand,
  .footer__copyright {
    position: static;
    left: auto; top: auto;
    transform: none;
    width: auto;
  }
  .footer__brand { width: 200px; height: 98px; }
  .footer__social { justify-content: center; }
  .footer__contact .footer__text { margin-top: 12px; }
  .footer__copyright { width: 100%; }
}

@media (max-width: 768px) {
  .page-hero__title { font-size: 46px; }
  .card__title { font-size: 34px; }
  .cards { padding: 40px 0 56px; }
}
