/* ===== FONTS (self-hosted localmente) ===== */
@font-face {
  font-family: "Nitti-Regular";
  src: url('../assets/fonts/Nitti-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PlayfairDisplay-Italic";
  src: url('../assets/fonts/PlayfairDisplay-Italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi-Bold";
  src: url('../assets/fonts/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== BASE ===== */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #181818;
  font-size: 10px;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

body::-webkit-scrollbar { width: 7px; }
body::-webkit-scrollbar-thumb {
  border-radius: 0;
  background: linear-gradient(45deg, #e53e51, #fff);
}

::selection {
  background-color: #e53e51;
  color: #fff;
}

/* ===== HEADER ===== */
.header-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background: #fff;
  z-index: 99;
}

/* container de 1140px centrado — igual al original */
.header-main .header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
}

.header-main img {
  width: 12rem;
  height: auto;
  display: block;
}

/* ===== TIPOGRAFÍA BASE DE SECCIONES ===== */
/* h1 base: Satoshi-Bold, color por defecto rosa (sec3), se sobreescribe por sección */
.title-main h1 {
  font-family: "Satoshi-Bold";
  text-align: center;
  font-size: 80px;
  line-height: 70px;
  margin: 0;
}

/* <b> dentro de h1 = siempre PlayfairDisplay-Italic */
.title-main h1 b {
  font-family: "PlayfairDisplay-Italic";
  font-weight: 700;
  font-style: italic;
  display: block; /* cada palabra cursiva en su propia línea */
}

/* ===== SEC1: HERO ===== */
.sec1 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  height: 100vh;
  padding-top: 74px; /* compensar header fijo (44px img + 30px padding) */
}

/* "Sitio en" — blanco, Satoshi-Bold */
.sec1 .title-main h1 {
  color: #e53e51;
}

/* "construcción" — rosa, PlayfairDisplay-Italic */
.sec1 .title-main h1 b {
  color: #e53e51;
}

/* ===== SEC2: REDES SOCIALES ===== */
.sec2 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e53e51;
  height: 90vh;
}

/* "Encuéntranos en" — blanco */
.sec2 .title-main h1 {
  color: #fff;
}

/* "otros sitios" — blanco, PlayfairDisplay-Italic */
.sec2 .title-main h1 b {
  color: #fff;
}

.sec2 ul {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  margin: 4rem auto 0;
  gap: 0;
}

.sec2 ul li {
  display: block;
  margin: 0 20px;
}

.sec2 ul li a {
  display: block;
}

.sec2 ul li img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sec2 ul li img:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* ===== SEC3: INFORME ANUAL ===== */
.sec3 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 7rem 0;
}

/* "Consulta nuestro" — rosa, Satoshi-Bold */
.sec3 .title-main h1 {
  color: #e53e51;
}

/* "informe anual 2023" — rosa, PlayfairDisplay-Italic */
.sec3 .title-main h1 b {
  color: #e53e51;
}

/* botón amarillo */
.sec3 a {
  font-family: "Satoshi-Bold";
  color: #ffe600;
  display: block;
  width: fit-content;
  margin: 6rem auto 0;
  font-size: 42px;
  border: 2px solid #ffe600;
  border-radius: 60px;
  padding: 12px 50px;
  text-decoration: none;
  line-height: 1.4;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.sec3 a:hover {
  background-color: #ffe600;
  color: #000;
}

/* ===== SEC4: CONTÁCTANOS ===== */
.sec4 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e53e51;
  padding: 9rem 0;
}

/* ocultar el span de "Contáctanos" en Satoshi (no existe, solo el <b>) */
.sec4 .title-main h1 {
  color: #fff;
  line-height: 1.1;
  /* el h1 base no tiene texto visible — solo el <b> lo tiene */
  font-size: 0; /* ocultar posible texto suelto fuera del <b> */
}

/* "Contáctanos" — PlayfairDisplay-Italic, blanco */
.sec4 .title-main h1 b {
  color: #fff;
  font-size: 80px;
  line-height: 70px;
  display: block;
}

/* email — Nitti-Regular, blanco, siempre visible */
.email-link {
  font-family: "Satoshi-Bold";
  font-weight: 700;
  color: #fff !important;
  font-size: 42px;
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  text-decoration: none;
  opacity: 1 !important;
  transition: opacity 0.2s ease;
}

.email-link:hover {
  opacity: 0.75 !important;
}

/* ===== SEC5: FOOTER ===== */
.sec5 {
  background-color: #000;
  padding: 15px 0;
}

.sec5 ul {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  gap: 32px;
}

.sec5 ul li {
  display: block;
}

.sec5 ul li img {
  height: 56px; /* más grandes — visible en el original */
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.sec5 p {
  margin: 15px 0 0;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-family: "Nitti-Regular";
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: 8px;
}

.sec5 p a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sec5 p a:hover {
  opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 320px) and (max-width: 575px) {
  .title-main h1 { font-size: 45px; line-height: 50px; }
  .sec4 .title-main h1 b { font-size: 45px; line-height: 50px; }
  .header-main img { width: 10rem; }
  .sec1 { height: auto; padding: 12rem 0 8rem; }
  .sec2 { height: auto; padding: 8rem 0; }
  .sec2 ul li { margin: 0 7px; }
  .sec2 ul li img { width: 40px; height: 40px; }
  .sec3 { padding: 5rem 0; }
  .sec3 a { font-size: 18px; margin-top: 3rem; padding: 10px 30px; }
  .sec4 { padding: 5rem 0; }
  .email-link { font-size: 20px; }
  .sec5 ul li img { height: 36px; }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .title-main h1 { font-size: 45px; line-height: 50px; }
  .sec4 .title-main h1 b { font-size: 45px; line-height: 50px; }
  .header-main img { width: 10rem; }
  .sec1 { height: auto; padding: 12rem 0 8rem; }
  .sec2 { height: auto; padding: 8rem 0; }
  .sec2 ul li { margin: 0 7px; }
  .sec2 ul li img { width: 40px; height: 40px; }
  .sec3 a { font-size: 18px; margin-top: 3rem; padding: 10px 30px; }
  .sec4 { padding: 5rem 0; }
  .email-link { font-size: 22px; }
  .sec5 ul li img { height: 40px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .title-main h1 { font-size: 70px; line-height: 60px; }
  .sec4 .title-main h1 b { font-size: 70px; line-height: 60px; }
  .sec2 ul li img { width: 70px; height: 70px; }
  .sec3 a { font-size: 20px; margin-top: 4rem; }
  .sec4 { padding: 7rem 0; }
  .email-link { font-size: 32px; }
  .sec5 ul li img { height: 48px; }
}
