@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=DM+Sans:wght@400;500&display=swap');

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

:root {
  --black: #0d0d0d;
  --yellow: #f5c800;
  --white: #ffffff;
  --gray: #888888;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
}

/* ── NAV ── */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  z-index: 10;
}

.nav__logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--yellow);
  letter-spacing: 0.05em;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero__content {
  position: relative;
  z-index: 5;
  padding: 0 2.5rem;
  width: 60%;
}

.hero__name {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(8rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 1.4;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin-bottom: 2rem;
  word-break: break-word;
  letter-spacing: 0.05em;
}

.hero__tags {
  display: flex;
  gap: 0.75rem;
}

.tag {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff !important;
}

/* ── SHAPE ── */
.hero__shape {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 45%;
  height: 120%;
  background-color: var(--yellow);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

/* ── SCROLL INDICATOR ── */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--white);
  opacity: 0.6;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

.trabajos {
  padding: 3rem 2rem;
  background-color: #0d0d0d;
}

.trabajos__titulo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f5c800;
  margin-bottom: 2rem;
}

/* ── GRID ── */
.trabajos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.5rem;
}

/* Card grande ocupa 1 columna y 2 filas */
.trabajo--grande {
  grid-row: span 2;
}

/* ── CARD ── */
.trabajo {
  background-color: #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.trabajo:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.trabajo__imagen {
   width: 100%;
  height: 200px;
  overflow: hidden;
}

.trabajo__imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trabajo--grande {
  min-height: 200px;
}

.trabajo {
  display: flex;
  flex-direction: column;
}

.trabajo__info {
  margin-top: auto;
}

.trabajo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.trabajo__imagen {
  flex: 1;
  overflow: hidden;
}

.trabajo__imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trabajo__info {
  padding: 1rem;
}

.trabajo__info {
  padding: 0.75rem 1rem 1rem;
}

.trabajo__linea {
  width: 2rem;
  height: 1px;
  background-color: #555;
  margin-bottom: 0.5rem;
}

.trabajo__nombre {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.trabajo__meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #666666;
  text-transform: uppercase;
}

.contacto {
  background-color: #0d0d0d;
  padding: 4rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contacto__izquierda {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contacto__titulo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  font-size: 4.5rem;
}

.contacto__titulo--amarillo {
  color: #f5c800;
}

.contacto__boton {
  display: inline-block;
  background-color: #f5c800;
  color: #0d0d0d;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  width: fit-content;
  transition: opacity 0.2s;
}

.contacto__boton:hover {
  opacity: 0.85;
}

.contacto__derecha {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.contacto__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888888;
  text-decoration: none;
  border-bottom: 1px solid #333;
  padding-bottom: 0.4rem;
  transition: color 0.2s;
}

.contacto__link:hover {
  color: #ffffff;
}

/* RESPONSIVE */



