.funciones {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px 96px;
}

/* Intro */
.fx-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0 56px;
}

.fx-hero-duck {
  width: 110px;
  height: 110px;
  margin-bottom: 8px;
}

.fx-hero-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 16px;
}

.fx-hero-sub {
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.6;
  margin: 0;
}

/* Feature rows */
.fx-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 40px 0;
}

.fx-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.fx-row-reverse {
  flex-direction: row-reverse;
  text-align: right;
}

.fx-row-reverse .fx-row-copy {
  align-items: flex-end;
}

.fx-row-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--icon-color, var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-row-icon svg {
  width: 28px;
  height: 28px;
}

.fx-row-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fx-row-copy h2 {
  margin: 0;
  color: var(--ink);
}

.fx-row-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.fx-try-link {
  color: var(--amber);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.fx-try-link:hover {
  opacity: 0.75;
}

/* Section titles shared by outfits + screenshots */
.fx-section-title {
  margin: 0 0 8px;
  color: var(--ink);
  text-align: center;
}

.fx-section-sub {
  margin: 0 0 32px;
  color: var(--ink-soft);
  text-align: center;
}

/* Outfits */
.fx-outfits {
  padding: 40px 0;
  text-align: center;
}

.outfit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
}

.outfit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.outfit-duck {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 24px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.outfit-duck img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  image-rendering: pixelated;
}

.outfit-label {
  color: var(--ink-soft);
}

.outfit-note {
  margin: 28px 0 0;
  color: var(--ink-faint, var(--ink-soft));
  font-style: italic;
}

/* Screenshot placeholders */
.fx-screens {
  padding: 40px 0;
  text-align: center;
}

.phone-row {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 14px 24px;
  vertical-align: top;
}

.phone-frame {
  width: 170px;
  height: 340px;
  border-radius: 28px;
  background: var(--hero-bg);
  border: 1px solid var(--border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.phone-notch {
  width: 46px;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  margin-bottom: 10px;
  flex-shrink: 0;
}

.phone-placeholder {
  flex: 1;
  width: 100%;
  border: 1.5px dashed var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-soft);
}

.phone-placeholder svg {
  width: 30px;
  height: 30px;
  opacity: 0.6;
}

.phone-caption {
  color: var(--ink-soft);
}

/* CTA */
.fx-cta {
  padding: 48px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.fx-cta h2 {
  margin: 0;
  color: var(--ink);
}

.fx-cta-sub {
  margin: 0;
  max-width: 420px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.play-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 22px;
  border-radius: 14px;
  cursor: default;
  user-select: none;
}

.play-badge-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.play-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.play-badge-eyebrow {
  color: var(--paper);
  opacity: 0.7;
  letter-spacing: 1.2px;
}

.play-badge-title {
  color: var(--paper);
}

/* Responsive */
@media (max-width: 760px) {
  .funciones {
    padding: 0 20px 72px;
  }

  .fx-row,
  .fx-row-reverse {
    flex-direction: column;
    text-align: left;
    gap: 16px;
  }

  .fx-row-reverse .fx-row-copy {
    align-items: flex-start;
  }

  .outfit-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .phone-row {
    display: flex;
    margin: 0 0 24px;
  }

  .fx-screens .phone-row + .phone-row {
    margin-top: 0;
  }
}
