* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --border: #706a5f;
  --bg: #fff;
  --muted: #444;
  --radius: 18px;
  --shadow: 0 16px 30px rgba(0, 0, 0, .12);
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: #000;
}


/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg);
  z-index: 50;
  background: rgba(211, 210, 210, 0.6);
  /* semi transparente */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}


.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -0.02em;
}

.menu {
  display: flex;
  gap: 40px;
}

.menu a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.menu a:hover {
  text-decoration: underline;
}



/* PAGE */
.page {
  padding-top: 90px;
  /* deja sitio para nav */
  min-height: 100vh;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px;
}



#empty {
  display: none !important;
}



/* Card */
.project-card {
  display: block;
  text-decoration: none;
  background: #F6F2EA;
  /* crema muy sutil */
  color: #111111;
  /* negro suave */
  border: 3px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  opacity: 0;
  transform: translateY(14px);

  opacity: 1;
  transform: translateY(0);

  background-color: #F6F2EA;
  background-image: radial-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  background-size: 6px 6px;
}

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

.card-image {
  height: 210px;
  width: 100%;
  background: #f3f3f3;
  border-bottom: 3px solid var(--border);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.card-content {
  padding: 26px;
}

/* badge día */
.badge {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

/* título */
.card-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}

/* tech tags */
.tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tech span {
  font-size: 14px;
  border: 2px solid #000;
  padding: 6px 10px;
  border-radius: 10px;
  background: #FDFBF7;

}

.tech span:hover {
  background: #F6F2EA;
}

/* Ver proyecto */
.view {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.view svg {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;

}

.project-card:hover .view svg {
  transform: translateX(5px);
}


.content img {
  height: 500px;
}

.content {
  text-align: center;
}


@media (max-width: 450px) {

  .nav-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 14px;
  }

  .content-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .get-to-know-me {
    grid-column: auto;
    grid-row: auto;
  }

  .lenguages {
    grid-column: auto;
    grid-row: auto;
  }


  .brand {
    font-size: 30px;
    line-height: 1;
    text-align: center;
  }

  .menu {
    gap: 18px;
    flex-wrap: wrap;
    /* por si no cabe */
    justify-content: center;
  }

  .menu a {
    font-size: 14px;
  }

  /* Ajusta el espacio arriba del contenido porque la nav será más alta */
  .page {
    padding-top: 140px;
    /* antes 90px */
  }
}


@media (max-width: 700px) and (min-width: 450px) {

  .nav-inner {
    padding: 14px 18px;
  }

  .content-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .get-to-know-me {
    grid-column: auto;
    grid-row: auto;
  }

  .lenguages {
    grid-column: auto;
    grid-row: auto;
  }

  /* Built by Blanca se adapta progresivamente */
  .brand {
    font-size: clamp(22px, 4vw, 30px);
    line-height: 1;
  }

  /* Menú más compacto */
  .menu {
    gap: 20px;
    /* antes 40px */
  }

  .menu a {
    font-size: 15px;
  }

  /* Ajustamos espacio superior del hero */
  .page {
    padding-top: 100px;
  }
}

/* ===============================
   ACCORDION CARDS – Built by Blanca
   =============================== */

.cards {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-direction: column;
}

/* Tarjeta base */
.accordion-card {
  border: 3px solid var(--border);
  border-radius: 18px;
  background: #F6F2EA;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Efecto hover */
.accordion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
}

/* Cabecera */
.card-header {
  cursor: pointer;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;

  background: #a6c18e;
  /* tu verde */
  border-bottom: 3px solid var(--border);
  font-weight: 800;
  user-select: none;
}

/* Etiqueta tipo pill */
.card-header .tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 2px solid var(--border);
  font-size: 13px;
  font-weight: 900;
}

/* Título */
.card-header .title-mini {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 16px;
}

/* Flecha */
.chev {
  font-weight: 900;
  font-size: 18px;
  transition: transform .3s ease;
}

/* Cuerpo */
.card-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fff;
  transition:
    max-height .4s ease,
    padding .3s ease,
    opacity .25s ease;
  opacity: 0;
}

/* Contenido interno */
.card-body p {
  margin: 0 0 12px;
  line-height: 1.7;
}

.card-body ul {
  margin: 0 0 20px;
  padding-left: 20px;
  line-height: 1.8;
}

/* Estado activo */
.accordion-card.active .card-body {
  max-height: 500px;
  padding: 20px;
  opacity: 1;
}

.accordion-card.active .chev {
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
}



/* Tecnologías centradas */
.tech {
  margin-top: 18px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 25px 0;
}

.pills span:nth-child(1),
.pills span:nth-child(4),
.pills span:nth-child(7) {
  border: 2px solid #00000015;
  background-color: #a6c18e91;
}

.pills span:nth-child(2),
.pills span:nth-child(5) {
  border: 2px solid #0000003f;
  background-color: #c1ad8e9a;
}

.pills span:nth-child(3),
.pills span:nth-child(6) {
  border: 2px solid #0000002f;
  background-color: #8ec19996;
}

.pills span {
  padding: 10px 22px;
  border-radius: 20px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}



/* =========================
   IDIOMAS – Tarjeta papel
   ========================= */

.languages {
  text-align: center;
}

h2 {
  font-size: 35px;
  font-weight: 800;
  margin-bottom: 16px;
}

.languages-title {
  margin-bottom: 50px;
}

.languages-card {
  border: 3px solid var(--border);
  border-radius: 18px;
  padding: 22px 22px;
  background: #F6F2EA;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
  position: relative;
  overflow: hidden;
  width: 70%;
  display: flex;
  flex-direction: column;
  text-align: start;
  margin: 0 auto;
}

/* textura suave tipo papel */
.languages-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 4px;
  opacity: .6;
  pointer-events: none;
}

.languages-card>* {
  position: relative;
  /* encima de la textura */
}

.lang-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 14px 6px;
}

.lang-row+.lang-row {
  border-top: 1px solid rgba(0, 0, 0, .10);
}

.lang-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.dots {
  display: inline-flex;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, .45);
  background: transparent;
}

.dot.filled {
  background: rgba(0, 0, 0, .55);
  border-color: rgba(0, 0, 0, .55);
}

/* móvil */
@media (max-width: 600px) {
  .lang-name {
    font-size: 16px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 50px;
  grid-row-gap: 30px;
}

.technology-stack {
  grid-area: 1 / 1 / 2 / 3;
  text-align: center;
}

.get-to-know-me {
  grid-area: 2 / 1 / 3 / 2;
  margin-left: 40px;
}

.lenguages {
  grid-area: 2 / 2 / 3 / 3;

}

/* CONTENEDOR de las tarjetas (para que queden como en la referencia) */
.quick-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 0;
  margin-bottom: 60px;
  background-image: url("./assets/fondo-stats.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 48px;
  /* IMPORTANTÍSIMO: crea área visible */
  border-radius: 26px;
  /* si quieres */
}

/* Responsive */
@media (max-width: 980px) {
  .quick-overview {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 520px) {
  .quick-overview {
    grid-template-columns: 1fr;
  }
}

/* ===== Card EXACTA estilo referencia + hover lift ===== */
.tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* tamaño “rectángulo grande” como captura */
  height: 210px;
  width: 100%;
  padding: 28px 20px;
  gap: 10px;

  background: #fff;
  border: 3px solid #111;
  /* borde más gordo */
  border-radius: 26px;
  /* radio como captura */
  box-shadow: none;
  /* en reposo NO sombra */
  text-decoration: none;
  color: #111;

  transition: transform .18s ease, box-shadow .18s ease;
  will-change: transform;
}

.tech-card__icon {
  width: 56px;
  /* icono grande */
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.tech-card__icon img,
.tech-card__icon svg {
  width: 56px;
  height: 56px;
  display: block;
}

.tech-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.tech-card__subtitle {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* Hover elevación como la referencia */
.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .14);
}


/* ===============================
   EXPERIENCIA SECTION
   =============================== */

.experience-section {
  margin: 100px 0;
  background: #e8f0e6;
  /* verde muy suave */
  padding: 50px 0;
}

.experience-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 50px;
  text-align: center;
  letter-spacing: -0.02em;
}

/* Grid */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (max-width: 750px) {
  .hero-img {
    display: none !important;
  }
}

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

/* Tarjeta */
.experience-card {
  background: #fff;
  padding: 40px;
  border-radius: 26px;

  /* borde a líneas */
  border: 3px dashed #000;

  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover suave */
.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .12);
}

/* Fecha */
.experience-date {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  background: #000;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
}

/* Título */
.experience-card h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 14px;
}

/* Texto */
.experience-card p {
  line-height: 1.7;
  color: #444;
}





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

.header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  min-height: calc(100vh - 90px);
  padding: 0;
}

.header-content {
  align-self: center;
}


/* Badge superior */
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: #e8efe6;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 18px;
}

/* Nombre grande */
.hero-name {
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

/* Rol con fondo verde */
.hero-role {
  display: inline-block;
  background: #a6c18e;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 30px;
}

/* Lista */
.hero-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 16px;
}

/* Botones */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-primary {
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid #000;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  transition: all .2s ease;
}

.btn-primary:hover {
  background: #000;
  color: #fff;
}

.btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #000;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 800;
  color: #000;
  transition: all .2s ease;
}

.btn-circle:hover {
  background: #000;
  color: #fff;
}

/* Imagen */
.hero-img {
  width: 70%;
  max-width: none;
  justify-self: center;
  align-self: end;
  margin-left: 0px;
  display: block;
  grid-area: 1 / 1 / 2 / 2;
}

@media (max-width: 900px) {
  .hero-img {
    width: 85%;
  }
}

@media (max-width: 800px) and (min-width: 700px) {
  .hero-img {
    width: 90%;
  }

  .header-content {
    margin-top: 20px;
    margin-bottom: 10px;
  }
}



@media (max-width: 750px) {

  .header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: auto;
    padding: 80px 20px 60px;
    text-align: center;
  }

  .header-content {
    max-width: 600px;
  }

  .hero-list {
    padding-left: 0;
    list-style-position: inside;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

}



@media (max-width: 600px) {

  .hero-name {
    font-size: clamp(36px, 8vw, 48px);
  }

  .hero-role {
    font-size: 14px;
    padding: 6px 16px;
  }

  .hero-list {
    font-size: 15px;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }

}

@media (max-width: 750px) {

  /* ocultamos los bullets y lo dejamos como texto */
  .hero-list {
    list-style: none;
    padding-left: 0;
    margin: 14px 0 22px;

    font-size: 15px;
    line-height: 1.7;
    color: #444;
    text-align: center;
  }

  .hero-list li {
    display: inline;
  }

}

@media (max-width: 750px) {

  .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: auto;
    padding: 0px 18px 34px;
    margin: 0;
    text-align: center;
  }

  .header-content {
    margin-top: 0;
  }

  .hero-role {
    margin-bottom: 16px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}




/* FOOTER */

.site-footer {
  background: #2e2e2e;
  color: #bbb;
  padding: 30px 22px 30px;
  margin-top: 120px;
  font-size: 14px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: 30px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.footer-location,
.footer-update {
  margin-bottom: 6px;
  color: #888;
}

.footer-right {
  display: flex;
  align-items: flex-start;
}

.footer-link {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: opacity .2s ease;
}

.footer-link:hover {
  opacity: .7;
}

/* bottom line */
.footer-bottom {
  max-width: 1280px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  color: #666;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}