/* =======================
   📱 SRV Responsive Base v1.0
   ======================= */

/* === RESET GENERAL === */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  body, html {
    width: 100%;
    overflow-x: hidden;
  }
  
  /* === FLEX LAYOUTS === */
  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .col {
    flex: 1;
    min-width: 250px;
  }
  
  .center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  /* === TEXT === */
  .text-center {
    text-align: center;
  }
  
  .text-left {
    text-align: left;
  }
  
  .text-right {
    text-align: right;
  }
  
  /* === BOTONES === */
  .btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
  }
  
  .btn-primary {
    background: linear-gradient(90deg, #6D28D9, #4C1D95);
    color: #fff;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  }
  
  .btn-primary:hover {
    background: linear-gradient(90deg, #4C1D95, #6D28D9);
    transform: scale(1.05);
  }
  
  /* === CONTAINERS === */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* === MEDIA QUERIES === */
  
  /* Tablets */
  @media (min-width: 769px) and (max-width: 1024px) {
    .row {
      flex-direction: row;
      gap: 30px;
    }
  }
  
  /* Desktop */
  @media (min-width: 1025px) {
    .row {
      flex-direction: row;
      gap: 40px;
    }
  }


  /* === SOBRE MI === */

  @media (max-width: 768px) {
    .sobre-mi .texto h1 {
      font-size: 2.5rem;
      padding: 8px 12px;
      text-align: center;
      display: block;
      width: fit-content;
      margin: 0 auto 2rem auto;
    }
  }

  @media (max-width: 768px) {
    .sobre-mi .texto {
      width: 100%;
      padding: 20px;
      font-size: 1rem;
      line-height: 1.8;
      background: transparent; /* Si querés quitar el fondo negro en mobile */
    }
  
    .sobre-mi .texto p {
      font-size: 1rem;
      line-height: 1.8;
      text-align: justify;
    }
  
    .sobre-mi .frase {
      font-size: 1rem;
      text-align: center;
      padding: 10px;
    }
  }

  @media (max-width: 768px) {
    .sobre-mi .imagen {
      width: 100%;
      max-width: 320px;
      margin: 30px auto 20px auto; /* Centrada + espacio arriba y abajo */
      padding: 0 15px;
    }
  
    .sobre-mi .imagen img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      object-fit: contain;
    }
  }
  
  @media (max-width: 768px) {
    .cta-container {
      flex-direction: column;
      align-items: center;
      gap: 12px;
      padding: 0 10px; /* Espaciado lateral para evitar choque */
    }
  
    .cta-button {
      width: 100%;
      max-width: 320px;
      min-width: unset;
      white-space: normal; /* Permitir salto de línea */
      text-align: center;
      padding: 14px 18px;
      font-size: 1rem;
      line-height: 1.4; /* mejora el espaciado entre líneas */
    }
  }

  /* Ocultamos por defecto la versión mobile */
.text-mobile {
    display: none;
  }
  
  /* Mostramos versión mobile solo en pantallas chicas */
  @media (max-width: 768px) {
    .text-desktop {
      display: none;
    }
  
    .text-mobile {
      display: inline;
    }
  }
  
  
  
  