/* Variables y reset */
:root {
    --content-max-width: 1200px;
    --section-padding: 4rem;
    --border-radius: 12px;
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-transform: translateY(-5px);
  }
  
  .content {
    width: 90%;
    max-width: var(--content-max-width);
    margin: 115px auto 0;
    padding: 0 20px;
  }
  
  /* Tipografía mejorada */
  h1, h2, h3, h4 {
    color: var(--JD-Green);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  
  h1 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 2rem;
    margin-top: 10px;
  }
  
  h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--JD-yellow);
    border-radius: 2px;
  }
  
  h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  h3 {
    font-size: 2rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
  }
  
  h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
  }
  
  /* Secciones principales */
  section {
    margin: 4rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: var(--section-padding) 0;
    position: relative;
  }
  
  .content-section {
    flex: 1;
    min-width: 300px;
    display: grid;
    gap: 2rem;
  }
  
  /* Imágenes */
  .img-herramientas {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease;
  }
  
  section > img {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    object-fit: cover;
  }
  
  /* Botones y enlaces */
  .content-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .link-button {
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .link-button-green {
    color: var(--JD-Green);
    border: 2px solid var(--JD-Green);
    background: linear-gradient(to right, transparent 50%, var(--JD-Green) 50%);
    background-size: 200% 100%;
    background-position: left bottom;
  }
  
  .link-button-green:hover {
    background-position: right bottom;
    color: white;
    transform: var(--hover-transform);
  }
  
  .link-button-yellow {
    color: #333;
    border: 2px solid var(--JD-yellow);
    background: linear-gradient(to right, transparent 50%, var(--JD-yellow) 50%);
    background-size: 200% 100%;
    background-position: left bottom;
  }
  
  .link-button-yellow:hover {
    background-position: right bottom;
    transform: var(--hover-transform);
  }
  
  /* Grid de herramientas */
  .item {
    flex: 1;
    min-width: 250px;
    margin: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
  }
  
  .item img {
    width: 100%;
    transition: transform var(--transition-speed) ease;
    margin: 0;
  }
  
  .item:hover img {
    transform: scale(1.05);
  }
  
  /* Lista de características */
  .list-herramientas {
    list-style-type: none;
    padding-left: 0;
    margin: 2rem 0;
  }
  
  .list-herramientas li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
  }
  
  .list-herramientas li::before {
    content: "✓";
    color: var(--JD-Green);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    font-weight: bold;
    transform: scale(0);
    animation: checkmark 0.3s ease forwards;
  }
  
  @keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .content {
      width: 95%;
      padding: 0 10px;
    }
  
    h1 {
      font-size: 2.5rem;
    }
  
    h2 {
      font-size: 2rem;
    }
  
    section {
      flex-direction: column;
      gap: 2rem;
      padding: 2rem 0;
    }
  
    section:nth-child(even) {
      margin: 0 -20px;
      padding: 2rem 20px;
    }
  
    .content-links {
      justify-content: center;
    }
  
    .link-button {
      width: 100%;
      justify-content: center;
    }
  
    .item {
      min-width: calc(50% - 2rem);
      margin: auto;
    }
  }
  
  @media (max-width: 480px) {
    .item {
      min-width: 100%;
    }
  }