/* ====== VARIABLES ====== */
:root {
  --bg-main: #0b0d12;
  --bg-alt: #0f1118;
  --card-bg: rgba(17, 20, 29, 0.9);
  --chip-bg: rgba(31, 36, 49, 0.6);

  --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.35);
}

/* ====== RESET ====== */
*,
*::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;
}

/* ====== UTILIDADES ====== */
.section {
  padding: 3.5rem 1rem;
}

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

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

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


.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;
}

/* ====== PAGE 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.35;
}

.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);
}

/* ====== LAYOUT SOBRE MÍ ====== */
.about-layout {
  display: grid;
  gap: 2rem;
}

.about-layout__side {
  display: grid;
  gap: 1rem;
}

/* ====== ABOUT CARDS ====== */
.about-card {
  border-radius: 1.4rem;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: var(--elevated-shadow);
}

.about-card__label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-card__value {
  margin: 0.4rem 0 0.25rem;
  font-size: 0.95rem;
}

.about-card__note {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-card__socials {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-card__socials a {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: var(--chip-bg);
  color: var(--text-main);
}

.about-card__socials a:hover {
  border-color: var(--accent-magenta);
}

/* ====== QUÉ HAGO GRID ====== */
.about-grid {
  display: grid;
  gap: 1.1rem;
}

.about-pill {
  border-radius: 1.4rem;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  padding: 1.05rem 1.1rem;
  box-shadow: var(--elevated-shadow);
}

.about-pill__label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-pill__text {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
}

/* ====== TIMELINE ====== */
.timeline {
  position: relative;
  margin-top: 0.8rem;
  padding-left: 1.4rem;
  border-left: 1px dashed rgba(148, 163, 184, 0.5);
}

.timeline--alt {
  border-left-color: rgba(244, 114, 182, 0.6);
}

.timeline__item {
  position: relative;
  padding-bottom: 1.4rem;
  padding-left: 1rem;
}

.timeline__dot {
  position: absolute;
  left: -0.38rem;
  top: 0.25rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--accent-magenta);
  box-shadow: 0 0 12px rgba(244, 114, 182, 0.7);
}

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

.timeline__title {
  margin: 0.35rem 0 0.1rem;
  font-size: 0.95rem;
}

.timeline__place {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.timeline__text {
  margin: 0.45rem 0 0;
  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;
  color: var(--text-muted);
}

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

/* BOTÓN CTA */
.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: 0.18s ease;
}

.contact-cta__button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.contact-cta__icon {
  transition: 0.2s ease;
}

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

/* ====== MODAL ====== */
.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.7);
  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: var(--card-bg);
  box-shadow: var(--elevated-shadow);
  padding: 1.5rem 1.4rem 1.6rem;
}

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

.modal__label {
  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;
  justify-content: space-between;
  cursor: pointer;
}

.modal__copied {
  font-size: 0.78rem;
  color: var(--accent-green);
  opacity: 0;
  transition: 0.2s;
}

.modal__copied.is-visible {
  opacity: 1;
}

/* ====== RESPONSIVE ====== */
@media (min-width: 768px) {
  .page-hero__title {
    font-size: 2.2rem;
  }

  .about-layout {
    grid-template-columns: 1.45fr 1fr;
  }

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

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



