@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* Variables y estilos base */
:root {
  --red: #e52329;
  --ink: #191d1f;
  --muted: #5f6669;
  --paper: #f3f4f3;
  --line: #dce0dd;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  color: var(--ink);
  background: white;
  font:
    1rem/1.75 Manrope,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.25;
}
h1 {
  font-size: clamp(2.125rem, 4vw, 3.625rem);
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 25px;
}
h3 {
  font-size: 1.125rem;
}
p {
  margin-bottom: 18px;
}
::selection {
  background: var(--red);
  color: white;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
.wrap {
  width: min(1160px, 88%);
  margin-inline: auto;
}
.section {
  padding-block: 72px;
}
.eyebrow {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 20px;
}
.button {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 15px 24px;
}
.button:hover {
  background: #be1820;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}

/* Cabecera y navegación */
.header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  width: 215px;
  flex-shrink: 0;
}
.brand img {
  height: auto;
}
.header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 0.875rem;
  font-weight: 700;
}
.header nav a {
  padding-block: 10px;
}
.header nav a:hover {
  color: var(--red);
}

/* Inicio: imagen estática */
.hero {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: center;
  color: white;
  background: var(--ink);
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d171ee8, #0d171e55);
  z-index: -1;
}
.hero-content {
  padding-block: 70px;
}
.hero .eyebrow {
  color: #fff;
}
.hero-content > p:not(.eyebrow) {
  max-width: 590px;
  color: #e8ebec;
  margin-bottom: 30px;
}

/* Nosotros y experiencia */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.about-copy {
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 25px;
}
.stats strong {
  display: block;
  color: var(--red);
  font-size: 2.625rem;
  font-weight: 800;
  line-height: 1.3;
}
.stats span {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 8px;
}

/* Servicios: tarjetas estáticas */
.services {
  background: var(--paper);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 35px;
}
.service {
  background: white;
  border: 1px solid var(--line);
  padding: 28px;
}
.number {
  display: block;
  color: var(--red);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 18px;
}
.service h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.service p {
  color: var(--muted);
  margin: 0;
}

/* Proyectos: fotografías y títulos */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}
.project {
  border: 1px solid var(--line);
}
.project > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.project-copy {
  padding: 23px;
}
.category {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 13px;
}
.project h3 {
  line-height: 1.45;
  margin-bottom: 9px;
}
.project-copy > p:last-child {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

/* Contacto directo */
.contact {
  background: var(--ink);
  color: white;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}
.contact .eyebrow {
  color: #ff676b;
}
.contact-intro {
  color: #c3c9cb;
  margin-bottom: 28px;
  max-width: 480px;
}
.contact-details {
  display: grid;
  gap: 25px;
  font-style: normal;
  padding-top: 8px;
}
.contact-details span {
  display: block;
  color: #c3c9cb;
  font-size: 0.875rem;
  margin-bottom: 7px;
}
.contact-details a {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-details a:hover {
  text-decoration: underline;
}
.contact-details p {
  margin: 0;
}

/* Pie de página */
.footer {
  background: #101415;
  color: #b8c0c3;
  padding-block: 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.75rem;
}
.footer p {
  margin: 0;
}

/* Tablet y móvil: sin efectos ni animaciones */
@media (max-width: 850px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
    padding-block: 20px;
  }
  .header nav {
    justify-content: center;
    gap: 20px;
  }
  .hero {
    min-height: 460px;
  }
  .about-grid {
    gap: 35px;
  }
  .projects-grid {
    gap: 15px;
  }
  .project-copy {
    padding: 18px;
  }
  .project h3 {
    font-size: 1rem;
  }
  .contact-grid {
    gap: 45px;
  }
}
@media (max-width: 560px) {
  .section {
    padding-block: 50px;
  }
  .brand {
    width: 185px;
  }
  .header nav {
    gap: 4px 19px;
    font-size: 0.875rem;
  }
  .header-inner {
    gap: 14px;
    padding-block: 18px;
  }
  .header nav a {
    padding-block: 4px;
  }
  .hero {
    min-height: 450px;
  }
  .hero-content {
    padding-block: 55px;
  }
  .hero-image {
    object-position: 42% center;
  }
  .hero::before {
    background: #0d171ec4;
  }
  .hero .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }
  .about-grid,
  .services-grid,
  .projects-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    gap: 8px;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .stats > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .stats span {
    max-width: 170px;
    text-align: right;
    margin: 0;
  }
  .stats strong {
    font-size: 2.25rem;
  }
  .services-grid,
  .projects-grid {
    gap: 20px;
  }
  .service {
    padding: 25px;
  }
  .project-copy {
    padding: 25px;
  }
  .project h3 {
    font-size: 1.125rem;
  }
  .contact-grid {
    gap: 38px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}
