:root {
  --green-900: #123326;
  --green-800: #184535;
  --green-700: #226348;
  --green-100: #e8f1ec;
  --gray-950: #101312;
  --gray-700: #4d5653;
  --gray-200: #dfe5e2;
  --gray-100: #f4f6f5;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 19, 18, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(14px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  font-weight: 700;
  color: var(--green-900);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--green-800);
  border-radius: 50%;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  color: var(--gray-700);
  font-weight: 700;
}

.nav-links a {
  padding: 10px 0;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-900);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(18, 51, 38, 0.92), rgba(18, 51, 38, 0.58)),
    url("img/portada-cantera.jpg") center / cover,
    url("img/portada/portada_01.jpeg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 120px;
  color: var(--white);
}

.hero-content h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b8e1c8;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-700);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(34, 99, 72, 0.28);
}

.primary-button:hover {
  background: var(--green-800);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-content h2 {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.about-content p {
  color: var(--gray-700);
}

.concessions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.concession-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-button {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(18, 51, 38, 0.2), rgba(77, 86, 83, 0.16)),
    var(--gray-200);
}

.card-body {
  padding: 22px;
}

.card-body h3 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-size: 1.35rem;
  line-height: 1.2;
}

.card-meta {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--gray-700);
}

.card-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 8px;
}

.card-meta dt {
  font-weight: 800;
  color: var(--gray-950);
}

.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 16px;
  padding: 6px 10px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}

.concession-detail {
  display: none;
  padding: 0 22px 24px;
  border-top: 1px solid var(--gray-200);
}

.concession-card.is-open .concession-detail {
  display: block;
}

.detail-title {
  margin: 22px 0 12px;
  color: var(--green-900);
  font-size: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--gray-200);
}

.documents-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--green-900);
  background: var(--gray-100);
  font-weight: 700;
}

.document-link span {
  color: var(--gray-700);
  font-size: 0.86rem;
  font-weight: 700;
}

.video-frame {
  width: 100%;
  margin-top: 8px;
  border-radius: var(--radius);
  background: var(--gray-950);
}

.about-section {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 36px;
  align-items: center;
  border-top: 1px solid var(--gray-200);
}

.about-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-panel div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.about-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-panel span {
  color: rgba(255, 255, 255, 0.76);
  text-align: right;
}

.contact-section {
  border-top: 1px solid var(--gray-200);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-item {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 24px;
  align-content: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-item:hover {
  border-color: var(--green-700);
  transform: translateY(-2px);
}

.contact-item span {
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item strong {
  margin: 0;
  color: var(--green-900);
  font-size: 1.1rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(16px, calc((100% - 1180px) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-900);
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
}

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

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 16px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  .concessions-grid,
  .about-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 680px;
  }

  .section {
    padding: 64px 0;
  }

  .concessions-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
