:root {
  --bg: #fcfdff;
  --card: #ffffff;
  --muted: #6b7280;
  --accent-1: #ff6b6b;
  --accent-2: #4ad1c0;
  --accent-3: #7b61ff;
  --accent-4: #849E00;
  --glass: rgba(255, 255, 255, 0.6);
  --shadow: 0 8px 30px rgba(20, 20, 40, 0.08);
  --radius: 18px;
  --max-w: 1290px;
  --gutter: 24px;
  font-family: 'Poppins', system-ui;
  color-scheme: light;
}

/* Reset & basics */
* {
  box-sizing: border-box
}

html{
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
      background-color: #ffffff; /* beige de fondo */
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  font-size: 16px;
}


img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  width: calc(100% - var(--gutter)*2);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 0 0px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.45));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.03)
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  z-index: -1;
}

.nav {
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px
}

.logo img {
  height: 60px
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav-links a {
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all .22s
}

.nav-links a:hover {
  background: rgba(123, 97, 255, 0.08);
  transform: translateY(-2px)
}

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  font-size: 22px
}

/* --- Responsive full-screen menu --- */
@media (max-width: 780px) {

  /* Estilo del icono hamburguesa */
  .hamburger {
    position: relative;
    width: 28px;
    height: 22px;
    display: block;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
  }

    /* El menú se vuelve vertical */
  .nav-links{
display: flex;
flex-direction: column;
gap: 8px;
position: absolute;
top: 64px;
right: 10px;
padding: 16px 12px;
background-color: white;
  }
  
  .nav-links.active {
    display: flex;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 12px;
  }

  /* Las 3 líneas */
  .hamburger span {
    display: block;
    height: 3px;
    background: #0f172a;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
  }
}




/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;         /* Centra verticalmente */
  justify-content: center; 
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px 360px;
  gap: 36px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64vh;
  padding-top: clamp(2rem, 6vw, 4.5rem);
  padding-bottom: clamp(2rem, 6vw, 4.5rem);
}


.hero-inner-project {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 36px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64vh;
  padding-top: clamp(2rem, 6vw, 4.5rem);
  padding-bottom: clamp(2rem, 6vw, 4.5rem);
}

/* Hero columns */
.hero-copy { display:flex; flex-direction:column; gap:18px; }
.hero-copy .hero-name { margin:0; font-size: clamp(2.2rem, 6.4vw, 4.2rem); line-height:1; }
.hero-copy .name-first { display:block; font-weight:600; color: #7b61ff;}
.hero-copy .name-last { display:block; color:#6b7280; font-weight:600; }
.hero-lead { color:#57606a; max-width:60ch; }
.btn-cta { display:inline-flex; align-items:center; gap:12px; background: #849E00; padding:12px 22px; border-radius:28px; color:#ffffff;  border: none; box-shadow: 0 8px 22px rgba(6,6,6,0.08); }
.btn-cta .cta-arrow{ background:#0a0a0a; color:#fff; border-radius:999px; padding:6px 10px; margin-left:8px; }

/* Mockup center */
.hero-mockup { display:flex; flex-direction:column; align-items:center; gap:12px; }
.mockup-card { width: 340px; height: 520px; border-radius: 18px; background: linear-gradient(180deg,#fff,#fbfdff); box-shadow: 0 30px 60px rgba(11,22,40,0.06); padding:18px; display:flex; align-items:center; justify-content:center; position:relative; }
.mockup-card img{ width:100%; height:100%; object-fit:cover; border-radius:12px; }
.mockup-socials { position:absolute; right:18px; top:28px; display:flex; flex-direction:column; gap:12px; }
.mockup-socials .icon{ width:40px; height:40px; border-radius:999px; background:rgba(15,23,42,0.08); display:inline-flex; align-items:center; justify-content:center; color:#fff; font-size:14px; }
.mockup-available { margin-top:8px; color:#475569; }
.mockup-available .dot{ display:inline-block; width:10px; height:10px; background:#849E00; border-radius:999px; margin-right:8px; }

/* Right column: role/stats */
.hero-side { display:flex; flex-direction:column; gap:18px; align-items:flex-start; }
.role-title { margin:0; font-size: clamp(1.6rem, 4.6vw, 2.4rem); font-weight: 600; color: #424242;}
.hero-stats { display:flex; gap:24px; align-items:center; margin-top:8px; }
.avatars img{ width:44px; height:44px; border-radius:999px; margin-right:-10px; border:3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.stat strong{ font-size:1.8rem; display:block; color: #0a0a0a; }

@media (max-width: 900px){
  .hero-inner { grid-template-columns: 1fr; gap:18px; padding: 20px; }
  .hero-side { align-items:center; text-align:center; }
  .mockup-card{ width: 90%; height: 420px; }
  .mockup-socials{ position: absolute; bottom: 18px; left: 18px; right:18px; display:flex; justify-content:center; gap:18px; }
  .mockup-socials .icon{ background: rgba(255,255,255,0.18); }
  .btn-cta { margin-top:12px; }
  .name-first {font-size: 3rem;}
  .name-last {font-size: 3rem;}
}

.hero-copy h1 {
  font-family: 'Poppins', 'DM Sans';
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  margin: 0 0 14px;
  line-height: 1.02
}

.intro-text {
  display: block;
  font-weight: 500;
  font-size: 18px;
  color: #11151e
}

.main-title {
  display: inline-block;
/* background: linear-gradient(90deg, var(--accent-2), var(--accent-3)); */
background: var(--accent-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero-copy p {
  margin: 0 0 22px;
  color: #11151e;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

.smalltext{
  font-weight:500;
  color:var(--muted);
  font-size:32px; 
}

.cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: left;
}

.btn-primary {
  background: var(--accent-4);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 500;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.btn-primary:hover {
  background: #516f21;
  transform: translateY(-2px)
}

.btn-secondary {
  background: transparent;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.829);
  justify-content: center;
}

.btn-secondary:hover {
  background: rgba(38, 36, 51, 0.178);
  transform: translateY(-2px)
}

.hero-mockup {
  position: relative;
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center
}

.mockup-card {
  width: 340px;
  height: 640px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 18px 40px rgba(120, 90, 155, 0.12);
  overflow: hidden;
  transform: rotate(-6deg);
  transition: transform .5s
}

.mockup-card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-mockup .floating-doodle {
  position: absolute;
  left: -40px;
  top: -40px;
  width: 100px;
  opacity: 0.95;
  transform: rotate(-10deg)
}

.pill{
  background-color: #2B5B6C;
  color: white;
  padding: 2px 12px;
  border-radius: 8px;
}


/* Spotify */
.main {
  background-color: white;
  padding: 1em;
  padding-bottom: 1.1em;
  border-radius: 15px;
  margin: 1em;
}

.loader {
  display: flex;
  flex-direction: row;
  height: 4em;
  padding-left: 1em;
  padding-right: 1em;
  transform: rotate(180deg);
  justify-content: right;
  border-radius: 10px;
  transition: .4s ease-in-out;
}

.loader:hover {
  background-color: lightgray;
}

.currentplaying {
  margin: 1em;
}

.spotify {
  width: 40px;
  height: 40px;
  margin-right: 0.6em;
}

.heading {
  color: black;
  font-size: 1.1em;
  font-weight: bold;
  align-self: center;
}

.loading {
  display: flex;
  margin-top: 1em;
  margin-left: 0.3em;
}

.load {
  width: 2px;
  height: 33px;
  background-color: rgb(51, 112, 137);
  animation: 1s move6 infinite;
  border-radius: 5px;
  margin: 0.1em;
}

p.name{
  margin-bottom: 0px;
}

p.artist{
  margin-top: 0px;
  font-size: 0.8em;
}

.load:nth-child(1) {
  animation-delay: 0.2s;
}

.load:nth-child(2) {
  animation-delay: 0.4s;
}

.load:nth-child(3) {
  animation-delay: 0.6s;
}

.play {
  position: relative;
  left: 0.35em;
  height: 1.6em;
  width: 1.6em;
  clip-path: polygon(50% 50%, 100% 50%, 75% 6.6%);
  background-color: rgb(51, 112, 137);
  transform: rotate(-90deg);
  align-self: center;
  margin-top: 0.7em;
  justify-self: center;
}

.albumcover {
  position: relative;
  margin-right: 1em;
  height: 40px;
  width: 40px;
  background-color: rgb(233, 232, 232);
  align-self: center;
  border-radius: 5px;
}

.song {
  position: relative;
  transform: rotate(180deg);
  margin-right: 1em;
  color: black;
  align-self: center;
}

.artist {
  font-size: 0.6em;
}

@keyframes move6 {
  0% {
    height: 0.2em;
  }

  25% {
    height: 0.7em;
  }

  50% {
    height: 1.5em;
  }

  100% {
    height: 0.2em;
  }
}

/* Sections */
section.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 28px;
  margin: 0 0 18px¡;
}



/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
  
}

/* Tools & Expertise (about-lead) */
.tools-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 8px 28px rgba(15,23,42,0.06);
  border: 1px solid rgba(15,23,42,0.04);
  max-width: 840px;
}
.tools-card h3 { margin: 0 0 18px; font-size: 1.5rem; color: #0f172a; font-weight: 500; }
.tools-pills { display:flex; flex-wrap:wrap; gap: 12px; }
.tools-pills span { background: #eef0f2; color: #374151; padding: 8px 12px; border-radius: 999px; font-weight:500; font-size:0.80rem; }

.stats-row { display:flex; gap: 22px; margin-top: 22px; }
.stat-card { background: #fff; padding: 28px; border-radius: 12px; flex:1; box-shadow: 0 8px 26px rgba(15,23,42,0.05); border: 1px solid rgba(15,23,42,0.03); text-align:center; }
.stat-number { font-size: 2.4rem; color: #7b61ff; font-weight:800; }
.stat-number .plus{ font-size: 1.1rem; margin-left: 2px; }
.stat-label { color: #6b7280; margin-top:6px; }

/* Make the tools-card and stats align visually like the screenshot */
.about-lead { display:flex; flex-direction:column;  }

@media (max-width: 980px) {
  .tools-card { padding: 20px; }
  .stats-row { flex-direction: column; gap: 14px; }
}



.about-lead .h2left {
  font-size: clamp(40px, 5vw, 50px);
  margin: 0;
  color: #7b61ff;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-lead .muted {
  color: #272727;
  font-size: 16px;
  margin: 0;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.about-card {
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  
}


.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.card-icon {
  font-size: 20px;
}

.card-title {
  color: #7b61ff;
  font-weight: 500;
  font-size:1.5rem;
}

.card-body {
  position: relative;
  z-index: 1;
}

.card-body p {
  color: #5d5d5d;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 15px;
}

.card-body p:last-child {
  margin-bottom: 0;
}

.highlight {
  font-weight: 600;
  padding: 2px 0;
  position: relative;
}

.highlight-purple {
  color: #849E00;
}

.highlight-cyan {
  color: #849E00;
}

.highlight-coral {
  color: #849E00;
}

.card-body strong {
  color: #2d2d2d;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  
  .about-lead .h2left {
    font-size: 32px;
  }
  
  .about-card {
    padding: 24px;
  }
}




/* Projects */
.projects {
  padding: 4rem 2rem;
  background: #ffffff;
  background-image: radial-gradient(#7676763e 0.6px, transparent 0.6px);
  background-size: 24px 24px; /* distancia entre los puntos */
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.projects-header h2 {
  font-size: 2rem;
  font-weight: 500;
}

.all-work-link {
  text-decoration: none;
  font-weight: 500;
  color: #222;
  transition: color 0.3s;
}
.all-work-link:hover {
  color: #888;
}

/* --- Carousel --- */
.projects-carousel {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}
.projects-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 30px;
}
/* Responsivo: una sola columna en pantallas pequeñas */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}


.project-card {
  position: relative;
  flex: 0 0 80%;
  max-width: 100%;
  height: 20rem;
  border-radius: 1.5rem;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #fff;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0.775, 0.775), transparent);
  color: #fff;
}

.project-title{
  font-size: 1.5rem;
  font-weight: 600;
}

.muted {
  font-size: 0.9rem;
  opacity: 0.8;
}

.project-tags {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(75, 75, 75, 0.271)!important;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  backdrop-filter: blur(5px);
  color: #fff!important;
}

.project-btn {
  display: inline-block;
  background-color: var(--accent-3);
  margin-top: 1rem;
  color: #fff;
  font-weight: 500;
  text-decoration: none; 
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  transition: opacity 0.3s;
}
.project-btn:hover {
  opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .project-card {
    flex: 0 0 90%;
  }
}

/* Full-width Image Section */
.fullwidth-image {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.fullwidth-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  box-shadow: none;
}




/* Skills */


.skills-marquee {
  overflow: hidden;
  white-space: nowrap;
  border-radius: 12px;
  padding: 12px;
  background: transparent;
  display: flex;
  gap: 16px;
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent)
}

.skills-list {
  display: flex;
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  animation: marquee 14s linear infinite;
  animation-delay: -10s;
}

.skills-list li{
  font-weight: 500;
  font-size: 50px;
  color: #333;
}

/* Ícono entre cada <li> */
.skills-list li::after {
  content: "☾☼"; 
  margin-left: 1rem;
}

 /* Scoped styles para la sección skills NEXTPORT */
        #skills .skills-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 18px;
          margin-top: 22px;
        }

        .skill-card {
          background: var(--card);
          border-radius: 12px;
          padding: 18px;
          box-shadow: none;
          box-sizing: border-box;
          width: 100%;
          display: flex;
          flex-direction: column;
        }

        .skill-card h4 {
          margin: 0 0 6px;
          font-weight: 500;
        }

        .skill-item {
          display: flex;
          align-items: center;
          gap: 12px;
          margin: 12px 0;
        }

        .skill-item .label {
          flex: 1;
          font-size: 14px;
          color: var(--muted);
        }

        .skill-bar {
          width: 160px;
          height: 10px;
          background: rgba(0, 0, 0, 0.06);
          border-radius: 999px;
          overflow: hidden;
          position: relative;
        }

        .skill-bar>i {
          display: block;
          height: 100%;
          background: rgb(33, 78, 94);
          border-radius: 999px;
        }

        .skill-percent {
          font-size: 12px;
          color: var(--muted);
          margin-left: 10px;
          min-width: 30px;
          text-align: right;
        }

        /* lower row */
        .skills-bottom {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 18px;
          margin-top: 22px;
        }

        

        .tags {
          display: flex;
          gap: 8px;
          flex-wrap: wrap;
          padding-top: 6px;
        }

        .tag {
          background: transparent;
          border: 1px solid rgba(0, 0, 0, 0.06);
          padding: 6px 8px;
          border-radius: 999px;
          font-size: 14px;
          color: black;
        }

        .cert-list {
          list-style: none;
          padding: 0;
          margin: 0;
          display: flex;
          flex-direction: column;
          gap: 10px;
        }

        .cert-list li {
          display: flex;
          justify-content: space-between;
          align-items: center;
          color: var(--muted);
          font-size: 14px;
        }

        .year {
          background: rgba(0, 0, 0, 0.06);
          padding: 6px 10px;
          border-radius: 999px;
          font-size: 12px;
          color: var(--muted);
        }

        .learn-box {
          margin-top: 22px;
          background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
          border-radius: 10px;
          padding: 20px;
          text-align: center;
          color: var(--muted);
        }

        @media (max-width: 900px) {
          #skills .skills-grid {
            grid-template-columns: repeat(2, 1fr);
          }

          .skills-bottom {
            grid-template-columns: 1fr;
          }
        }

        @media (max-width: 560px) {
          #skills .skills-grid {
            grid-template-columns: 1fr;
          }

          .skills-bottom {
            grid-template-columns: 1fr;
          }
        }



@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
} 





/* Responsive */
@media (max-width:980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 12px;
    padding-right: 12px;
    align-items: start;
  }

  .hero-inner-project{
        grid-template-columns: 1fr;
        gap: 24px;
        padding-left: 12px;
        padding-right: 12px;
        align-items: start;
  }



  .project-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .featured {
    grid-column: span 2
  }


  .smalltext{
  font-weight:500;
  color:var(--muted);
  font-size:18px; 
}

  .mockup-card{
    width: 50%;
    height: 50%;
  }
  .hero-mockup-reveal{
    width: 50%;
    height: 50%;

  }

.hero-copy h1{
  font-size: 50px;
}
  .hero-mockup .floating-doodle{
    width: 60px;
    left: 20px;
    top: 10px;
  }
}

@media (max-width:600px) {
  .nav-links {
    display: none
  }

  .project-grid {
    grid-template-columns: 1fr
  }

  .about-grid {
    grid-template-columns: 1fr
  }

  .hero-copy h1 {
    font-size: 40px;
    margin-bottom: 18px;
  }
  .hero-mockup {
   align-items: center;
    justify-content: center;
  }
  .mockup-card{
    width: 50%;
    height: 50%;
  }
  .hero-mockup-reveal{
    width: 50%;
    height: 50%;

  }
  .hero-mockup .floating-doodle{
    width: 60px;
    left: 20px;
    top: 10px;
  }

  /* small screens: tighten hero spacing and stack CTAs */
  .hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .hero-copy { max-width: 56ch; }
  .cta-row {  gap: 12px; }
}

/* Interactive touches */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: all .7s cubic-bezier(.2, .9, .2, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0)
}

.floating {
  animation: floaty 6s ease-in-out infinite
}

@keyframes floaty {
  0% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }

  100% {
    transform: translateY(0)
  }
}

/* Focus states */
a:focus,
button:focus {
  outline: 3px solid rgba(123, 97, 255, 0.14);
  outline-offset: 3px
}

#my-process{
  background-color: #ffffff;
}

.section-nextport{
  display: flex;
  padding: 4rem 0;
  background-color: #0A3B47;
  gap: 3rem;
}

/* Responsive */
@media (max-width: 900px) {
  .section-nextport {
    flex-direction: column;
    align-items: flex-start;
  }
}

.process-section {
  color: #fff;
  padding: 80px 20px;
  background: var(--background, #0a0a0a);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  background: #0A3B47;
  color: aliceblue;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.1rem;
  margin-bottom: 12px;
}

.section-header h2 {
  margin: 8px 0;
  font-size: clamp(24px, 3vw, 34px);
}

.section-header p {
  max-width: 80ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
}

/* Grid desktop */
.process-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card styles */
.process-card {
  background: var(--card, #756767);
  border-radius: 12px;
  border-color: #5d5d5d;
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 3px 6px rgba(213, 213, 213, 0.723);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.step-number {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4298b5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

.card-content {
  padding: 20px;
}

.card-content h4 {
  margin-bottom: 6px;
  font-size: 18px;
  color: #0a0a0a;
}

.card-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  color: #0a0a0a;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: rgba(66, 152, 181, 0.251);
  color: #232323;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 13px;
}


/* 🔁 Responsive: switch to carousel on mobile */
@media (max-width: 900px) {
  .process-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 10px;
  }

  .process-card {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

@media (max-width: 600px) {
  .process-card {
    flex: 0 0 90%;
    max-width: 90%;
  }
}



/* Avatars overlap + score badge */
.avatars { display:flex; align-items:center; }
.avatars img { width:44px; height:44px; border-radius:999px; border:3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,0.08); margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.avatars > * { position: relative; }
.avatars > *:nth-child(1) { z-index: 5 }
.avatars > *:nth-child(2) { z-index: 4 }
.avatars > *:nth-child(3) { z-index: 3 }
.avatars > *:nth-child(4) { z-index: 2 }
.avatars .score-badge { z-index: 1; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:999px; background:#222; color:#fff; font-weight:700; margin-left: -12px; border:3px solid #fff; }

@media (max-width: 500px) {
  .avatars img, .avatars .score-badge { width:40px; height:40px; }
}

/* Features Section */
.features-section {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
  }

  .feature.reverse .feature-text {
    order: 2;
  }

  .feature.reverse .feature-image {
    order: 1;
  }
}

/* On small screens, ensure reverse features stack with text first, image below */
@media (max-width: 900px) {
  .feature.reverse .feature-text { order: 1; }
  .feature.reverse .feature-image { order: 2; }
}

.feature-text {
  max-width: 550px;
}

.badge {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.feature-text h3 {
  font-size: 1.75rem;
  margin: 0.5rem 0 1rem;
}

.feature-text p {
  color: #555;
  margin-bottom: 1.5rem;
}

.feature-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-text li {
  color: #06102e;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.feature-image img {
  width: 34rem;
  height: 19rem;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

/* Make feature-image container constrain images and center them */
.feature-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .feature-image img { max-height: 340px; }
}

@media (max-width: 600px) {
  .feature-image img { max-height: 240px; border-radius: 8px; }
  .feature-image { width: 100%; }
}


/* Contact */
.info{
  text-align: center;
  padding: 12px;
  font-size: 4rem;
}

.icon{
  font-size: 4rem;
  color:#7b61ff;
}

@media (max-width: 900px) {
  .info { font-size: 2.5rem; }
  .icon{ font-size: 2.5rem; }
}

@media (max-width: 600px) {
  .info{ font-size: 1.5rem; }
  .icon{ font-size: 1.5rem; }
}



/* Footer */
.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.03);
  padding: 28px 0;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.footer .socials a {
  color: #333;
  font-size: 1.5rem ;
  transition: color 0.3s;
}

.footer .socials a:hover {
  color: #7b61ff; /* azul LinkedIn o cambia según icono */
}

/* HERO META - responsive stats / details under hero */
.hero-meta {
  display: flex;
  gap: 2.25rem; /* roomy on desktop */
  align-items: center!important;
  justify-content: center;
  flex-wrap: wrap;
  width: fit-content;
  margin-top: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.222);
  padding: 24px;
  border-radius: 12px;
}
.hero-meta > div {
  min-width: 160px; /* keep items readable */
  flex: 0 1 auto;
  color: inherit;
}
.hero-meta strong {
  display: block;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.hero-meta p {
  margin: 0;
  font-size: 0.98rem;
  color: #102226;
}

@media (max-width: 880px) {
  .hero-meta { gap: 1rem;} 
  .hero-meta > div { min-width: 140px; }
}

@media (max-width: 560px) {
  .hero-meta {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
  }
  .hero-meta > div { min-width: 0; width: 100%; }
  .hero-meta p { font-size: 0.95rem; }
}

/* Dropdown Damel */
.card {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
border-radius: 12px;
padding: 18px;
box-shadow: 0 6px 20px rgba(2, 6, 23, 0.6);
}


details {
background: var(--card);
border-radius: 10px;
margin: 12px 0;
padding: 8px;
box-shadow: 0 3px 8px rgba(2, 6, 23, 0.11);
}


summary {
list-style: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
font-weight: 600;
font-size: 1rem;
padding: 6px 4px;
}


summary::-webkit-details-marker {
display: none;
}


.label {
display: flex;
gap: 0.6rem;
align-items: center;
font-weight: 500;
}


.emoji {
font-size: 1.25rem;
}


.meta {
color: var(--muted);
font-weight: 500;
font-size: 0.9rem;
}


details[open] {
border: 1px solid rgba(255, 255, 255, 0.532);
}


.content {
padding: 10px 6px 8px 6px;
color: #d7e6f2;
line-height: 1.45;
}


.small {
font-size: 0.92rem;
color: var(--muted);
background-color: #ffcc0030;
padding: 6px;
border-radius: 8px;
}


.chev {
transition: transform 0.22s ease;
width: 1rem;
background-color: rgba(255, 255, 255, 0.3);
}


details[open] .chev {
transform: rotate(45deg);
}

.feature-text p{
  margin-bottom: 0rem;
}


/* DASHBOARD DAMEL*/
        .dashboard {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
            max-width: 1200px;
        }

        .widget {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 3px 8px rgba(2, 6, 23, 0.11);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: slideUp 0.6s ease-out;
        }

/*Highlight bar*/
.highlight-bar {
  display: flex;
  justify-content: center; /* Centra horizontalmente la sección */
  padding: 2rem 1rem;
    border: 3px solid rgba(255, 255, 255, 0.222)!important;

}

.hero-meta {
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
  justify-content: center; /* Centra los items dentro del flex */
  color: var(--muted);

  
}



.hero-meta div {
  text-align: center; /* Centra el texto dentro de cada div */
}

.hero-meta strong {
  font-weight: 500;
  color: rgb(42, 42, 42);
}

.hero-meta p {
  font-size: 20px;
  color: rgb(17, 17, 17);
  margin: 0; /* Elimina márgenes predeterminados */
}

/* Responsive: en pantallas pequeñas, columna */
@media (max-width: 600px) {
  .hero-meta {
    flex-direction: column;
    gap: 1rem; /* Ajusta espacio entre filas */
  }
}



/* HOVER CON MOVIMIENTO DASHBOARD
        .widget:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }
            */

        .widget-header {
            display: flex;
            align-items: center;
            margin-bottom: 32px;
        }

        .widget-icon {
            width: 60px;
            height: 60px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: white;
            margin-right: 15px;
        }

        .icon-social { background: #ffcc00 }
        .icon-video { background: #ffcc00 }
        .icon-assets { background:#ffcc00 }
        .icon-influencer { background: #ffcc00 }
        .icon-web { background: #ffcc00 }
        .icon-growth { background:#ffcc00 }

        .widget-title {
            font-size: 1.3rem;
            color: #2d3748;
            font-weight: 700;
        }

        .widget-subtitle {
            color: #718096;
            font-size: 0.9rem;
        }

        .metric {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 10px;
            border-bottom: 1px solid #e2e8f0;
        }

        .metric:last-child {
            border-bottom: none;
        }

        .metric-label {
            color: #4a5568;
            font-size: 0.95rem;
        }

        .metric-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2d3748;
        }

        .chart-container {
            position: relative;
            height: 200px;
            margin-top: 20px;
        }

        .platforms {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 15px 0px 15px 0;
            
        }

        .platform-tag {
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            color: white;
        }

        .tag-instagram { background: #ffcc0075; color: #11151e; }
        .tag-tiktok { background: #ffcc0075; color: #11151e; }
        .tag-facebook { background: #ffcc0075; color: #11151e; }
        .tag-tv { background: #ffcc0075; color: #11151e; }
        .tag-online { background: #ffcc0075; color: #11151e; }

        .big-number {
            text-align: center;
            padding: 10px 0;
        }

        .big-number-value {
            font-size: 3.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #a3005c 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .big-number-label {
            color: #718096;
            font-size: 1rem;
        }

        .progress-bar {
            width: 100%;
            height: 10px;
            background: #e2e8f0;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 10px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #a3005c 0%, #5f0036 100%);
            border-radius: 10px;
            transition: width 1s ease-out;
        }

        .list-item {
            padding: 12px 0;
            display: flex;
            align-items: center;
            border-bottom: 1px solid #e2e8f0;
        }

        .list-item:last-child {
            border-bottom: none;
        }

        .list-item i {
            margin-right: 12px;
            color: #a3005c;
            font-size: 1.2rem;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .header h1 { font-size: 1.8rem; }
            .dashboard { grid-template-columns: 1fr; }
            .damelpics { 
            grid-template-columns: repeat(2,1fr)!important}
        }

           @media (max-width: 600px) {
            .damelpics { 
            grid-template-columns: repeat(1,1fr)!important}
        }

  

 @media (max-width: 768px) {
p{
  font-size: 16px!important;
  line-height: 32px!important;
      }
.project-overlay p{
  width: 100%!important;
}
    }


