/* ---------- Variables para dejar preseteado un estilo ---------- */
:root {
  --negro: #000000;
  --gris-oscuro: #121212;
  --gris-medio: #202020;
  --blanco: #ffffff;
  --hueso: #f4ece1;
  --cyan: #3de6ff;
 
  --texto-suave: rgba(244, 236, 225, 0.7);
  --texto-oscuro: rgba(18, 18, 18, 0.75);
  --borde: rgba(244, 236, 225, 0.12);
  --vidrio: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.2));
 
  --display: "BBH Hegarty", "Archivo Black", sans-serif;
  --cuerpo: "Montserrat", sans-serif;
  --mono: "Roboto Mono", monospace;
 
  --radio: 1rem;
  --margen-lateral: 1.5rem;
  --ancho-contenido: 86.5625rem;
  --lateral: max(var(--margen-lateral), calc((100% - var(--ancho-contenido)) / 2));
  --espacio-seccion: 3.5rem;
  --gap: 1rem;
}


 
/* ---------- Reseteo de estilos ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
html { scroll-behavior: smooth; }
 
body {
  background-color: var(--blanco);
  color: var(--hueso);
  font-family: var(--cuerpo);
  line-height: 1.55;
  overflow-x: hidden;
}
 
img { display: block; max-width: 100%; height: auto; }
 
a { color: inherit; text-decoration: none; }
 
ul { list-style: none; }
 
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
 
.mono {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(244, 236, 225, 0.45);
}
 
/* ---------- Secciones ---------- */
.seccion { padding: var(--espacio-seccion) var(--lateral); }
 
.seccion--oscura { background-color: #0a0a0a; }
 
.seccion--clara { background-color: var(--blanco); color: var(--gris-oscuro); }
 
.seccion--degrade {
  background-image: linear-gradient(var(--gris-oscuro) 8%, var(--gris-medio) 50%, var(--gris-oscuro));
}
 
.seccion--contacto {
  background-image: linear-gradient(rgba(18, 18, 18, 0.35), rgba(18, 18, 18, 0.35)), url("../img/fondo-contacto.png");
  background-size: cover;
  background-position: center;
}
 
.titulo {
  font-size: 2.25rem;
  color: var(--blanco);
  margin-bottom: 1.5rem;
}
 
.titulo--oscuro { color: var(--gris-oscuro); }
 
.titulo--centrado { text-align: center; }
 
.grilla,
.nota,
.contacto,
.pie__contenido {
  display: grid;
  max-width: var(--ancho-contenido);
  margin: 0 auto;
}
 
.grilla { gap: var(--gap); }
 
.nota,
.contacto { gap: 1.5rem; }
 
/* ---------- Banner / Hero ---------- */
.portada {
  background-color: var(--negro);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(10, 10, 10, 0.92) 100%),
    url("../img/hero-federico.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
 
.hero { position: relative; }

.hero__contenido {
  min-height: 39.375rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 250px var(--lateral) 2.5rem;
  color: var(--blanco);
}
 
.nav {
  background-color: #0a0a0ae4;
  backdrop-filter: blur(10px);
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--lateral);
}
 
.nav__marca img { width: auto; height: 1.75rem; }
 
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1rem;
  cursor: pointer;
}
 
.nav__burger span {
  height: 2px;
  background-color: var(--blanco);
  border-radius: 2px;
}
 
.nav__links {
  position: absolute;
  top: 100%;
  left: var(--margen-lateral);
  right: var(--margen-lateral);
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radio);
  background-color: rgba(0, 0, 0, 0.85);
  font-family: var(--display);
  font-size: 0.875rem;
}
 
.nav__check:checked ~ .nav__links { display: flex; }
 
.nav__links a:hover { color: var(--cyan); }

 
.hero__kicker {
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.15;
}
 
.hero__titulo {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
 
.hero__bajada {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
 
.hero__acciones {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
 
.boton {
  padding: 1rem 1.5rem;
  border-radius: var(--radio);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
 
.boton--solido { background-color: var(--blanco); color: var(--negro); }
 
.boton--solido:hover { background-color: var(--cyan); }
 
.boton--linea { border: 1px solid rgba(255, 255, 255, 0.7); color: var(--blanco); }
 
.boton--linea:hover { border-color: var(--cyan); color: var(--cyan); }
 
/* ---------- Cards de servicios y trabajos ---------- */
.card,
.trabajo {
  display: block;
  border: 2px solid transparent;
  border-radius: var(--radio);
  background: linear-gradient(var(--negro), var(--negro)) padding-box, var(--vidrio) border-box;
  overflow: hidden;
  transition: transform 0.25s;
}
 
.card:hover { transform: translateY(-4px); }
 
.card__media { position: relative; }

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0) 60%, var(--negro) 100%),
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
}

.card__media img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}
 
.card__texto { padding: 1.25rem 1.25rem 1.5rem; }
 
.card__texto h3,
.trabajo__info h3 {
  font-size: 1.125rem;
  color: var(--hueso);
  margin-bottom: 0.5rem;
}
 
.card__texto p {
  font-size: 0.85rem;
  color: var(--texto-suave);
  margin-bottom: 0.625rem;
}
 
.card__texto .mono { margin-bottom: 0; }
 
/* ---------- Trabajos ---------- */
.trabajo__media { position: relative; overflow: hidden; }
 
.trabajo__poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s;
}
 
.trabajo__loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s;
}
 
.trabajo:hover .trabajo__loop { opacity: 1; }
 
.trabajo:hover .trabajo__poster { transform: scale(1.08); }
 
.trabajo__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  border-radius: 2.5rem;
  background-color: rgba(0, 0, 0, 0.45);
  color: rgba(244, 236, 225, 0.8);
  backdrop-filter: blur(6px);
}
 
.trabajo__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3rem;
  height: 3rem;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(244, 236, 225, 0.6);
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background-color 0.25s;
}
 
.trabajo__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border: 0.4375rem solid transparent;
  border-left: 0.75rem solid var(--hueso);
}
 
.trabajo:hover .trabajo__play {
  width: 3.75rem;
  height: 3.75rem;
  border-color: var(--cyan);
  background-color: rgba(61, 230, 255, 0.18);
}
 
.trabajo:hover .trabajo__play::after { border-left-color: var(--cyan); }
 
.trabajo:hover .trabajo__badge { background-color: rgba(61, 230, 255, 0.22); color: var(--blanco); }
 
.trabajo__info { padding: 1.25rem 1.25rem 1.375rem; }
 
.trabajo__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--texto-suave);
}
 
/* ---------- Sobre mí ---------- */
.nota__retrato img {
  width: 100%;
  height: 18.75rem;
  object-fit: cover;
  border-radius: var(--radio);
  box-shadow: 0 0 0 1px rgba(18, 18, 18, 0.1);
}
 
.nota__texto p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--texto-oscuro);
  margin-bottom: 1.125rem;
}

.nota__check ~ p { display: none; }
 
.nota__check:checked ~ p { display: block; }
 
.nota__mas {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(18, 18, 18, 0.25);
  border-radius: var(--radio);
  color: var(--gris-oscuro);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s;
}
 
.nota__mas:hover { border-color: var(--gris-oscuro); background-color: rgba(18, 18, 18, 0.05); }
 
.nota__mas::after { content: "VER MÁS"; }
 
.nota__check:checked ~ .nota__mas::after { content: "VER MENOS"; }
 
/* ---------- Reseñas ---------- */
.resena {
  padding: 1.5rem;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.92), rgba(61, 230, 255, 0.18));
}
 
.resena--destacada {
  order: -1;
  border-color: rgba(61, 230, 255, 0.35);
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(61, 230, 255, 0.28));
  backdrop-filter: blur(4px);
  box-shadow: 0 0.625rem 2.25rem rgba(61, 230, 255, 0.18);
}
 
.resena__comilla {
  display: block;
  font-family: var(--display);
  font-size: 2.75rem;
  line-height: 0.7;
  color: var(--cyan);
  margin-bottom: 1rem;
}
 
.resena__texto {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(244, 236, 225, 0.78);
  margin-bottom: 1rem;
}
 
.resena__persona {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
 
.resena__foto {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
}
 
.resena__persona h3 {
  font-size: 1rem;
  color: var(--hueso);
  margin-bottom: 0.25rem;
}
 
.resena--destacada .resena__comilla { font-size: 3.5rem; }
 
.resena--destacada .resena__foto { width: 3.5rem; height: 3.5rem; }
 
/* ---------- Contacto ---------- */
.contacto__texto p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(244, 236, 225, 0.78);
  margin-bottom: 1rem;
}
 
.formulario {
  padding: 2rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 1.5rem;
  background:
    linear-gradient(rgba(0, 0, 0, 0.35) 0%, rgba(39, 186, 208, 0.75) 94%, rgba(61, 230, 255, 0.85) 100%) padding-box,
    var(--vidrio) border-box;
  backdrop-filter: blur(20px);
}
 
.formulario__titulo {
  font-size: 1.875rem;
  color: var(--blanco);
  margin-bottom: 1.25rem;
}
 
.campo {
  display: block;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.2);
}
 
.campo:focus-within { background-color: rgba(255, 255, 255, 0.3); }
 
.campo__label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}
 
.campo__input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--blanco);
  font-family: var(--cuerpo);
  font-size: 0.875rem;
  resize: vertical;
}
 
.campo__input::placeholder { color: rgba(255, 255, 255, 0.55); }
 
.campo__input:focus { outline: none; }
 
.campo__input option { color: var(--gris-oscuro); }
 
.formulario__enviar {
  width: 100%;
  padding: 1.125rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 2.5rem;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)) padding-box, var(--vidrio) border-box;
  color: var(--blanco);
  font-family: var(--cuerpo);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.25s;
}
 
.formulario__enviar:hover { background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) padding-box, var(--vidrio) border-box; }
 
/* ---------- Footer ---------- */
.pie {
  padding: 2.25rem var(--lateral);
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("../img/fondo-contacto.png");
  background-size: cover;
  background-position: center bottom;
}
 
.pie__contenido { gap: 1.125rem; }
 
.pie__nombre {
  font-family: var(--display);
  font-size: 1.125rem;
  color: var(--blanco);
  margin-bottom: 0.5rem;
}
 
.pie__redes { display: flex; gap: 0.625rem; }
 
.pie__redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.5rem;
  transition: border-color 0.25s, background-color 0.25s;
}
 
.pie__redes a:hover { border-color: var(--cyan); background-color: rgba(61, 230, 255, 0.15); }
 
/* BREAK POINT 1 — 48em (768px): tamaño mediano */
@media screen and (min-width: 48em) {
 
  :root {
    --margen-lateral: 2.5rem;
    --espacio-seccion: 4.5rem;
  }
 
  .titulo { font-size: 3.25rem; }
 
.hero__contenido { min-height: 80vh; }
 
  .hero__kicker { font-size: 2.25rem; }
 
  .hero__titulo { font-size: 5.5rem; }
 
  .hero__bajada { font-size: 1rem; max-width: 34rem; }
 
  .hero__acciones { flex-direction: row; }
 
  .boton { min-width: 13rem; }
 
  .grilla--servicios,
  .grilla--trabajos,
  .grilla--resenas { grid-template-columns: repeat(2, 1fr); }
 
  .resena--destacada { grid-column: 1 / -1; }
 
  .nota { grid-template-columns: 1fr 1fr; align-items: start; }
 
  .nota__retrato img { height: 24rem; }
 
  .pie__contenido { grid-template-columns: 1fr auto; align-items: center; }
 
  .pie__cursada { grid-column: 1 / 2; }
 
  .pie__redes { grid-column: 2 / 3; grid-row: 1 / 3; }
}
 
/* BREAK POINT 2 — 75em (1200px): tamaño grande */
@media screen and (min-width: 75em) {
 
  :root {
    --margen-lateral: 3.5rem;
    --espacio-seccion: 6.25rem;
    --gap: 1.0625rem;
  }
 
  .titulo { font-size: 4.625rem; line-height: 0.92; margin-bottom: 2.5rem; }
 
  .hero__contenido {
    min-height: 90vh;
    padding-bottom: 6rem;
    justify-content: center;
  }
 
 
  .hero__kicker { font-size: 5rem; }
 
  .hero__titulo { font-size: 9.5rem; line-height: 0.88; }
 
  .hero__bajada { font-size: 1.625rem; max-width: 68rem; }
 
  .nav { padding: 2.5rem var(--lateral); }
 
  .nav__marca img { height: 2.375rem; }
 
  .nav__burger { display: none; }
 
  .nav__links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: clamp(0.75rem, 1.15vw, 1.40rem);
    padding: 0;
    background: transparent;
    font-size: clamp(1rem, 1.45vw, 1.75rem);
    white-space: nowrap;
  }
 
  .grilla--servicios { grid-template-columns: repeat(3, 1fr); }
 
  .card__media img { height: 13.25rem; }
 
  .card__texto { padding: 1.75rem 2rem 2.125rem; }
 
  .card__texto h3,
  .trabajo__info h3 { font-size: 1.3125rem; }
 
  .card__texto p,
  .trabajo__meta { font-size: 0.9rem; }
 
  .trabajo__info { padding: 1.75rem 2rem 2rem; }
 
  .nota { grid-template-columns: 1fr 26.5625rem; gap: 4rem; }
 
  .nota__retrato { order: 2; }
 
  .nota__retrato img { height: 24.0625rem; }
 
  .nota__texto {
    order: 1;
    columns: 2;
    column-gap: 2.375rem;
  }
 
  .nota__texto p { font-size: 0.9375rem; break-inside: avoid; }

    .nota__check ~ p { display: block; }
 
  .nota__mas { display: none; }
 
  .grilla--resenas {
    grid-template-columns: 1fr 1.3625fr 1fr;
    align-items: center;
    gap: 1.25rem;
  }
 
  .resena { padding: 2rem; opacity: 0.9; }
 
  .resena--destacada {
    grid-column: auto;
    order: 0;
    padding: 2.5rem;
    opacity: 1;
  }
 
  .resena--destacada .resena__texto { font-size: 0.9375rem; line-height: 1.7; }
 
  .contacto { grid-template-columns: 1fr 31.5rem; gap: 5rem; align-items: start; }
 
  .contacto__texto p { font-size: 0.9375rem; }
 
  .formulario { padding: 3rem; }
 
  .formulario__titulo { font-size: 3.125rem; }
 
  .campo { padding: 1rem 1.5rem; }
 
  .pie { padding: 3.5rem var(--lateral); }
 
  .pie__contenido { grid-template-columns: 1fr 1fr auto; gap: 2rem; }
 
  .pie__cursada { grid-column: 2 / 3; grid-row: 1 / 2; }
 
  .pie__redes { grid-column: 3 / 4; grid-row: 1 / 2; }
 
  .pie__nombre { font-size: 1.75rem; }
}