/* ===== Variables y reset ===== */
:root {
  --fp-orange: #F36F21;
  --fp-orange-dark: #D45A0F;
  --fp-orange-light: #FFE0C2;
  --fp-dark: #1F2937;
  --fp-gray: #4B5563;
  --fp-light-gray: #F3F4F6;
  --fp-white: #FFFFFF;
  --fp-border: #E5E7EB;
  --shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
  --radius: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--fp-white);
  color: var(--fp-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fp-border);
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-icon {
  background: var(--fp-orange);
  color: white;
  font-weight: 800;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -5px rgba(243, 111, 33, 0.3);
}

.logo-text {
  font-weight: 700;
  color: var(--fp-dark);
}

.logo-text span {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--fp-gray);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--fp-dark);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fp-orange);
}

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--fp-orange);
  color: white;
  box-shadow: 0 10px 20px -5px rgba(243, 111, 33, 0.4);
}

.btn-primary:hover {
  background: var(--fp-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(243, 111, 33, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--fp-orange);
  color: var(--fp-orange);
}

.btn-outline:hover {
  background: var(--fp-orange);
  color: white;
}

/* ===== Hero ===== */
.hero {
  padding: 4rem 0 6rem;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fp-dark);
  margin: 1.5rem 0 1rem;
}

.hero-content .accent {
  color: var(--fp-orange);
}

.hero-subhead {
  font-size: 1.2rem;
  color: var(--fp-gray);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fp-orange);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--fp-gray);
}
 /*
.hero-image {
  background: var(--fp-orange-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 4/5;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
*/
.hero-image {
  background: var(--fp-orange-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;               /* para centrar la imagen */
  align-items: center;
  justify-content: center;
  max-height: 70vh;            /* nunca más alta del 70% de la ventana */
}

.hero-image img {
  max-width: 90%;             /* ancho máximo igual al contenedor */
  max-height: 70vh;            /* misma limitación de altura */
  width: auto;                 /* mantiene proporción */
  height: auto;                /* mantiene proporción */
  object-fit: contain;         /* muestra la imagen completa sin recortar */
  display: block;
}


.badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  padding: 1rem 1.5rem;
  border-radius: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.badge strong {
  display: block;
  color: var(--fp-dark);
}

.badge span {
  font-size: 0.9rem;
  color: var(--fp-gray);
}

.badge-k {
  background: var(--fp-orange);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  font-weight: 700;
}

/* ===== Secciones ===== */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title .kicker {
  color: var(--fp-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fp-dark);
  margin: 0.5rem 0 1rem;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--fp-gray);
  font-size: 1.1rem;
}

/* ===== Grids y tarjetas ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--fp-white);
  border: 1px solid var(--fp-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--fp-orange-light);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--fp-orange-light);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--fp-orange);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fp-dark);
}

.card p {
  color: var(--fp-gray);
  margin-bottom: 1.5rem;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--fp-gray);
}

.card li::before {
  content: "▹";
  color: var(--fp-orange);
  position: absolute;
  left: 0;
}

/* ===== JPC bloque ===== */
.jpc-block {
  background: linear-gradient(135deg, var(--fp-orange-light) 0%, #FFFFFF 100%);
  border-radius: var(--radius);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.jpc-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fp-dark);
  margin-bottom: 1.5rem;
}

.jpc-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item .number {
  background: var(--fp-orange);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.jpc-image {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.jpc-image img {
  width: 100%;
  border-radius: 1rem;
}

/* ===== Hoja de ruta ===== */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.milestone {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--fp-light-gray);
  border-radius: 2rem;
}

.milestone .quarter {
  font-weight: 800;
  color: var(--fp-orange);
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  text-align: center;
}

/* ===== Footer ===== */
footer {
  background: var(--fp-dark);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

.footer-contact a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  opacity: 0.8;
  transition: opacity 0.2s;
  text-decoration: none;
}

.social-links a:hover {
  opacity: 1;
}

/* ===== Perfil en "Sobre mí" ===== */
.profile {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.profile img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--fp-orange-light);
}

.profile-text p {
  margin-bottom: 1rem;
  color: var(--fp-gray);
}

.profile-text ul {
  list-style: none;
  margin: 1.5rem 0;
}

.profile-text li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.profile-text li::before {
  content: "▹";
  color: var(--fp-orange);
  position: absolute;
  left: 0;
}

@media (max-width: 600px) {
  .hero-image {
    max-height: 50vh;
  }
  .hero-image img {
    max-height: 50vh;
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .jpc-block {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* Ocultar en móvil; idealmente implementar menú hamburguesa */
  }
  .milestone {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .profile {
    flex-direction: column;
    text-align: center;
  }
  .profile-text ul {
    text-align: left;
  }
}
