    @font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/InterVariable.woff2") format("woff2-variations");
  src: url("fonts/InterVariable.woff2") format("woff2");
}

:root {
      --bg-primary: #0a0a0a;
      --bg-secondary: #121212;
      --bg-card: #1a1a1a;
      --text-primary: #ffffff;
      --text-secondary: #a0a0a0;
      --accent-primary: #c4f946;
      --accent-secondary: #a3d93a;
      --accent-hover: #8fc935;
      --border-color: #2a2a2a;
      --gradient-1: linear-gradient(135deg, #c4f946 0%, #8fc935 100%);
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
      --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
      --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-theme="light"] {
      --bg-primary: #ffffff;
      --bg-secondary: #f8f8f8;
      --bg-card: #ffffff;
      --text-primary: #1a1a1a;
      --text-secondary: #5a5a5a;
      --accent-primary: #68b308;
      --accent-secondary: #68b308;
      --accent-hover: #8fc935;
      --border-color: #e0e0e0;
      --gradient-1: linear-gradient(135deg, #68b308 0%, #a2df46 100%);
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
      --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
      --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      transition: var(--transition);
    }

    /* Navegación */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(10, 10, 10, 0.9);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border-color);
      transition: var(--transition);
    }

    [data-theme="light"] .navbar {
      background: rgba(255, 255, 255, 0.9);
    }

    .navbar.scrolled {
      box-shadow: var(--shadow-sm);
    }

    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--text-primary);
      text-decoration: none;
      align-items: center;
      gap: 0.5rem;
    }

    .logo span {
      color: var(--accent-primary);
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 2rem;
      align-items: center;
    }

    .nav-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: var(--transition);
      position: relative;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent-primary);
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent-primary);
      transition: var(--transition);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .theme-toggle {
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
      color: var(--text-primary);
      transition: var(--transition);
    }

    .theme-toggle:hover {
      color: var(--accent-primary);
      transform: rotate(15deg);
    }

    [data-theme="dark"] .moon-icon { display: none; }
    [data-theme="light"] .sun-icon { display: none; }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 0.5rem;
    }

    .hamburger span {
      width: 25px;
      height: 2px;
      background: var(--text-primary);
      transition: var(--transition);
    }

    /* Hero Section */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 8rem 2rem 4rem;
      position: relative;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 0;
      overflow: hidden;
    }

    .hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      animation: kenBurns 20s ease-in-out infinite alternate;
    }

    .hero-bg::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8));
      z-index: 1;
    }

    [data-theme="light"] .hero-bg::after {
      background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85));
    }
    @keyframes kenBurns {
      0% { transform: scale(1); }
      100% { transform: scale(1.2); }
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 800px;
      height: 800px;
      background: radial-gradient(circle, rgba(196, 249, 70, 0.1) 0%, transparent 70%);
      animation: pulse 8s ease-in-out infinite;
      z-index: 1;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 0.5; }
      50% { transform: scale(1.1); opacity: 0.8; }
    }

    .hero-content {
      max-width: 900px;
      text-align: center;
      z-index: 2;
    }

    .hero-badge {
      display: inline-block;
      background: rgba(196, 249, 70, 0.1);
      color: var(--accent-primary);
      padding: 0.5rem 1.25rem;
      border-radius: 50px;
      font-size: 0.875rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      border: 1px solid rgba(196, 249, 70, 0.2);
      animation: fadeInUp 0.6s ease-out;
    }

    .hero h1 {
      font-size: clamp(2.5rem, 8vw, 5rem);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.5rem;
      animation: fadeInUp 0.6s ease-out 0.1s both;
    }

    .hero h1 .highlight {
      background: var(--gradient-1);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-description {
      font-size: clamp(1.1rem, 2.5vw, 1.35rem);
      color: var(--text-secondary);
      max-width: 650px;
      margin: 0 auto 2.5rem;
      animation: fadeInUp 0.6s ease-out 0.2s both;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
      animation: fadeInUp 0.6s ease-out 0.3s both;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem 2rem;
      border-radius: 50px;
      font-weight: 600;
      font-size: 1rem;
      text-decoration: none;
      transition: var(--transition);
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      background: var(--gradient-1);
      color: #0a0a0a;
      box-shadow: var(--shadow-md);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg);
    }

    .btn-secondary {
      background: transparent;
      color: var(--text-primary);
      border: 2px solid var(--border-color);
    }

    .btn-secondary:hover {
      border-color: var(--accent-primary);
      color: var(--accent-primary);
      transform: translateY(-3px);
    }

    .scroll-indicator {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      animation: bounce 2s infinite;
    }

    .scroll-indicator span {
      display: block;
      width: 20px;
      height: 30px;
      border: 2px solid var(--text-secondary);
      border-radius: 15px;
      position: relative;
    }

    .scroll-indicator span::before {
      content: '';
      position: absolute;
      top: 5px;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      height: 8px;
      background: var(--accent-primary);
      border-radius: 2px;
      animation: scroll 2s infinite;
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
      40% { transform: translateX(-50%) translateY(-10px); }
      60% { transform: translateX(-50%) translateY(-5px); }
    }

    @keyframes scroll {
      0% { opacity: 1; transform: translateX(-50%) translateY(0); }
      100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Section Styles */
    section {
      padding: 6rem 2rem;
      scroll-margin-top: 80px;
    }

    .section-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .section-tag {
      display: inline-block;
      color: var(--accent-primary);
      font-weight: 600;
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 1rem;
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 800;
      margin-bottom: 1rem;
    }

    .section-subtitle {
      color: var(--text-secondary);
      font-size: 1.125rem;
      margin: 0 auto;
    }

    /* About Section */
    .about {
      background: var(--bg-secondary);
    }

    .about-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    .about-image {
      position: relative;
    }

    .about-image-wrapper {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }

    .about-image-wrapper img {
      width: 100%;
      height: auto;
      display: block;
      transition: var(--transition);
    }

    .about-image-wrapper:hover img {
      transform: scale(1.05);
    }

    .experience-badge {
      position: absolute;
      bottom: -20px;
      right: -20px;
      background: var(--gradient-1);
      color: #0a0a0a;
      padding: 1.5rem 2rem;
      border-radius: 15px;
      text-align: center;
      box-shadow: var(--shadow-lg);
    }

    .experience-badge .years {
      font-size: 2.5rem;
      font-weight: 800;
      line-height: 1;
    }

    .experience-badge .text {
      font-size: 0.875rem;
      font-weight: 600;
    }

    .about-text h3 {
      font-size: 2rem;
      margin-bottom: 1.5rem;
    }

    .about-text p {
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
      font-size: 1.05rem;
    }

    .about-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .stat-item {
      text-align: center;
      padding: 1.5rem;
      background: var(--bg-card);
      border-radius: 15px;
      border: 1px solid var(--border-color);
    }

    .stat-number {
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent-primary);
      display: block;
    }

    .stat-label {
      font-size: 0.875rem;
      color: var(--text-secondary);
    }

    /* Projects Section */
    .projects {
      background: var(--bg-primary);
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2rem;
    }

    .project-card {
      background: var(--bg-card);
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--border-color);
      transition: var(--transition);
    }

    .project-card:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-lg);
      border-color: var(--accent-primary);
    }

    .project-image {
      position: relative;
      height: 220px;
      overflow: hidden;
    }

    .project-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
    }

    .project-card:hover .project-image img {
      transform: scale(1.1);
    }

    .project-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      opacity: 0;
      transition: var(--transition);
    }

    .project-card:hover .project-overlay {
      opacity: 1;
    }

    .project-link {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--accent-primary);
      color: #0a0a0a;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: var(--transition);
    }

    .project-link:hover {
      transform: scale(1.1);
      background: var(--accent-hover);
    }

    .project-content {
      padding: 1.5rem;
    }

    .project-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    .project-description {
      color: var(--text-secondary);
      font-size: 0.95rem;
      margin-bottom: 1.25rem;
    }

    .project-tech {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .tech-badge {
      background: rgba(196, 249, 70, 0.1);
      color: var(--accent-primary);
      padding: 0.35rem 0.85rem;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      border: 1px solid rgba(196, 249, 70, 0.2);
    }

    .tech-badge a  {
      
      color: var(--accent-primary);
      text-decoration: none;
    }

        .pasos  {
      
      color: var(--accent-primary);
      
    }

    /* Skills Section */
    .skills {
      background: var(--bg-secondary);
    }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
    }

    .skill-category {
      background: var(--bg-card);
      border-radius: 20px;
      padding: 2rem;
      border: 1px solid var(--border-color);
      transition: var(--transition);
    }

    .skill-category:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
      border-color: var(--accent-primary);
    }

    .skill-icon {
      width: 60px;
      height: 60px;
      background: rgba(196, 249, 70, 0.1);
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
    }

    .skill-icon svg {
      width: 30px;
      height: 30px;
      fill: var(--accent-primary);
    }

    .skill-category h3 {
      font-size: 1.25rem;
      margin-bottom: 1.25rem;
    }

    .skill-list {
      list-style: none;
    }

    .skill-list li {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 0;
      border-bottom: 1px solid var(--border-color);
    }

    .skill-list li:last-child {
      border-bottom: none;
    }

    .skill-list li::before {
      content: '✓';
      color: var(--accent-primary);
      font-weight: 700;
    }

    /* Contact Section */
    .contact {
      background: var(--bg-primary);
    }

    .contact-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
    }

    .contact-info h3 {
      font-size: 2rem;
      margin-bottom: 1.5rem;
    }

    .contact-info > p {
      color: var(--text-secondary);
      margin-bottom: 2rem;
      font-size: 1.05rem;
    }

    .contact-details {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .contact-icon {
      width: 50px;
      height: 50px;
      background: rgba(196, 249, 70, 0.1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .contact-icon svg {
      width: 24px;
      height: 24px;
      fill: var(--accent-primary);
    }

    .contact-item-text h4 {
      font-size: 0.875rem;
      color: var(--text-secondary);
      margin-bottom: 0.25rem;
    }

    .contact-item-text p {
      font-size: 1rem;
      font-weight: 500;
    }

    .contact-form {
      background: var(--bg-card);
      padding: 2.5rem;
      border-radius: 20px;
      border: 1px solid var(--border-color);
    }

    .form-group {
      margin-bottom: 1.5rem;
    }

    .form-group label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 1rem;
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      color: var(--text-primary);
      font-family: inherit;
      font-size: 1rem;
      transition: var(--transition);
    }

    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--accent-primary);
    }

    .form-group textarea {
      min-height: 150px;
      resize: vertical;
    }

    .form-submit {
      width: 100%;
      justify-content: center;
    }

    /* Footer */
    .footer {
      background: var(--bg-secondary);
      padding: 4rem 2rem 2rem;
      border-top: 1px solid var(--border-color);
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 2rem;
      align-items: center;
    }
    
    .footer-logo {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--text-primary);
      text-decoration: none;
    }

    .footer-logo span {
      color: var(--accent-primary);
    }

    .footer-text {
      color: var(--text-secondary);
      font-size: 0.95rem;
      margin-top: 0.5rem;
    }

    .footer-social {
      display: flex;
      gap: 1rem;
    }

.footer-social a {
      color: var(--text-secondary);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: var(--transition);
      position: relative;
    }

    .footer-social a:hover,
    .footer-social a.active {
      color: var(--accent-primary);
    }

    .footer-social a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent-primary);
      transition: var(--transition);
    }

    .footer-social a:hover::after,
    .footer-social a.active::after {
      width: 100%;
    }

    .social-link {
      width: 45px;
      height: 45px;
      background: var(--bg-card);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      text-decoration: none;
      transition: var(--transition);
      border: 1px solid var(--border-color);
    }

    .social-link:hover {
      background: var(--accent-primary);
      color: #0a0a0a;
      transform: translateY(-3px);
    }

    .social-link svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    .whatsapp-float {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 60px;
      height: 60px;
      background: #25D366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow-lg);
      transition: var(--transition);
      z-index: 999;
    }

    .whatsapp-float:hover {
      transform: scale(1.1);
      box-shadow: 0 12px 50px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-float svg {
      width: 30px;
      height: 30px;
      fill: white;
    }

    /* Scroll Animations */
    .reveal {
      opacity: 0;
      transform: translateY(50px);
      transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* Responsive Design */
    @media (max-width: 992px) {
      .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .about-image {
        max-width: 500px;
        margin: 0 auto;
      }

      .contact-container {
        grid-template-columns: 1fr;
      }

      .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
      }

      .nav-links.active {
        transform: translateX(0);
      }

      .hamburger {
        display: flex;
      }

      .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }

      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }

      .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
      }

      .about-stats {
        grid-template-columns: 1fr;
      }

      .projects-grid {
        grid-template-columns: 1fr;
      }

      .skills-grid {
        grid-template-columns: 1fr;
      }

      .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 1.5rem;
        right: 1.5rem;
      }

      .whatsapp-float svg {
        width: 26px;
        height: 26px;
      }
    }

    @media (max-width: 480px) {
      .hero {
        padding: 6rem 1.5rem 3rem;
      }

      .section-title {
        font-size: 1.75rem;
      }

      .btn {
        width: 100%;
        justify-content: center;
      }

      .contact-form {
        padding: 1.5rem;
      }
    }

    .aviso {
   text-align: justify;
    }
    .aviso p{
   margin-bottom: 20px;
    }