/* Agrupación horizontal de fotos de viajes */
.travel-photos-row {
  display: flex;
  flex-direction: row;
  gap: 1.2em;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 1.2em;
}
.travel-photos-row .travel-kenny-img {
  max-width: 120px;
  width: 100%;
  border-radius: 1.2em;
  box-shadow: 0 2px 16px var(--neon-blue), 0 0 8px var(--neon-yellow);
  object-fit: cover;
}
@media (max-width: 900px) {
  .travel-photos-row {
    flex-direction: row;
    gap: 0.7em;
  }
  .travel-photos-row .travel-kenny-img {
    max-width: 28vw;
    min-width: 70px;
  }
}
@media (max-width: 600px) {
  .travel-photos-row {
    flex-direction: row;
    gap: 0.4em;
  }
  .travel-photos-row .travel-kenny-img {
    max-width: 32vw;
    min-width: 60px;
  }
}
/* ===== Viajes & Cultura Nueva Estructura ===== */
.travel-content-flex {
  display: flex;
  gap: 2.2em;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.travel-image-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2em;
  min-width: 220px;
  max-width: 320px;
}
.travel-kenny-img {
  width: 100%;
  max-width: 260px;
  border-radius: 1.2em;
  box-shadow: 0 2px 16px var(--neon-blue), 0 0 8px var(--neon-yellow);
  object-fit: cover;
  margin-bottom: 0.5em;
}
.travel-map img {
  width: 100%;
  max-width: 220px;
  border-radius: 1em;
  margin-bottom: 0.5em;
  box-shadow: 0 2px 12px var(--neon-yellow);
}
.travel-blog {
  display: flex;
  flex-direction: column;
  gap: 1em;
  justify-content: center;
  min-width: 220px;
  max-width: 420px;
}
@media (max-width: 900px) {
  .travel-content-flex {
    flex-direction: column;
    align-items: center;
    gap: 1.2em;
  }
  .travel-image-block, .travel-blog {
    max-width: 100%;
    min-width: 0;
  }
  .travel-kenny-img {
    max-width: 90vw;
  }
  .travel-map img {
    max-width: 90vw;
  }
}
.footer-cred-link {
  color: var(--neon-blue);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.4em;
  transition: color 0.2s;
}
.footer-cred-link:hover {
  color: var(--neon-yellow);
}
.footer-contact {
  margin: 1em 0 0.5em 0;
  color: var(--neon-yellow);
  font-size: 1rem;
  font-weight: 600;
}
.footer-contact a {
  color: var(--neon-yellow);
  margin: 0 0.4em;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: var(--neon-orange);
}
/* ===== Formación y Certificaciones ===== */
.education-section {
  background: var(--dark-bg2);
  color: var(--neon-yellow);
  border-radius: 1.2em;
  box-shadow: 0 2px 16px var(--neon-blue);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  margin-bottom: 3.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.education-section h2, .education-section h3 {
  color: var(--neon-yellow);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 1.2em;
  margin-bottom: 0.7em;
  letter-spacing: 1px;
}
.education-section h2 {
  font-size: 1.6rem;
  margin-top: 0;
}
.edu-modern-header {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 2.2em;
  justify-content: flex-start;
}
.edu-modern-icon {
  font-size: 2.2rem;
  color: var(--neon-blue);
  filter: drop-shadow(0 0 8px var(--neon-blue));
}
.edu-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2em 1.5em;
  margin-bottom: 1.5em;
}
.edu-modern-card {
  background: linear-gradient(120deg, rgba(37,99,235,0.13) 0%, rgba(251,191,36,0.10) 100%);
  border: 1.5px solid var(--neon-blue);
  border-radius: 1.1em;
  box-shadow: 0 2px 16px 0 var(--neon-blue), 0 0 8px var(--neon-yellow);
  padding: 1.5em 1.2em 1.2em 1.2em;
  display: flex;
  align-items: flex-start;
  gap: 1.1em;
  transition: transform 0.18s, box-shadow 0.18s;
  min-height: 120px;
}
.edu-modern-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 4px 32px 0 var(--neon-blue), 0 0 16px var(--neon-yellow);
  border-color: var(--neon-yellow);
}
.edu-modern-card-icon {
  font-size: 2.1rem;
  color: var(--neon-yellow);
  filter: drop-shadow(0 0 6px var(--neon-yellow));
  flex-shrink: 0;
  margin-top: 0.1em;
}
.edu-modern-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.edu-modern-card-title {
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.1em;
}
.edu-modern-card-detail {
  font-size: 0.98rem;
  color: var(--neon-yellow);
  opacity: 0.92;
}
@media (max-width: 700px) {
  .edu-modern-grid {
    grid-template-columns: 1fr;
    gap: 1.2em;
  }
  .edu-modern-card {
    flex-direction: row;
    padding: 1.1em 0.8em 1em 0.8em;
  }
}
.edu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em 0;
}
.edu-list > li {
  margin-bottom: 0.8em;
  font-size: 1.08rem;
  color: var(--text-main);
  background: rgba(36, 41, 56, 0.7);
  border-left: 4px solid var(--neon-blue);
  border-radius: 0.5em;
  padding: 0.7em 1em 0.7em 1.2em;
  box-shadow: 0 1px 6px var(--neon-blue);
}
.edu-list ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-left: 1.2em;
  list-style: disc;
}
.edu-list ul li {
  background: none;
  border: none;
  color: var(--neon-yellow);
  font-size: 1rem;
  margin-bottom: 0.3em;
  box-shadow: none;
  padding: 0;
}
.edu-detail {
  display: block;
  color: var(--neon-yellow);
  font-size: 0.98em;
  margin-top: 0.2em;
  font-style: italic;
}
/* Paleta: tonos oscuros, acentos neon naranja, azul, amarillo */
:root {
  --dark-bg: #10131a;
  --dark-bg2: #181c24;
  --neon-blue: #2563eb;
  --neon-yellow: #fbbf24;
  --neon-orange: #ff6f3c;
  --white: #fff;
  --gray: #e5e7eb;
  --text-main: #f3f4f6;
  --text-muted: #b0b3b8;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  background: var(--dark-bg);
  color: var(--text-main);
  min-height: 100vh;
}
a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--neon-orange);
}
#language-switcher {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 100;
}
#language-switcher button {
  background: var(--dark-bg2);
  color: var(--neon-yellow);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 0.3em;
  padding: 0.4em 1em;
  border-radius: 0.5em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#language-switcher button.active, #language-switcher button:hover {
  background: var(--neon-blue);
  color: var(--white);
}
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, var(--dark-bg) 60%, var(--neon-blue) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('images/kenny2.jpg') center center/cover no-repeat,
    radial-gradient(circle at 70% 30%, var(--neon-yellow) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, var(--neon-orange) 0%, transparent 70%);
  opacity: 1;
  z-index: 1;
  animation: parallax-bg 12s linear infinite alternate;
}
@keyframes parallax-bg {
  0% { background-position: 70% 30%, 20% 80%; }
  100% { background-position: 60% 40%, 30% 70%; }
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.hero-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--neon-blue);
  box-shadow: 0 0 24px var(--neon-blue), 0 0 8px var(--neon-yellow);
  background: var(--gray);
}
.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--neon-yellow);
  text-shadow: 0 2px 16px var(--neon-blue);
  text-align: center;
}
.hero-branding {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
}
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 1.5rem 1.2rem;
}
section {
  margin-bottom: 3.5rem;
}
.about-section h2, .exp-cert-section h2, .portfolio-section h2, .services-section h2, .travel-section h2, .achievements-section h2, .contact-section h2 {
  color: var(--neon-yellow);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}
.bio-short {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.7em;
}
.bio-long {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.7em;
}
.cert-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.cert-card {
  background: var(--dark-bg2);
  color: var(--neon-yellow);
  border-radius: 0.7em;
  padding: 1em 1.2em;
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-weight: 600;
  box-shadow: 0 2px 12px var(--neon-blue);
  font-size: 1rem;
}
.cert-card img {
  width: 32px;
  height: 32px;
}
.timeline {
  display: flex;
  gap: 1.2em;
  flex-wrap: wrap;
  margin-bottom: 1.2em;
}
.timeline-item {
  background: var(--neon-blue);
  color: var(--white);
  border-radius: 0.5em;
  padding: 0.5em 1em;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px var(--neon-blue);
}
.timeline-item .year {
  color: var(--neon-yellow);
  margin-right: 0.5em;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--dark-bg2);
  border-radius: 1em;
  box-shadow: 0 2px 12px var(--neon-blue);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.portfolio-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--gray);
}
.portfolio-info {
  padding: 1em;
}
.portfolio-info h3 {
  color: var(--neon-yellow);
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}
.portfolio-info p {
  color: var(--text-muted);
  font-size: 0.98rem;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
}
.service-card {
  background: var(--neon-blue);
  color: var(--white);
  border-radius: 0.7em;
  padding: 1em 1.2em;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px var(--neon-blue);
}
.travel-map img {
  width: 100%;
  max-width: 420px;
  border-radius: 1em;
  margin-bottom: 1em;
  box-shadow: 0 2px 12px var(--neon-yellow);
}
.travel-blog {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.travel-post {
  background: var(--dark-bg2);
  color: var(--neon-yellow);
  border-radius: 0.7em;
  padding: 0.8em 1.1em;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px var(--neon-blue);
}
.achievements-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
}
.achievement-card {
  background: var(--neon-yellow);
  color: var(--dark-bg);
  border-radius: 0.7em;
  padding: 1em 1.2em;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px var(--neon-yellow);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 400px;
  margin: 0 auto 1.2em auto;
}
.contact-form input,
.contact-form textarea {
  padding: 0.7em 1em;
  border: 1px solid var(--gray);
  border-radius: 0.5em;
  font-size: 1rem;
  background: var(--dark-bg2);
  color: var(--text-main);
}
.contact-form button {
  background: var(--neon-orange);
  color: var(--white);
  border: none;
  border-radius: 0.5em;
  padding: 0.8em 1.2em;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5em;
  transition: background 0.2s;
}
.contact-form button:hover {
  background: var(--neon-yellow);
  color: var(--dark-bg);
}
.whatsapp-btn {
  display: inline-block;
  background: #25d366;
  color: var(--white);
  border-radius: 0.5em;
  padding: 0.6em 1.2em;
  font-weight: 700;
  margin-top: 0.7em;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}
.whatsapp-btn:hover {
  background: #128c7e;
}
.contact-info, .contact-social {
  text-align: center;
  margin-top: 1em;
  color: var(--text-muted);
}
.contact-social a {
  color: var(--neon-yellow);
  margin: 0 0.5em;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}
.contact-social a:hover {
  color: var(--neon-orange);
  opacity: 1;
}
.main-footer {
  background: var(--dark-bg2);
  color: var(--neon-yellow);
  padding: 2rem 0 1rem 0;
  text-align: center;
  font-size: 1rem;
  letter-spacing: 1px;
}
.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.7em;
}
.footer-copy {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 1em;
}
@media (max-width: 900px) {
  .cert-cards, .services-list, .achievements-cards, .travel-blog {
    flex-direction: column;
    gap: 0.7em;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  .hero-photo {
    width: 80px;
    height: 80px;
  }
  .hero-title {
    font-size: 1.1rem;
    padding: 0 0.2em;
  }
  .hero-branding {
    font-size: 0.95rem;
  }
  main {
    padding: 0.7rem 0.2rem 0.7rem 0.2rem;
  }
  section {
    margin-bottom: 2rem;
  }
  .education-section, .about-section, .exp-cert-section, .portfolio-section, .services-section, .travel-section, .achievements-section, .contact-section {
    padding: 1.1rem 0.5rem 1rem 0.5rem;
    border-radius: 0.7em;
  }
  .portfolio-card img {
    height: 90px;
  }
  .portfolio-info h3 {
    font-size: 1rem;
  }
  .portfolio-info p {
    font-size: 0.92rem;
  }
  .service-card, .achievement-card, .cert-card, .travel-post {
    font-size: 0.98rem;
    padding: 0.7em 0.7em;
  }
  .timeline {
    gap: 0.5em;
  }
  .timeline-item {
    font-size: 0.95rem;
    padding: 0.4em 0.7em;
  }
  .travel-map img {
    max-width: 100%;
    border-radius: 0.5em;
    margin-bottom: 0.7em;
  }
  .contact-form {
    max-width: 100%;
    padding: 0 0.2em;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 0.98rem;
    padding: 0.5em 0.7em;
  }
  .contact-form button, .whatsapp-btn {
    font-size: 0.98rem;
    padding: 0.6em 0.7em;
  }
  .contact-info, .contact-social {
    font-size: 0.95rem;
    margin-top: 0.7em;
  }
  .main-footer {
    font-size: 0.95rem;
    padding: 1.2rem 0 0.7rem 0;
  }
  .footer-brand {
    font-size: 1rem;
    margin-bottom: 0.4em;
  }
  .footer-copy {
    font-size: 0.9rem;
    margin-top: 0.7em;
  }
  #language-switcher {
    top: 0.5rem;
    right: 0.5rem;
  }
  #language-switcher button {
    font-size: 0.9rem;
    padding: 0.3em 0.7em;
  }
}
