/* ========================
   BASE
   ======================== */
html {
  font-size: 16px;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: #0f0f0f;
  color: white;
  overflow: visible;
}

/* ========================
   LAYOUT
   ======================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.flex {
  display: flex;
  gap: 80px;
}

section {
  padding: 100px 0;
  break-inside: avoid;
}

/* ========================
   TIPOGRAFÍA
   ======================== */
h3 {
  margin-bottom: 40px;
  letter-spacing: 4px;
  font-size: 22px;
  position: relative;
  page-break-after: avoid;
}

h3::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #f59c2a;
  position: absolute;
  bottom: -10px;
  left: 0;
}

h1,
h2,
h3,
h4 {
  page-break-after: avoid;
}

p {
  page-break-inside: avoid;
}

/* ========================
   HERO
   ======================== */
.hero {
  min-height: 100vh;
  background: url("img/01_PORTADA_v3.JPG") center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  transition: transform 6s ease;
}

.hero:hover {
  transform: scale(1.02);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}

.hero h1 {
  font-size: 60px;
  transition: 0.3s;
}

.hero h2 {
  margin-bottom: 20px;
}

.hero-links {
  display: flex;
  gap: 25px;
  margin-top: 20px;
}

.hero-links a {
  color: #f59c2a;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.hero-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #f59c2a;
  transition: 0.3s;
}

.hero-links a:hover::after {
  width: 100%;
}

.hero-links a:hover {
  transform: translateY(-2px);
  background: #f59c2a;
  color: black;
}

/* ========================
   ABOUT
   ======================== */
.about {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* ========================
   EXPERIENCIA / EDUCACIÓN
   ======================== */
.col {
  flex: 1;
}

.exp {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding-right: 40px;
}

.edu {
  padding-left: 40px;
}

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(245, 156, 42, 0.2),
      rgba(245, 156, 42, 0.6),
      rgba(245, 156, 42, 0.2));
  transition: all 0.4s ease;
}

.timeline:hover::before {
  background: linear-gradient(to bottom,
      rgba(245, 156, 42, 0.6),
      rgba(245, 156, 42, 1),
      rgba(245, 156, 42, 0.6));
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:hover {
  transform: translateX(6px);
}

.timeline-dot {
  position: absolute;
  left: -2px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #f59c2a;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(245, 156, 42, 0.6);
  transition: all 0.4s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.5);
  box-shadow: 0 0 25px rgba(245, 156, 42, 1);
}

.timeline-content {
  position: relative;
  padding-top: 10px;
}

.timeline-content .date {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
  display: block;
}

.timeline-content .date::before {
  content: "●";
  color: #f59c2a;
  margin-right: 6px;
  font-size: 8px;
  position: relative;
  top: -1px;
}

.timeline-content h4 {
  font-size: 18px;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.timeline-item:hover h4 {
  color: #f59c2a;
}

.timeline-content .role {
  display: block;
  color: #f59c2a;
  font-size: 13px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.timeline-item:hover .role {
  letter-spacing: 0.5px;
}

.timeline-content p {
  font-size: 13px;
  opacity: 0.7;
  max-width: 420px;
  transition: all 0.3s ease;
}

.timeline-item:hover p {
  opacity: 1;
}


/* PROYECTO DESTACADO */
.project-highlight {
  background: #070707;
}

.project-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  page-break-inside: avoid;
}

.project-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.project-text p {
  max-width: 500px;
  margin-bottom: 30px;
  opacity: 0.8;
}

.project-buttons {
  display: flex;
  gap: 15px;
}

.project-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;

}

.project-title {
  position: relative;
  margin-bottom: 20px;
  /* menos separación */
  padding-left: 60px;
  /* espacio para la línea */
  display: flex;
  align-items: center;
  gap: 15px;
}

.project-title::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 2px;
  background: #f59c2a;

}

/* ========================
   BOTONES
   ======================== */
.btn-primary {
  background: #f59c2a;
  color: black;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-secondary {
  border: 1px solid #f59c2a;
  color: #f59c2a;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
}

/* ========================
   SKILLS / SERVICIOS
   ======================== */
.skills-section {
  background: #0a0a0a;
}

.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.skills-block {
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
  border-radius: 14px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.skills-block:hover {
  transform: translateY(-8px);
  background: rgba(245, 156, 42, 0.05);
}

.skills-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f59c2a;
  opacity: 0.6;
}

.skills-block h4 {
  margin-bottom: 20px;
  font-size: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  transition: 0.3s;
}

.chips span:hover {
  background: #f59c2a;
  color: black;
  transform: translateY(-3px);
}

.chips.soft span {
  background: rgba(245, 156, 42, 0.1);
}

.software-bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.soft-skill p {
  font-size: 13px;
  margin-bottom: 5px;
}

.bar {
  height: 5px;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: linear-gradient(90deg, #f59c2a, #ffb347);
  width: 0;
  transition: 1.5s ease;
}

.skills-section.active .fill {
  width: auto;
}

/* SERVICIOS */
.services {
  background: linear-gradient(to bottom, #0f0f0f, #121212);
  padding-top: 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.services h3 {
  font-size: 26px;
  letter-spacing: 3px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
  border-radius: 14px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(245, 156, 42, 0.08);
}

/* Borde izquierdo vertical */
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 3px;
  height: 40px;
  background: #f59c2a;
}

.service-card h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.service-card p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.tags span {
  font-size: 12px;
  padding: 6px 10px;
  background: rgba(245, 156, 42, 0.1);
  border-radius: 20px;
}

/* ========================
   CLIENTES
   ======================== */
.clients {
  background: #0f0f0f !important;
  color: white;
  padding: 120px 0;
  overflow: hidden;
}

.clients h3 {
  color: white;
}

.clients h3::after {
  background: #f59c2a;
}

.clients-wrapper {
  overflow: hidden;
}

.clients-track {
  display: flex;
  gap: 80px;
  align-items: center;
  width: max-content;
  animation: scrollClients 25s linear infinite;
}

.clients-track img {
  height: 50px;
  opacity: 0.85;
  pointer-events: none;
}

.clients-track img:nth-child(3) {
  height: 35px;
}

@keyframes scrollClients {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ========================
   CERTIFICADOS
   ======================== */
.certificados {
  background: radial-gradient(circle at top, rgba(245, 156, 42, 0.08), transparent 60%);
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.cert-card * {
  position: relative;
  z-index: 2;
}

.cert-icon {
  font-size: 28px;
  background: rgba(245, 156, 42, 0.15);
  padding: 15px;
  border-radius: 12px;
}

.cert-content h4 {
  margin-bottom: 5px;
}

.cert-content p {
  opacity: 0.7;
  font-size: 14px;
}

.cert-badge {
  margin-left: auto;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(245, 156, 42, 0.2);
  color: #f59c2a;
}

.cert-card:hover {
  transform: translateY(-6px) scale(1.01);
  border: 1px solid rgba(245, 156, 42, 0.4);
  background: rgba(245, 156, 42, 0.08);
}

.cert-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #f59c2a;
  opacity: 0;
  filter: blur(40px);
  transition: 0.4s;
  z-index: 0;
}

.cert-card:hover::after {
  opacity: 0.15;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

/* ========================
   CTA
   ======================== */
.cta {
  text-align: center;
  background: #080808;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  opacity: 0.7;
}

/* ========================
   CONTACTO
   ======================== */
.contact-pro {
  background: linear-gradient(to top, #050505, #0a0a0a);
  text-align: center;
  padding: 120px 0;
  page-break-inside: avoid;
}

.contact-pro h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-sub {
  opacity: 0.7;
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-8px);
  background: rgba(245, 156, 42, 0.08);
}

.contact-card h4 {
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 14px;
  opacity: 0.7;
}

.contact-cta {
  margin-top: 60px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  page-break-before: avoid;
}

.contact-cta .btn-primary {
  padding: 16px 32px;
  font-size: 15px;
}

/* ========================
   LOCATION BADGE
   ======================== */
.location-badge {
  position: relative;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(245, 156, 42, 0.15);
  border: 1px solid rgba(245, 156, 42, 0.4);
  color: #f59c2a;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  backdrop-filter: blur(6px);
  animation: floatBadge 3s ease-in-out infinite;
}

.location-badge:hover {
  background: rgba(245, 156, 42, 0.25);
  transform: translateY(-4px) scale(1.03);
  transition: 0.3s;
}

.location-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: #f59c2a;
  opacity: 0.2;
  filter: blur(12px);
  z-index: -1;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ========================
   BOTÓN FLOTANTE
   ======================== */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #f59c2a;
  color: black;
  padding: 14px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  z-index: 999;

}

.floating-contact:hover {
  transform: translateY(-3px) scale(1.05);
}

.floating-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: #f59c2a;
  opacity: 0.2;
  filter: blur(10px);
  z-index: -1;
}

/* ========================
   MAPAS
   ======================== */
.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.map-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 156, 42, 0.25);
  padding: 20px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.map-card * {
  position: relative;
  z-index: 2;
}

.map-card h4 {
  margin-bottom: 15px;
  padding-left: 4px;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.map-card:hover {
  transform: translateY(-6px) scale(1.01);
  border: 1px solid rgba(245, 156, 42, 0.5);
  background: rgba(245, 156, 42, 0.08);
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #f59c2a;
  opacity: 0;
  filter: blur(40px);
  transition: 0.4s;
  z-index: 0;
}

.map-card:hover::after {
  opacity: 0.15;
}

.map-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: 0.3s;
}

.map-link:hover {
  transform: scale(1.02);
}

.map-link::after {
  content: "Abrir mapa";
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 20px;
  opacity: 0;
  transition: 0.3s;
}

.map-link:hover::after {
  opacity: 1;
}

.map-link iframe {
  width: 100%;
  height: 200px;
  border: 0;
  pointer-events: none;
  filter: brightness(0.85) contrast(0.95);
  transition: 0.4s;
}

.map-card:hover .map-link iframe {
  filter: brightness(1);
}

.map-static {
  display: none;
  width: 100%;
  border-radius: 10px;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .hero {
    background-position: 30% center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h2 {
    font-size: 18px;
  }

  .hero p {
    font-size: 14px;
  }

  .about {
    height: auto;
    padding: 100px 0;
  }

  .about-content {
    max-width: 100%;
  }

  .flex {
    flex-direction: column;
    gap: clamp(20px, 5vw, 80px);
  }

  .exp {
    border-right: none;
    padding-right: 0;
  }

  .edu {
    padding-left: 0;
  }

  .project-flex {
    flex-direction: column;
    text-align: center;
  }

  .project-image img {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .project-flex {
    flex-direction: column;
    gap: 60px;
  }

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

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

  .skills-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1200px;
  }

  .hero h1 {
    font-size: 80px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .project-text h2 {
    font-size: 48px;
  }
}

@media (min-width: 2000px) {
  html {
    font-size: 20px;
  }

  .container {
    max-width: 1600px;
  }

  section {
    padding: 140px 0;
  }
}

/* ========================
   PRINT
   ======================== */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    animation: none !important;
    transition: none !important;
  }



  body {
    zoom: 0.9;
  }

  .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .floating-contact {
    display: none;
  }

  .contact-pro {
    padding-bottom: 60px;
  }

  section {
    page-break-inside: avoid;
  }

  .timeline-item {
    page-break-inside: avoid;
  }

  .experience .flex {
    display: flex !important;
    gap: 60px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .project-flex {
    display: block;
    text-align: center;
  }

  .project-text {
    margin: 0 auto;
    max-width: 600px;
  }

  .project-image {
    margin-top: 30px;
  }

  .timeline-content p {
    max-width: 400px;
  }

  iframe {
    display: none !important;
  }

  .map-static {
    display: block;
    height: 200px;
    object-fit: cover;
  }

  .map-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
  }

  .hero,
  .about {
    height: 210mm;
    min-height: 210mm;
    display: flex;
    align-items: center;
  }





  .project-highlight,
  .services,
  .clients,
  .certificados,
  .contact-pro {
    page-break-inside: avoid;
  }

  .project-flex {
    display: flex !important;
    flex-direction: row !important;
    page-break-inside: avoid;
  }

  .contact-cta {
    page-break-before: avoid;
  }

  section {
    break-inside: avoid;
  }

  .hero {
    height: 100vh;
  }

  /* Logos */

  .clients-track {
    animation: none !important;
    transform: none !important;
    width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
  }

  .clients-wrapper {
    overflow: visible !important;
  }

  .clients-track img {
    height: 40px;
    opacity: 1;
  }

  .clients-track img:nth-child(n+12) {
    display: none;
  }

  .clients-track .duplicate {
    display: none !important;
  }

  .clients-track a {
    pointer-events: none;
    /* evita links en PDF */
  }
}


@keyframes scrollProjects {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.projects-track:hover {
  animation-play-state: paused;
}


/* ========================
   PROYECTOS FINAL PRO
   ======================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 60px;
}

/* TARJETA HORIZONTAL */
.project-card {
  display: flex;
  align-items: center;
  gap: 25px;

  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 16px;

  transition: 0.3s;
}

/* HOVER */
.project-card:hover {
  transform: translateY(-8px);
  background: rgba(245, 156, 42, 0.08);
}

/* IMAGEN */
.project-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #111;
  border-radius: 12px;
}

.project-img img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* TEXTO */
.project-info {
  display: flex;
  flex-direction: column;
}

/* BOTONES */
.project-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.project-links a {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

/* BOTÓN VER */
.project-links a:first-child {
  background: #f59c2a;
  color: black;
}

/* BOTÓN CÓDIGO */
.project-links a:last-child {
  border: 1px solid #f59c2a;
  color: #f59c2a;
}

/* HOVER BOTONES */
.project-links a:hover {
  transform: translateY(-2px);
}

/* ========================
   NUEVOS PROYECTOS
   ======================== */

.project-card-new {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 260px;

  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;

  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.project-card-new:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 156, 42, 0.4);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}


/* IMAGEN */

.project-thumb {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: #0b0b0b;

  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.5s ease;
}

.project-card-new:hover .project-thumb img {
  transform: scale(1.04);
}


/* INFORMACIÓN */

.project-info {
  padding: 32px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-info h4 {
  font-size: 21px;
  margin-bottom: 6px;
}

.project-client {
  display: block;

  color: #f59c2a;
  font-size: 12px;
  font-weight: 600;

  margin-bottom: 16px;

  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-info p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.7;

  margin-bottom: 22px;
}


/* BOTONES */

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 17px;

  font-size: 13px;
  font-weight: 500;
}


/* ========================
   TABLET
   ======================== */

@media (max-width: 1024px) {

  .project-card-new {
    grid-template-columns: 1fr;
  }

  .project-thumb {
    min-height: 220px;
    height: 220px;
  }

  .project-info {
    padding: 25px;
  }
}


/* ========================
   MÓVIL
   ======================== */

@media (max-width: 768px) {

  .project-card-new {
    min-height: auto;
  }

  .project-thumb {
    height: 190px;
    min-height: 190px;
  }

  .project-info {
    padding: 22px;
  }

  .project-info h4 {
    font-size: 18px;
  }

  .project-info p {
    font-size: 13px;
  }

  .project-actions .btn-primary {
    width: 100%;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    flex-direction: column;
    text-align: center;
  }

}

.project-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 17px;

  font-size: 13px;
  font-weight: 500;

  transition: 0.3s;
}

.project-actions .btn-secondary:hover {
  background: #f59c2a;
  color: #000;
  transform: translateY(-2px);
}