:root {
  --bg-main: #0b0d12;
  --bg-alt: #0f1118;
  --card-bg: rgba(17, 20, 29, 0.96);
  --chip-bg: rgba(31, 36, 49, 0.72);

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-soft: rgba(148, 163, 184, 0.25);

  --accent-magenta: #f472b6;
  --accent-green: #34d399;

  --elevated-shadow: 0 25px 40px rgba(0, 0, 0, 0.4);
}

/* RESET / BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Menú móvil */
.mobile-menu {
  display: none;
}

/* SECCIONES BASE */
.section {
  padding: 3.5rem 1rem;
}

.section--alt {
  background: var(--bg-alt);
  border-bottom: none;
}

.section__inner {
  max-width: 1050px;
  margin: 0 auto;
}

#contact {
  padding-top: 0;
  background-color: var(--bg-alt);
}


.section__inner--narrow {
  max-width: 780px;
}

.section__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-magenta);
}

.section__title {
  margin: 0.35rem 0 0.9rem;
  font-size: 1.35rem;
}

.section__text {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section__text--center {
  text-align: center;
}

/* HERO */
.page-hero {
  padding: 4.5rem 1rem 2.5rem;
}

.page-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero__badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 114, 182, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-magenta);
  margin-bottom: 0.9rem;
}

.page-hero__title {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.3;
}

.page-hero__title span {
  display: block;
}

.page-hero__text {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.page-hero__tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-hero__tags span {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.35rem 0.8rem;
  background: var(--chip-bg);
}

/* GRID SERVICIOS */
.services-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1.2rem;
}

.service-card {
  border-radius: 1.6rem;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  padding: 1.3rem 1.25rem 1.4rem;
  box-shadow: var(--elevated-shadow);
}

.service-card__label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-card__title {
  margin: 0.45rem 0 0.4rem;
  font-size: 1.02rem;
}

.service-card__text {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-card__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.service-card__list li {
  margin-bottom: 0.25rem;
  position: relative;
}

.service-card__list li::before {
  content: "•";
  position: absolute;
  left: -0.9rem;
  color: var(--accent-magenta);
}

.service-card__foot {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* WORKFLOW */
.section__header {
  margin-bottom: 0.8rem;
}

.workflow-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 1rem;
}

.workflow-step {
  border-radius: 1.4rem;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--elevated-shadow);
}

.workflow-step__badge {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-magenta);
}

.workflow-step__title {
  margin: 0;
  font-size: 0.98rem;
}

.workflow-step__text {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FIT CARDS (para quién es / no es) */
.fit-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.fit-card {
  border-radius: 1.5rem;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: var(--elevated-shadow);
}

.fit-card--yes {
  border-color: rgba(52, 211, 153, 0.6);
}

.fit-card--no {
  border-color: rgba(248, 113, 113, 0.7);
}

.fit-card__label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fit-card__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.fit-card__list li {
  margin-bottom: 0.25rem;
  position: relative;
}

.fit-card__list li::before {
  content: "•";
  position: absolute;
  left: -0.9rem;
  color: var(--accent-magenta);
}

/* FAQ */
.faq {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.7rem 0.9rem;
}

.faq-item__summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary::after {
  content: "＋";
  float: right;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-item[open] .faq-item__summary::after {
  content: "–";
}

.faq-item__text {
  margin: 0.45rem 0 0.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* CTA CONTACTO */
.contact-cta {
  margin-top: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--elevated-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-cta__info {
  max-width: 32rem;
}

.contact-cta__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-magenta);
}

.contact-cta__title {
  margin: 0;
  font-size: 1.05rem;
}

.contact-cta__text {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-cta__hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #ec4899, #a855f7);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(168, 85, 247, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    filter 0.18s ease;
}

.contact-cta__button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 26px rgba(236, 72, 153, 0.35);
  filter: brightness(1.05);
}

.contact-cta__icon {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.contact-cta__button:hover .contact-cta__icon {
  transform: translateX(3px);
}

/* MODAL CONTACTO (MISMO ESTILO QUE OTRAS VISTAS) */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.modal__panel {
  position: relative;
  max-width: 420px;
  width: 100%;
  margin: 0 1rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-soft);
  background: #020617;
  box-shadow: var(--elevated-shadow);
  padding: 1.5rem 1.4rem 1.6rem;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.modal__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-magenta);
  margin: 0 0 0.4rem;
}

.modal__title {
  margin: 0;
  font-size: 1.2rem;
}

.modal__text {
  margin: 0.6rem 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal__group {
  margin-top: 1rem;
}

.modal__label {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.modal__email {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: var(--chip-bg);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.9rem;
}

.modal__email-copy {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-magenta);
}

.modal__copied {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--accent-green);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.modal__copied.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modal__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.modal__socials a {
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: var(--chip-bg);

}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  padding: 1.6rem 1rem 1.8rem;
  background: #020617;
}

.footer__inner {
  max-width: 1050px;
  margin: 0 auto 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
}

.footer__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.footer__role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 0.4rem;
}

.social-icon {
  font-size: 0.8rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.footer__copy {
  max-width: 1050px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 820px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .services-grid,
  .workflow-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
  }
}

