/* Complejo Cultural de Arte — Huánuco. Mobile-first, sin frameworks. */
/* Tipografía y espaciado de texto en REM; tamaños fijos de layout en PX. */

:root {
  --theme: #C57642;
  --title: #373E43;
  --body-c: #7B7E86;
  --smoke: #F8F7F4;
  --black: #1F2528;
  --border: #D9D9D9;
  --white: #ffffff;
  --title-font: "Jost", sans-serif;
  --body-font: "Roboto", sans-serif;
  --container: 1260px;
  --radius: 6px;
}

html { font-size: 100%; scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--body-c);
  font-size: 0.9375rem;
  line-height: 1.65;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--title-font); color: var(--title); margin: 0 0 .5em; line-height: 1.25; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.space { padding: 3.75rem 0; }
@media (min-width: 768px) { .space { padding: 5rem 0; } }
@media (min-width: 1200px) { .space { padding: 6.25rem 0; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 0.9375rem 1.75rem;
  min-height: 48px;
  background: var(--theme);
  color: var(--white);
  font-family: var(--title-font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: .5px;
  border: 1px solid var(--theme);
  border-radius: var(--radius);
  cursor: pointer;
  transition: .3s;
}
@media (min-width: 768px) { .btn { padding: 0.9375rem 2.125rem; } }
.btn:hover { background: transparent; color: var(--theme); }
.btn.btn-border { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn.btn-border:hover { background: var(--white); color: var(--title); }

/* ---------- Títulos de sección ---------- */
.title-area { max-width: 720px; margin: 0 0 1.875rem; }
.title-area.center { margin-left: auto; margin-right: auto; text-align: center; }
.subtitle {
  display: inline-block;
  font-family: var(--title-font);
  color: var(--theme);
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 2px;
  margin-bottom: 0.625rem;
}
.sec-title { font-size: 1.75rem; }
@media (min-width: 768px) { .sec-title { font-size: 2.125rem; } .title-area { margin-bottom: 2.8125rem; } }
@media (min-width: 1200px) { .sec-title { font-size: 2.625rem; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(31,37,40,.97); box-shadow: 0 4px 20px rgba(0,0,0,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; }

.logo-text {
  font-family: var(--title-font); font-weight: 600; font-size: 1.1rem;
  color: var(--white); display: flex; flex-direction: column; line-height: 1.15;
}
.logo-text span { color: var(--theme); font-size: 0.75rem; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }
.site-header.scrolled .logo-text { color: var(--white); }

.main-nav {
  position: fixed; top: 0; right: -300px; height: 100vh; width: 82vw; max-width: 300px;
  background: var(--black); display: flex; flex-direction: column;
  padding: 5.625rem 1.875rem 1.875rem; gap: 0.375rem;
  transition: right .35s ease; overflow-y: auto; z-index: 1000;
}
.main-nav.open { right: 0; }
.main-nav a {
  font-family: var(--title-font);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--white);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.main-nav a:hover { color: var(--theme); }

.header-right { display: flex; align-items: center; gap: 14px; }
.header-right .btn { display: none; }
.menu-toggle-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.0625rem;
  cursor: pointer;
}
.site-header.scrolled .menu-toggle-btn { color: var(--white); border-color: rgba(255,255,255,.5); }

.site-header.scrolled .main-nav a:hover {
  color: var(--theme);
}

.nav-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); z-index: 998;
}
.nav-overlay.open { display: block; }

@media (min-width: 992px) {
  .main-nav {
    position: static; height: auto; width: auto; max-width: none;
    background: transparent; flex-direction: row; padding: 0; gap: 0;
    display: flex;
  }
  .main-nav a { color: var(--white); padding: 0; margin-right: 1.875rem; border: 0; font-size: 0.9375rem; }
  .main-nav a:last-child { margin-right: 0; }
  .site-header.scrolled .main-nav a { color: var(--white); }
  .header-right .btn { display: inline-block; min-height: 40px; padding: .55rem 1.25rem; }
  .menu-toggle-btn { display: none; }
  .nav-overlay { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
  transition: background-image 1s ease-in-out;
}
.hero::before { content:""; position:absolute; top:0; left:0; right:0; bottom:0; background: rgba(20,20,20,.55); }
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 50px; width: 100%; }
.hero-inner { max-width: 640px; }
.hero-eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  color: var(--theme); font-family: var(--title-font); font-size: 0.8125rem; margin-bottom: 0.75rem;
}
.hero-title { font-size: 2rem; font-weight: 500; color: var(--white); margin-bottom: 0.25rem; }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1200px) { .hero-title { font-size: 4rem; } }
.hero-text { color: rgba(255,255,255,.85); margin-top: 1rem; max-width: 480px; }
.hero-btns { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; max-width: 320px; }
@media (min-width: 500px) { .hero-btns { flex-direction: row; max-width: none; } }
.hero-cta { margin-top: 0; text-align: center; }

.hero-dots { position: absolute; z-index: 3; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
@media (min-width: 768px) { .hero-dots { bottom: 40px; } }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--white);
  background: transparent; cursor: pointer; padding: 0;
}
.hero-dots button.active { background: var(--theme); border-color: var(--theme); }

/* ---------- Modal de contacto ---------- */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1100;
  background: rgba(15,17,18,.7);
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  position: relative; width: 100%; max-width: 440px;
  background: var(--black);
  border-radius: var(--radius);
  padding: 1.875rem 1.5rem;
  max-height: 90vh; overflow-y: auto;
}
@media (min-width: 768px) { .modal-box { padding: 2.5rem; } }
.modal-box h3 { color: var(--white); margin-bottom: 1.375rem; font-size: 1.25rem; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(255,255,255,.3);
  color: var(--white); font-size: 0.9375rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.form-group { margin-bottom: 0.875rem; }
.form-control {
  width: 100%; padding: 0.875rem 1rem;
  min-height: 48px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--body-font);
  font-size: 1rem;
}
textarea.form-control { min-height: 90px; resize: vertical; }
select.form-control { -webkit-appearance: none; appearance: none; }
select.form-control option { color: var(--title); }
.form-control::placeholder { color: rgba(255,255,255,.6); }
.modal-box .btn { width: 100%; text-align: center; }

/* ---------- Sobre el proyecto ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 1.625rem; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 3.75rem; align-items: center; } }
.about-grid img { border-radius: var(--radius); }

/* ---------- Espacios del complejo (tarjetas con monograma) ---------- */
.bg-dark-section { background: var(--black); }
.bg-dark-section p { color: rgba(255,255,255,.65); }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.375rem; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 1.625rem; } }
@media (min-width: 992px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1.875rem; } }
.feature-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.625rem; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--theme); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--title-font); font-weight: 600; font-size: 0.8125rem;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { color: var(--white); font-size: 1.0625rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; margin-bottom: 0; }

/* ---------- Cifras del proyecto ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.125rem; }
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 1.625rem; } }
.stat-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.125rem; text-align: center;
  border: 1px solid var(--border);
}
.stat-num { display: block; font-family: var(--title-font); font-weight: 700; color: var(--theme); font-size: 2.25rem; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { display: block; font-size: 0.8125rem; color: var(--body-c); }

/* ---------- Propuesta de valor para inversionistas ---------- */
.value-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .value-grid { grid-template-columns: repeat(2, 1fr); gap: 1.625rem; } }
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.625rem; }
.value-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; margin-bottom: 0; color: var(--body-c); }

/* ---------- A quién buscamos ---------- */
.partner-box { background: var(--black); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .partner-box { padding: 2.75rem; } }
.partner-box h3 { color: var(--white); font-size: 1.0625rem; margin-bottom: 1.125rem; }
.tag-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; }
.tag-pill {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85);
  font-size: 0.8125rem;
}
.mt-40 { margin-top: 2.5rem; }

/* ---------- Organización por zonas ---------- */
.zone-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .zone-grid { grid-template-columns: repeat(2, 1fr); gap: 1.625rem; } }
.zone-card { display: flex; gap: 1.125rem; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 1.5rem; }
.zone-num { font-family: var(--title-font); font-size: 1.5rem; font-weight: 600; color: var(--theme); line-height: 1; }
.zone-card h3 { font-size: 1.0625rem; margin-bottom: 0.375rem; }
.zone-card p { font-size: 0.875rem; margin-bottom: 0; }

/* ---------- Sostenibilidad ---------- */
.sustain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.125rem; max-width: 700px; margin: 0 auto; }
@media (min-width: 600px) { .sustain-grid { grid-template-columns: repeat(3, 1fr); } }
.sustain-item {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 1rem 1.125rem;
  color: var(--white); font-size: 0.875rem; font-weight: 500;
}
.sustain-item span {
  font-family: var(--title-font); color: var(--theme); font-weight: 600; font-size: 0.8125rem;
}

/* ---------- Cita final ---------- */
.quote-section {
  background-size: cover; background-position: center;
  position: relative; text-align: center; padding: 4.5rem 0;
}
.quote-section::before { content:""; position:absolute; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,.6); }
.quote-section .container { position: relative; z-index: 2; }
.quote-text {
  font-family: var(--title-font); color: var(--white); font-style: italic;
  font-size: 1.375rem; max-width: 780px; margin: 0 auto 1.125rem; line-height: 1.5;
}
@media (min-width: 768px) { .quote-text { font-size: 1.75rem; } }
.quote-credit { color: var(--theme); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- video ---------- */
.video-cta {
  width: 100%;
  max-width: 900px;
  margin: 20px auto 0;
}
.video-cta video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #000;
}

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255,255,255,.65); padding-top: 3.75rem; }
@media (min-width: 768px) { .footer { padding-top: 5.625rem; } }
.footer-top { text-align: center; padding-bottom: 3.125rem; }
@media (min-width: 768px) { .footer-top { padding-bottom: 4.375rem; } }
.footer-top .subtitle { color: var(--theme); }
.footer-top h2 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.625rem; }
@media (min-width: 768px) { .footer-top h2 { font-size: 2.125rem; } }
.footer-logo-text { font-family: var(--title-font); font-weight: 600; color: var(--white); font-size: 1.1rem; margin-bottom: 0.75rem; }
.footer-logo-text span { display: block; color: var(--theme); font-size: 0.75rem; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }
.footer-text { font-size: 0.875rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.875rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 560px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 1.875rem; padding-bottom: 3.75rem; } }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.125rem; }
.footer-grid li { margin-bottom: 0.625rem; font-size: 0.875rem; }
.footer-grid a:hover { color: var(--theme); }
.footer-bottom {
  padding: 1.375rem 0; display: flex; flex-direction: column; gap: 0.5rem;
  text-align: center; font-size: 0.8125rem;
}
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ---------- Volver arriba ---------- */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--theme); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .3s; border: none; cursor: pointer; font-size: 0.9375rem;
}
@media (min-width: 768px) { .to-top { right: 24px; bottom: 24px; width: 46px; height: 46px; } }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
