@charset "UTF-8";
/* =========================== RESET =========================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================== TIPOGRAFIA =========================== */
body,
h1,
h2,
h3,
a {
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-size: 40px;
  font-weight: 800;
  color: #663399;
  margin-bottom: 16px;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #663399;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

body {
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
  color: #333;
}

/* =========================== CONTENEDORES =========================== */
.section {
  padding: 80px 20px 20px;
  background-color: hsl(40, 60%, 98%);
  text-align: center;
}
.section > p {
  margin-bottom: 40px;
}
.section__header {
  max-width: 800px;
  margin: 0 auto 40px;
}
.section__header .icon {
  font-size: 24px;
  margin-right: 10px;
}
.section .grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .section .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .section .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .section .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.section .card {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}
.section .card:hover {
  transform: translateY(-8px);
}
.section .card img {
  width: 80px;
  height: auto;
  margin-bottom: 16px;
}

/* =========================== Linea divisora =========================== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #ccacdb, transparent);
  margin: 20px auto;
  max-width: 300px;
}

/* =========================== pendiente =========================== */
.sobre-mi .sobremi-encabezado {
  display: flex;
  align-items: stretch; /* <- importante */
  justify-content: space-between;
}

.section .foto-inicio {
  display: flex;
  align-items: stretch;
  height: 100%;
  width: auto;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}

/* =========================== NAVBAR DESKTOP/TABLET =========================== */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(to right, #7c69e1, #d17dd0, #e9c79c);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

header nav ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

header nav a {
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 10px 16px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

header nav a::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

header nav a:hover::after,
header nav a.activo::after {
  width: calc(100% - 32px);
}

header nav a:hover {
  transform: translateY(-2px);
}

/* =========================== BOTÓN HAMBURGUESA MOBILE =========================== */
.burger {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(to right, #7c69e1, #d17dd0, #e9c79c);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.burger:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.burger span {
  width: 24px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================== MENÚ LATERAL MOBILE =========================== */
#side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 300px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 100px 30px 30px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
}

#side-menu.open {
  transform: translateX(0);
}

#side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#side-menu a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 15px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  overflow: hidden;
}

#side-menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: left 0.3s ease;
}

#side-menu a:hover::before {
  left: 0;
}

#side-menu a:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
}

#side-menu a.activo {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

/* =========================== OVERLAY =========================== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.hero {
  padding: 120px 0 80px;
  background-color: #faf8f5;
}

@media (max-width: 767px) {
  .hero {
    padding: 80px 0 60px;
  }
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    min-height: auto;
  }
  .hero-image {
    order: -1;
  }
}
.hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero-title .highlight {
  color: #ccacdb;
}

.hero-subtitle {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #000000;
  max-width: 500px;
}

@media (max-width: 768px) {
  .hero-description {
    max-width: none;
  }
}
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-actions {
    justify-content: center;
  }
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-photo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(11, 90, 94, 0.15);
  transition: transform 0.3s ease;
  max-width: 100%;
}

.profile-photo:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .profile-photo {
    width: 280px;
    height: 280px;
  }
}
/* =========================== BOTONES =========================== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: #663399;
  color: #faf8f5;
  border-color: #663399;
}

.btn-primary:hover {
  background-color: transparent;
  color: #663399;
  border-color: #663399;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(11, 90, 94, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: #ccacdb;
  border-color: #ccacdb;
}

.btn-secondary:hover {
  background-color: #ccacdb;
  color: #faf8f5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(204, 172, 219, 0.3);
}

/* =========================== SKILLS SUMMARY =========================== */
.skills-summary {
  padding: 80px 0;
  background-color: rgba(204, 172, 219, 0.05);
}

.skills-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 28px;
  font-weight: 700;
  color: #663399;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-item {
  text-align: center;
  padding: 32px 20px;
  background-color: #faf8f5;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(11, 90, 94, 0.1);
}

.skill-icon {
  font-size: 36px;
  color: #ccacdb;
  margin-bottom: 16px;
  display: block;
}

.skill-item h4 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

.skill-item p {
  font-size: 14px;
  line-height: 1.5;
  color: #000000;
  margin-bottom: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card-item {
  text-align: center;
  padding: 32px 20px;
  background-color: #ffffff;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(11, 90, 94, 0.1);
}
.card-item img {
  height: 40px;
  margin-bottom: 16px;
}
.card-item p {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  margin-bottom: 0;
}
.card-item p strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.subtitulo {
  font-size: 16px;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.6;
}

/* =========================== INTRO SECTION =========================== */
.intro-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.intro-paragraph {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #333;
}

.intro-paragraph:last-child {
  margin-bottom: 0;
}

/* =========================== TOOLS =========================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(7, auto); /* 4 tools + 3 divisores */
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 2rem auto;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 200px;
  gap: 10px;
}

/* Línea vertical */
.divider-vertical {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #663399, transparent);
}

/* Responsive: en tablet o menos, se apilan */
@media (max-width: 992px) {
  .tools-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .divider-vertical {
    display: none;
  }
  .tool-item {
    max-width: 100%;
  }
}
/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Contenido principal de ejemplo */
.main-content {
  min-height: calc(100vh - 400px);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-wrapper {
  text-align: center;
  padding: 2rem;
}

.content-wrapper h1 {
  font-size: 3rem;
  color: #2d3748;
  margin-bottom: 1rem;
  font-weight: 700;
}

.content-wrapper p {
  font-size: 1.2rem;
  color: #4a5568;
}

/* =========================== FOOTER =========================== */
.footer {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  color: white;
  overflow: hidden;
  padding: 3rem 1.5rem;
}

/* Elementos decorativos de fondo */
.footer-bg-decoration {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: white;
  filter: blur(60px);
}

.decoration-circle-1 {
  top: 0;
  left: 25%;
  width: 8rem;
  height: 8rem;
}

.decoration-circle-2 {
  bottom: 0;
  right: 25%;
  width: 6rem;
  height: 6rem;
}

/* Container principal */
.footer-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navegación del footer */
.footer-nav {
  margin-bottom: 2rem;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #e2e8f0;
  transform: scale(1.05);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a78bfa, #ec4899, #f59e0b);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Enlaces sociales */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.social-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.social-link:nth-child(1):hover {
  color: #60a5fa;
}

.social-link:nth-child(2):hover {
  color: #34d399;
}

.social-bg-effect {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link:nth-child(1) .social-bg-effect {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
}

.social-link:nth-child(2) .social-bg-effect {
  background: linear-gradient(45deg, #10b981, #3b82f6);
}

.social-link:hover .social-bg-effect {
  opacity: 0.2;
}

/* Línea decorativa */
.decorative-line {
  position: relative;
  margin: 1.5rem 0;
}

.line-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.line-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.75rem;
  height: 0.75rem;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

/* Firma del footer */
.footer-signature {
  text-align: center;
  margin-bottom: 2rem;
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.location i {
  color: #f59e0b;
}

.location span {
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signature-title {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #e2e8f0, #fbbf24, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.signature-description {
  color: rgba(226, 232, 240, 0.8);
  font-size: 1rem;
  max-width: 28rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Copyright */
.footer-copyright {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.6);
}

/* Barra de gradiente inferior */
.footer-gradient-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899, #f59e0b);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem;
  }
  .nav-list {
    gap: 1rem;
  }
  .nav-link {
    font-size: 1rem;
  }
  .signature-title {
    font-size: 1.5rem;
  }
  .signature-description {
    font-size: 0.875rem;
  }
  .content-wrapper h1 {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .social-links {
    gap: 1rem;
  }
  .social-link {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  .signature-title {
    font-size: 1.25rem;
  }
}
/* =========================== RESPONSIVE DESIGN =========================== */
/* Mobile */
@media (max-width: 768px) {
  header {
    display: none;
  }
  .burger {
    display: flex;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 18px;
  }
  h3 {
    font-size: 16px;
  }
  body {
    font-size: 14px;
  }
  .hero {
    flex-direction: column;
    padding: 60px 24px 40px;
    gap: 40px;
    text-align: left;
  }
  .hero-texto {
    align-items: flex-start;
  }
  .hero-texto h2 {
    border-bottom: none;
    margin-bottom: 4px;
  }
  .barra-decorativa {
    margin: 0;
  }
  .hero-img img {
    margin: 0;
  }
  .hero-texto .intro {
    text-align: left;
    padding: 14px;
  }
  .footer {
    padding: 40px 20px 30px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .footer-nav a {
    font-size: 14px;
  }
}
/* Tablet y Desktop */
@media (min-width: 769px) {
  .burger {
    display: none !important;
  }
  #side-menu {
    display: none !important;
  }
  .menu-overlay {
    display: none !important;
  }
}
/* Tablet específico */
@media (min-width: 769px) and (max-width: 1024px) {
  header nav ul {
    gap: 30px;
  }
  header nav a {
    font-size: 16px;
    padding: 8px 12px;
  }
}
/* Desktop */
@media (min-width: 1025px) {
  .hero {
    align-items: flex-start;
  }
  .hero-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .hero-img img {
    max-height: 360px;
    height: 100%;
    width: auto;
    object-fit: cover;
  }
  .hero-texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    min-height: 360px;
  }
  .hero-texto .intro {
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    font-size: 16px;
    text-align: left;
    margin: 0;
    width: 100%;
  }
}
/* =========================== SOBRE MÍ RESPONSIVE =========================== */
.sobre-mi {
  padding: 80px 40px;
  background-color: #000;
}
.sobre-mi .sobremi-encabezado {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.sobre-mi .sobremi-encabezado .sobremi-texto {
  flex: 1;
  max-width: 600px;
  order: 1; /* Texto primero en desktop */
}
.sobre-mi .sobremi-encabezado .sobremi-texto h2 {
  font-size: 64px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
}
.sobre-mi .sobremi-encabezado .sobremi-texto p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #fff;
}
.sobre-mi .sobremi-encabezado .sobremi-texto p strong {
  font-weight: 700;
  color: #fff;
}
.sobre-mi .sobremi-encabezado .sobremi-foto {
  flex: 0 0 auto;
  order: 2; /* Imagen segunda en desktop */
  display: flex;
  justify-content: center;
  align-items: center;
}
.sobre-mi .sobremi-encabezado .sobremi-foto img {
  width: 300px;
  height: 300px;
  padding: 5px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* =========================== RESPONSIVE BREAKPOINTS =========================== */
/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .sobre-mi {
    padding: 60px 20px;
  }
  .sobre-mi .sobremi-encabezado {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    justify-content: center;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto {
    order: 2; /* Texto abajo en mobile */
    max-width: 100%;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto h2 {
    font-size: 36px;
    margin-bottom: 16px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: left;
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto {
    order: 1; /* Imagen arriba en mobile */
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto img {
    width: 200px;
    height: 200px;
    padding: 3px;
  }
}
/* Mobile Landscape (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .sobre-mi {
    padding: 70px 30px;
  }
  .sobre-mi .sobremi-encabezado {
    flex-direction: column;
    gap: 35px;
    text-align: center;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto {
    order: 2; /* Texto abajo en mobile landscape */
    max-width: 100%;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto h2 {
    font-size: 42px;
    margin-bottom: 18px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: left;
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto {
    order: 1; /* Imagen arriba en mobile landscape */
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto img {
    width: 220px;
    height: 220px;
    padding: 4px;
  }
}
/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .sobre-mi {
    padding: 75px 35px;
  }
  .sobre-mi .sobremi-encabezado {
    flex-direction: row; /* Volver a horizontal */
    gap: 35px;
    align-items: center;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto {
    order: 1; /* Texto a la izquierda */
    max-width: 500px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto h2 {
    font-size: 52px;
    margin-bottom: 18px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto p {
    font-size: 17px;
    line-height: 1.6;
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto {
    order: 2; /* Imagen a la derecha */
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto img {
    width: 250px;
    height: 250px;
  }
}
/* Desktop (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .sobre-mi {
    padding: 80px 40px;
  }
  .sobre-mi .sobremi-encabezado {
    gap: 40px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto {
    max-width: 550px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto h2 {
    font-size: 58px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto p {
    font-size: 18px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto img {
    width: 280px;
    height: 280px;
  }
}
/* Large Desktop (1201px+) */
@media (min-width: 1201px) {
  .sobre-mi {
    padding: 80px 40px;
  }
  .sobre-mi .sobremi-encabezado {
    gap: 50px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto {
    max-width: 600px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto h2 {
    font-size: 64px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto p {
    font-size: 18px;
    line-height: 1.7;
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto img {
    width: 300px;
    height: 300px;
  }
}
/* =========================== EFECTOS HOVER PARA DESKTOP =========================== */
@media (min-width: 769px) {
  .sobre-mi .sobremi-encabezado .sobremi-foto img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  }
}
/* =========================== ACCESIBILIDAD =========================== */
/* Reducir animaciones para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
  .sobre-mi .sobremi-encabezado .sobremi-foto img {
    transition: none;
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto img:hover {
    transform: none;
    box-shadow: none;
  }
}
/* Alto contraste */
@media (prefers-contrast: high) {
  .sobre-mi .sobremi-encabezado .sobremi-foto img {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
}
/* =========================== ORIENTACIÓN =========================== */
/* Ajustes para orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
  .sobre-mi {
    padding: 40px 20px;
  }
  .sobre-mi .sobremi-encabezado {
    flex-direction: row;
    gap: 25px;
    align-items: center;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto {
    order: 1;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-texto p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto {
    order: 2;
  }
  .sobre-mi .sobremi-encabezado .sobremi-foto img {
    width: 150px;
    height: 150px;
  }
}
/* =========================== FORMULARIO CONTACTO RESPONSIVE =========================== */
/* Móviles (hasta 768px) */
@media (max-width: 768px) {
  .contacto {
    padding: 60px 24px;
  }
  .contacto h2 {
    font-size: 32px;
    text-align: center;
  }
  .contacto p {
    font-size: 15px;
    text-align: center;
  }
  .formulario-contacto form {
    width: 100%;
  }
  .formulario-contacto input,
  .formulario-contacto textarea {
    font-size: 15px;
  }
  .formulario-contacto button {
    font-size: 15px;
    padding: 12px 18px;
  }
}
/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .contacto {
    padding: 80px 40px;
  }
  .formulario-contacto form {
    width: 90%;
  }
}
/* Escritorio grande */
@media (min-width: 1200px) {
  .formulario-contacto form {
    max-width: 800px;
  }
}
/* =========================== INDEX RESPONSIVE =========================== */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 100px 60px;
  }
  .hero__content {
    margin-top: 0;
    padding-left: 40px;
  }
  .hero__sparkle.sparkle--top {
    top: 0;
    left: -40px;
  }
  .hero__sparkle.sparkle--bottom {
    right: -40px;
  }
}
@media (max-width: 768px) {
  .sobremi-foto img {
    border-radius: 50%;
  }
}
.servicios {
  padding: 80px 20px;
  background-color: hsl(40, 60%, 98%);
  color: #663399;
  text-align: center;
}
.servicios__encabezado {
  max-width: 800px;
  margin: 0 auto 60px;
}
.servicios__encabezado .icono {
  font-size: 24px;
  margin-right: 10px;
}
.servicios__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .servicios__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .servicios__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .servicios__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.servicios__item {
  background: #ddded5;
  padding: 40px;
  border-radius: 16px;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}
.servicios__item:hover {
  transform: translateY(-8px);
}
.servicios__item img {
  width: 80px;
  height: auto;
  margin-bottom: 16px;
}

.contacto {
  padding: 80px 20px;
  background-color: #fdfbf7;
  display: flex;
  justify-content: center;
}
.contacto__contenido {
  max-width: 600px;
  width: 100%;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: #2c2c2c;
}
.contacto__titulo {
  font-size: 2.5rem;
  font-weight: 800;
  color: #663399;
  margin-bottom: 16px;
}
.contacto__descripcion {
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #333;
}
.contacto__formulario {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.contacto__formulario label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #663399;
}
.contacto__formulario input,
.contacto__formulario textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ccc;
  margin-bottom: 24px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  transition: border-color 0.3s ease;
}
.contacto__formulario input:focus,
.contacto__formulario textarea:focus {
  outline: none;
  border-color: #d17dd0;
}
.contacto__formulario button {
  background: linear-gradient(90deg, #7c69e1, #d17dd0, #e9c79c, #7c69e1);
  background-size: 300% 100%;
  animation: gradientFlow 6s ease infinite;
  border: none;
  color: #fff;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-align: center;
}
.contacto__formulario button:hover {
  opacity: 0.9;
}

/* Animación del botón con tu gradiente */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
:root {
  --primary-purple: #7c69e1;
  --secondary-pink: #d17dd0;
  --gray-100: #f8f9fa;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

/* ===== Grid General ===== */
.projects-section {
  padding: 80px 0;
  background: var(--gray-100);
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ===== CARD PROYECTO ===== */
.project-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Imagen principal */
.project-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

/* Overlay con botones */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-actions {
  display: flex;
  gap: 12px;
  transform: translateY(20px);
  transition: var(--transition);
}

.project-card:hover .project-actions {
  transform: translateY(0);
}

/* Botones de acción */
.btn-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn-demo {
  background: var(--white);
  color: var(--gray-800);
}

.btn-demo:hover {
  background: var(--gray-100);
}

.btn-code {
  background: var(--gray-800);
  color: var(--white);
}

.btn-code:hover {
  background: var(--gray-600);
}

.action-icon {
  font-size: 1rem;
}

/* Contenido inferior */
.project-content {
  padding: 24px;
  text-align: left;
}

.project-title {
  color: var(--gray-800);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.5rem;
  text-align: left;
}

.project-description {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

/* Tecnologías */
.project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(124, 105, 225, 0.1) 0%, rgba(209, 125, 208, 0.1) 100%);
  color: var(--primary-purple);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(124, 105, 225, 0.2);
}

/*# sourceMappingURL=styles.css.map */
