/* ── Gill Sans @font-face ── */
@font-face {
  font-family: "Gill Sans";
  src: url("font/Gill Sans Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Gill Sans";
  src: url("font/Gill Sans Light Italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Gill Sans";
  src: url("font/Gill Sans.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gill Sans";
  src: url("font/Gill Sans Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Gill Sans";
  src: url("font/Gill Sans Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gill Sans";
  src: url("font/Gill Sans Medium Italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Gill Sans";
  src: url("font/Gill Sans Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Gill Sans";
  src: url("font/Gill Sans Bold Italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Gill Sans";
  src: url("font/Gill Sans Heavy.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Gill Sans";
  src: url("font/Gill Sans Heavy Italic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: "Gill Sans Condensed";
  src: url("font/GillSans Condensed.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gill Sans Condensed";
  src: url("font/GillSans Condensed Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* ── Global font ── */
:root {
  --primary-red: #5c0f12;
  --secondary-red: #3b0708;
  --gold: #ecb664;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f7f7f7;
  --bg-white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.5;
}

section {
  box-shadow:
    inset 0px 15px 100px -15px rgba(0, 0, 0, 0.5), /* Sombra superior */
    inset 0px -15px 100px -15px rgba(0, 0, 0, 0.5); /* Sombra inferior */
}

/* ── Utilities ── */
.bold {
  font-weight: 700;
}

.regular {
  font-weight: 400;
}

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

.center-text {
  text-align: center;
}

.serif {
  font-family: "Georgia", "Times New Roman", serif;
}

.text-white {
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.divider {
  width: 50px;
  height: 3px;
  background-color: var(--gold);
  margin: 15px auto 30px;
}

/* ── Nav ── */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
}

.nav-links {
  width: 100%;
  max-width: 800px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links li {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-light);
  transition: opacity 0.3s ease-in-out;
}

.nav-links li a:hover {
  opacity: 0.7;
}

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 100px rgba(0, 0, 0, 0.5);
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ── About Section ── */
.about {
  z-index: 20;
  padding: 80px 20px;
  background-color: var(--bg-light);
  background-image: radial-gradient(circle at center, #ffffff 0%, #f0f0f0 100%);
  max-width: 100%;
}

.doc-honoris {
  margin-bottom: 40px;
  margin-top: 50;
  display: flex;
  flex-direction: column;
}

.doc-honoris img {
  max-width: 810px;
  height: auto;
}

.lions {
  position: absolute;
  top: 75vw;
  left: 0;
  width: 100%; /* Se estira para cubrir al elemento 2 */
  height: 100%;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Divide la pantalla en 2 mitades iguales */
  width: 100%;
  pointer-events: none;
}

.lions img:nth-child(1) {
  opacity: 0.1;
  justify-self: start;
}

.lions img:nth-child(2) {
  opacity: 0.1;
  justify-self: end;
}

.title-main {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 30px;
  margin-top: 100px;
  color: #1a1a1a;
}

.about-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: 28px;
  line-height: 1.6;
  color: #000000;
}

.about-values {
  margin-bottom: 100px;
}

/* ── Reconocimiento Section ── */
.recognition {
  padding: 80px 0;
  /* Añadimos un degradado rojizo semi-transparente sobre la imagen de fondo */
  background:
    linear-gradient(to bottom, rgba(92, 15, 18, 0), rgba(59, 7, 8, 0)),
    url("./assets/fondo-galardonados.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}

.recognition h2 {
  font-size: 32px;
  font-weight: bold;
}

.recognition-text {
  max-width: 800px;
  margin: 0 auto 100px;
  font-size: 17px;
  opacity: 0.9;
}

.recognition-images {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  margin-top: 70px;
  flex-wrap: wrap;
}

.rec-img-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.rec-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recognition-footer {
  max-width: 800px;
  margin: 100px 0px 30px 0;
  font-size: 15px;
  opacity: 0.8;
}

/* ── Galeria Section ── */
.gallery {
  padding: 80px 20px;
  background-color: var(--bg-white);
  max-width: 100%;
}

.gallery h2 {
  font-size: 32px;
  color: #1a1a1a;
}

.gallery-subtitle {
  margin: 0 auto 50px;
  font-size: 16px;
  color: #666;
  max-width: 600px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  display: flex;
  background: var(--bg-white);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 40%;
  min-height: 150px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  width: 60%;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.card-content h3 {
  font-family: "Georgia", serif;
  font-size: 20px;
  margin-bottom: 5px;
  color: #1a1a1a;
}

.card-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  min-height: 20px; /* ensure space even if empty */
}

.btn-gold {
  display: inline-block;
  background-color: var(--gold);
  color: #000;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-gold:hover {
  background-color: #c49651;
}

/* ── Footer ── */
footer {
  background-color: var(--primary-red);
  color: var(--text-light);
  padding: 60px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  flex: 0 0 auto;
}

.logo-circle {
  width: 80px;
  height: 80px;
  background: white;
  color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Georgia", serif;
  font-size: 24px;
  font-weight: bold;
}

.logo-circle img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-family: "Georgia", serif;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 10px;
}

.tel-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  display: inline-block;
  margin-top: 5px;
}

.tel-link:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: var(--gold);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile nav hide for now, could add hamburger */
  }

  .title-main {
    font-size: 22px;
  }

  .recognition-images {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}
