/* ================================
   Variables generales
================================ */

:root {
  --green: #0f6b4f;
  --green-dark: #094633;
  --gold: #d9a441;
  --cream: #f8f4ea;
  --text: #1f2933;
  --muted: #64748b;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

/* ================================
   Reset y base
================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  margin: auto;
  width: min(1120px, 92%);
}

/* ================================
   Header y navegación
================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
/*.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--green-dark);
  font-weight: 800;
}
*/
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #6f1620;
  text-decoration: none;
}

.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #6f1620;
  text-transform: uppercase;
  line-height: 1;
}


.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transition: 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}


















.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--green);
}

.menu-btn {
  display: none;
  padding: 0.5rem 0.75rem;
  border: 0;
  background: var(--green);
  color: var(--white);
  border-radius: 0.6rem;
  font-size: 1.2rem;
}

/* ================================
   Hero
================================ */

.hero {
  display: grid;
  place-items: center;
  min-height: 76vh;
  background:
    linear-gradient(90deg, rgba(9, 70, 51, 0.9), rgba(15, 107, 79, 0.55)),
    url("img/fondo1.jpeg") center / cover;
}

.hero-content {
  max-width: 780px;
  margin-left: 6%;
  color: var(--white);
}

.hero h1,
.page-hero h1 {
  margin: 0.5rem 0;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 1.05;
}

.hero p,
.page-hero p {
  font-size: 1.2rem;
}

.hero-actions {
  margin-top: 1.4rem;
}

.page-hero {
  padding: 90px 0;
  background:
    linear-gradient(90deg, rgba(9, 70, 51, 0.93), rgba(15, 107, 79, 0.7)),
    url("img/fondo1.jpeg") center / cover;
  color: var(--white);
}

.small-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

/* ================================
   Componentes generales
================================ */

.section {
  padding: 86px 0;
}

.alt {
  background: var(--cream);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  max-width: 790px;
  margin-bottom: 2rem;
}

.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-title h2,
.feature-text h2 {
  margin: 0.35rem 0;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
}

.btn {
  display: inline-block;
  margin-right: 0.8rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
}

.primary {
  background: var(--gold);
  color: #2b2106;
}

.secondary {
  border: 2px solid var(--white);
  color: var(--white);
}

/* ================================
   Cards
================================ */

.cards {
  display: grid;
  gap: 1.4rem;
}

.two {
  grid-template-columns: repeat(2, 1fr);
}

.three {
  grid-template-columns: repeat(3, 1fr);
}

.profile-card,
.event-card,
.news-card,
.ad-card,
.place-card {
  overflow: hidden;
  background: var(--white);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}

.profile-card img {
  height: 330px;
  object-fit: cover;
}

.card-content,
.event-card,
.news-card,
.ad-card,
.place-info {
  padding: 1.4rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.socials a,
.filter {
  padding: 0.5rem 0.8rem;
  background: #eef7f3;
  color: var(--green-dark);
  border-radius: 999px;
  font-weight: 700;
}

/* ================================
   Historia y lugares
================================ */

.feature-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.feature-text p {
  margin-bottom: 1rem;
}

.feature-image img {
  min-height: 430px;
  object-fit: cover;
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
}

.places-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
}

.place-card.large {
  grid-row: span 2;
}

.place-card img {
  height: 260px;
  object-fit: cover;
}

.place-card.large img {
  height: 590px;
}

.place-info span,
.event-card span {
  color: var(--gold);
  font-weight: 800;
}

/* ================================
   Noticias
================================ */

.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.filter {
  border: 0;
  cursor: pointer;
}

.filter.active {
  background: var(--green);
  color: var(--white);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.news-card small {
  color: var(--muted);
  font-weight: 700;
}

/* ================================
   Videos y contacto
================================ */

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

iframe {
  width: 100%;
  border: 0;
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}

.contact-panel {
  max-width: 900px;
}

.contact-list {
  list-style: none;
  padding: 1.4rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.contact-list li {
  margin: 0.7rem 0;
}

/* ================================
   Footer
================================ */

.site-footer {
  background: var(--green-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  padding: 42px 0;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 0.45rem;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 1rem;
  background: #062e22;
  text-align: center;
}

/* ================================
   Responsive
================================ */

@media (max-width: 850px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 1rem 6%;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.show {
    display: flex;
  }

  .hero-content {
    margin: auto;
  }

  .two,
  .three,
  .feature-grid,
  .places-grid,
  .news-list,
  .video-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .place-card.large {
    grid-row: auto;
  }

  .place-card.large img,
  .place-card img,
  .feature-image img {
    height: 280px;
    min-height: auto;
  }
}


.brand {
  display: flex;
  align-items: center;
  gap: 1rem;

  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-dark);
}
