/* ===============================================
   Página: Sobre mí — tema limpio tipo portfolio
   =============================================== */

/* Tipografía y helpers locales */
:root {
  --ink: #07102a;
  --muted: #556777;
  --brand: #1f4ad8;
  --brand-700: #1639ac;
  --accent: #06b6d4;
  --line: #e6edf5;
  --panel: #ffffff;
  --back: #f6f9fc;
  --r-lg: 28px;
  --r: 16px;
  --shadow-lg: 0 18px 50px rgba(10, 20, 60, .12);
  --shadow-md: 0 8px 22px rgba(10, 20, 60, .06);
}

body.about-page {
  background: var(--back);
}

/* HERO ================================================== */
.about-hero {
  padding: clamp(28px, 4vw + 6px, 72px) 0;
}

.about-hero .shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(20px, 2.6vw, 42px);
  align-items: center;
}

@media (max-width: 980px) {
  .about-hero .shell {
    grid-template-columns: 1fr;
  }
}

/* Columna izquierda (texto) */
.intro-eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .85rem;
  color: #5b6b86;
  background: linear-gradient(90deg, #f0f7ff, #eef6ff);
  border: 1px solid #d7e9ff;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.about-title {
  font-size: clamp(2.2rem, 2.8vw + 1rem, 3.8rem);
  line-height: 1.08;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.4px;
}

.about-sub {
  font-size: clamp(1.05rem, 1.1vw + .6rem, 1.25rem);
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 46ch;
}

.pill-list {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.pill-list li {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: #273247;
  box-shadow: var(--shadow-md);
}

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn {
  display: inline-block;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(31, 74, 216, .08);
  background: linear-gradient(180deg, #f5f9ff, #eef4ff);
  color: #172a55;
  transition: transform .16s ease, box-shadow .16s ease;
}

.btn.primary {
  background: linear-gradient(90deg, var(--brand), #3770ff);
  color: #fff;
  border: 0
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg)
}

.btn.ghost {
  background: #fff;
  border-color: #eef4ff;
  color: #18345a
}

.btn.ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

/* MI HISTORIA ================================================== */
.my-story {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--back), #fff);
}

.my-story .shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.my-story .section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.my-story .section-head h2 {
  font-size: 2.5rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.my-story .section-head p {
  color: var(--muted);
  font-size: 1.2rem;
}

.story-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

/* Línea vertical del timeline */
.story-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
      transparent,
      var(--brand) 5%,
      var(--brand) 95%,
      transparent);
}

.story-entry {
  position: relative;
  padding: 1.5rem 0 1.5rem 2.5rem;
  transition: transform 0.3s ease;
}

/* Punto en el timeline */
.story-entry::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 2rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--brand);
}

.story-entry:hover {
  transform: translateX(10px);
}

.story-entry h3 {
  color: var(--ink);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.story-entry p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.story-cta {
  text-align: center;
  background: white;
  padding: 3rem;
  border-radius: var(--r-lg);
  margin-top: 4rem;
  box-shadow: var(--shadow-md);
}

.story-cta h3 {
  color: var(--ink);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.story-cta p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Columna derecha (foto con halo) */
.about-photo {
  position: relative;
  justify-self: center;
  max-width: 520px;
}

.about-photo .frame {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .22s ease, box-shadow .22s ease;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* círculo/halo detrás de la foto */
.about-photo::before {
  content: "";
  position: absolute;
  inset: -8% -8% -12% -8%;
  background: radial-gradient(1200px 600px at 60% 40%, rgba(255, 255, 255, 0.95) 0 32%, #eef6ff 32% 54%, transparent 54%);
  z-index: -1;
  filter: blur(8px) drop-shadow(0 18px 45px rgba(10, 20, 60, .12));
}

.about-photo .frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(10, 20, 60, .16)
}

/* SECCIÓN MÉTODO ======================================== */
.method {
  padding: 28px 0 40px;
}

.method .shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-head.center {
  text-align: center;
  margin-bottom: 8px;
}

.section-head.center h2 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem);
  color: var(--ink);
}

.section-head.center p {
  margin: 0 0 18px;
  color: var(--muted);
}

.method .grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 980px) {
  .method .grid3 {
    grid-template-columns: 1fr;
  }
}

.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow-md);
  transition: transform .16s ease, box-shadow .16s ease;
}

.step h3 {
  margin: 6px 0;
}

.step p {
  margin: 8px 0 2px;
  color: var(--muted);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(10, 20, 60, .08)
}

/* AVISO / DISCLAIMER ==================================== */
.disclaimer {
  margin: 18px 0 8px;
  color: #44546b;
  background: #f8fbff;
  border: 1px dashed #d7e5ff;
  padding: 12px;
  border-radius: 12px;
}

/* MIGAS (si las hay en tu base) */
.breadcrumbs {
  font-size: .95rem;
  color: #6b7a93;
  margin: 10px 0
}

.breadcrumbs a {
  color: #3a4c7a
}

/* Responsive small tweaks */
@media (max-width:600px) {
  .about-title {
    font-size: clamp(1.5rem, 4vw, 2.4rem)
  }

  .about-sub {
    max-width: 60ch
  }

  .about-photo {
    max-width: 420px
  }
}

/* VALUES SECTION ==================================== */
.values-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
}

@media (max-width: 980px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.value-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
  border-color: #2563eb;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: grayscale(0.2);
}

.value-card h3 {
  font-size: 1.35rem;
  margin: 0 0 16px;
  color: #0f172a;
  font-weight: 700;
}

.value-card p {
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  font-size: 1.05rem;
}

.values-highlight {
  background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 100%);
  border: 2px solid #2563eb;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-top: 48px;
}

.values-highlight p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #0f172a;
  margin: 0;
}

.values-highlight strong {
  color: #2563eb;
  font-weight: 700;
}