:root {
  --dark-bg: #2a2a2a;
  --darker-bg: #1e1e1e;
  --text-light: #ffffff;
  --text-muted: #cccccc;
  --blue-accent: #1a3a6b;
  --border-color: #444444;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

/* NAVBAR */
.navbar-custom {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; padding: 1.2rem 2rem;
  background: transparent; transition: background 0.4s;
}
.navbar-custom.scrolled { background: rgba(20,20,20,0.95); }
.navbar-brand-custom {
  font-weight: 200; font-size: 0.85rem; letter-spacing: 0.3em;
  color: white !important; text-decoration: none; text-transform: uppercase;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.65rem; font-weight: 400; letter-spacing: 0.2em;
  color: white; text-decoration: none; text-transform: uppercase; transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.55; }
.nav-toggler {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.4);
  color: white; padding: 0.25rem 0.6rem; cursor: pointer; font-size: 1rem;
}
@media (max-width: 767px) {
  .nav-links {
    display: flex; flex-direction: column; gap: 1.2rem;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(20,20,20,0.97); padding: 0 2rem;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.38s ease, opacity 0.28s ease, padding 0.38s ease;
  }
  .nav-links.open {
    max-height: 400px; opacity: 1; padding: 1.5rem 2rem;
  }
  .nav-toggler { display: block; }
}

/* NAV DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: rgba(20,20,20,0.97);
  list-style: none; padding: 0.6rem 0; min-width: 130px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu li a {
  display: block; padding: 0.55rem 1.4rem;
  font-size: 0.62rem; letter-spacing: 0.18em;
  color: white; text-decoration: none; text-transform: uppercase;
  white-space: nowrap; transition: opacity 0.2s;
}
.nav-dropdown-menu li a:hover { opacity: 0.55; }
.nav-dropdown-menu .nav-disabled { color: rgba(255,255,255,0.35) !important; cursor: default; pointer-events: none; }
@media (max-width: 767px) {
  .nav-dropdown-menu {
    display: flex; flex-direction: column; position: static;
    transform: none; background: transparent; border-top: none;
    padding: 0 0 0 1rem; min-width: unset;
  }
  .nav-dropdown-menu li a { padding: 0.35rem 0; font-size: 0.6rem; }
}

/* HERO */
.hero {
  height: 100vh; min-height: 560px; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.img-placeholder {
  background: #5a5a5a;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.38); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 1rem; }
.hero-subtitle {
  font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 300; margin-bottom: 1rem;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: 0.04em; line-height: 1.1; margin-bottom: 2.2rem;
}
.btn-hero {
  border: 1px solid rgba(255,255,255,0.65); color: white; background: transparent;
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 0.8rem 2.8rem; text-decoration: none; display: inline-block;
  transition: background 0.3s;
}
.btn-hero:hover { background: rgba(255,255,255,0.12); color: white; }

/* SECTIONS */
section { padding: 6rem 0; }
.section-dark { background-color: var(--darker-bg); }
.section-title-sm {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; margin-bottom: 1.4rem;
}
.section-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 1.5rem;
}
.section-body {
  font-size: 0.83rem; line-height: 1.95; color: var(--text-muted);
  max-width: 680px; margin: 0 auto;
}

/* INVOLUCRAMIENTO */
.split-section {
  position: relative; min-height: 420px; padding: 0;
  display: flex; align-items: stretch; overflow: hidden;
}
.split-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.split-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.split-card-white {
  position: relative; z-index: 2; background: white; color: #111;
  padding: 3rem 2.5rem; max-width: 430px;
  margin: 3.5rem 0 3.5rem 4rem;
  align-self: flex-start;
}
.split-card-white h3 {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 1.2rem; color: #111;
}
.split-card-white p { font-size: 0.8rem; line-height: 1.85; color: #444; margin-bottom: 0.9rem; }
@media (max-width: 767px) {
  .split-card-white { margin: 2rem 1.5rem; max-width: 100%; }
}

/* MERCADO */
.split-card-blue {
  position: relative; z-index: 2; background: var(--blue-accent); color: white;
  padding: 3rem 2.5rem; max-width: 430px; text-align: left;
  margin: 3.5rem 4rem 3.5rem auto; align-self: flex-start;
}
.split-card-blue h3 {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 0.5rem;
}
.split-card-blue h4 {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; line-height: 1.7; margin-bottom: 1.5rem;
}
.split-card-blue p { font-size: 0.8rem; line-height: 1.85; }
@media (max-width: 767px) {
  .split-card-blue { margin: 2rem 1.5rem; max-width: 100%; }
}

/* PROYECTOS RECIENTES */
.proyecto-reciente { margin-bottom: 1rem; }
.proyecto-reciente-title {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 0;
}
.btn-proyecto-link {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; transition: color 0.2s;
}
.btn-proyecto-link:hover { color: white; }
.proyecto-video {
  width: 100%; max-height: 520px; object-fit: cover; display: block;
}
.proyecto-foto {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
}
.proyecto-divider { border-top: 1px solid var(--border-color); margin: 4rem 0; }
.proyecto-slider-foto { width: 100%; height: 560px; object-fit: cover; object-position: center; display: block; }
@media (max-width: 767px) { .proyecto-slider-foto { height: 260px; } }

/* HOVER 100% VENDIDO */
.proyecto-thumb {
  position: relative; overflow: hidden; cursor: pointer;
}
.proyecto-thumb::after {
  content: '100% VENDIDO';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.62);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.35em;
  color: white; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s ease;
}
.proyecto-thumb:hover::after { opacity: 1; }

/* PROYECTOS */
.proyecto-placeholder {
  width: 100%; aspect-ratio: 4/3; background: #555; margin-bottom: 0.8rem;
}
.proyecto-name {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.3rem;
}
.proyecto-meta { font-size: 0.72rem; color: var(--text-muted); line-height: 1.65; }

/* SOLARIS BANNER */
.solaris-banner {
  position: relative; min-height: 780px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.solaris-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.solaris-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.solaris-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  padding: 4rem 2rem; text-align: center;
}
.solaris-logo { height: 50px; width: auto; }
.solaris-text {
  font-size: 0.78rem; font-weight: 300; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.85); margin: 0;
}
.btn-solaris {
  border: 1px solid rgba(255,255,255,0.5); color: white; background: transparent;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 0.85rem 2.5rem; text-decoration: none; display: inline-block;
  transition: background 0.3s, border-color 0.3s;
}
.btn-solaris:hover { background: rgba(255,255,255,0.1); border-color: white; color: white; }

/* NOSOTROS – FOTOS */
.perfil-foto {
  width: 100%; max-width: 280px; aspect-ratio: 3/4;
  object-fit: cover; object-position: top;
  display: block; margin: 0 auto 1rem;
  border-radius: 14px;
}
.perfil-nombre {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 0.2rem;
}
.perfil-titulo {
  font-size: 0.7rem; font-weight: 300; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}

/* EQUIPO */
.equipo-foto {
  width: 100%; max-width: 200px; aspect-ratio: 3/4;
  object-fit: cover; object-position: top;
  display: block; margin: 0 auto;
  border-radius: 14px;
}

/* ANTECEDENTES */
.ant-item {
  border-top: 1px solid var(--border-color); padding: 1.2rem 0;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-size: 0.82rem; letter-spacing: 0.15em; cursor: pointer; transition: opacity 0.2s;
}
.ant-item:hover { opacity: 0.6; }
.ant-plus { color: var(--text-muted); font-size: 1.1rem; transition: transform 0.3s; }
.ant-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.6s ease;
}
.ant-content.open { max-height: 12000px; }
.ant-content-inner { padding: 2.5rem 0 1rem; border-top: 1px solid var(--border-color); text-align: left; }
.ant-fecha { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em; margin-bottom: 2rem; }
.ant-section-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: white; margin: 2rem 0 0.8rem;
}
.ant-subsection-title {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted); margin: 1.5rem 0 0.6rem;
}
.ant-text { font-size: 0.8rem; line-height: 1.85; color: var(--text-muted); margin-bottom: 0.5rem; }
.ant-timeline-item { margin-bottom: 1.4rem; }
.ant-year { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; color: white; margin-bottom: 0.4rem; }
.ant-list {
  list-style: none; padding: 0; margin: 0;
}
.ant-list li {
  font-size: 0.78rem; line-height: 1.75; color: var(--text-muted);
  padding: 0.2rem 0 0.2rem 1rem; position: relative;
}
.ant-list li::before { content: '–'; position: absolute; left: 0; color: #666; }

/* CONTACTO */
.field-label {
  font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-muted);
  display: block; margin-bottom: 0.45rem;
}
.field-input {
  width: 100%; background: #222; border: none; color: white;
  padding: 0.9rem 1rem; font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; margin-bottom: 1.4rem; outline: none;
}
textarea.field-input { resize: vertical; }
.field-file { padding: 0.6rem 1rem; cursor: pointer; color: var(--text-muted); }
.field-file::file-selector-button {
  background: #333; border: none; color: white; padding: 0.4rem 1rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.1em; cursor: pointer; margin-right: 1rem;
}
.btn-send {
  width: 100%; padding: 1rem; background: #333; color: white; border: none;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  font-family: 'Montserrat', sans-serif; cursor: pointer; transition: background 0.25s;
}
.btn-send:hover { background: #484848; }

/* FOOTER */
footer { background: var(--darker-bg); border-top: 1px solid var(--border-color); padding: 2.5rem 0; }
.footer-brand { font-size: 0.85rem; font-weight: 200; letter-spacing: 0.28em; color: #777; }
.footer-copy { font-size: 0.68rem; color: #555; margin-top: 0.4rem; }
.social-btn {
  width: 38px; height: 38px; background: #383838; border: none;
  color: #999; display: inline-flex; align-items: center; justify-content: center;
  margin-left: 0.4rem; cursor: pointer; text-decoration: none; font-size: 0.78rem;
  transition: background 0.2s;
}
.social-btn:hover { background: #555; color: white; }

/* SCROLL TOP */
#scrollTop {
  position: fixed; bottom: 1.5rem; right: 1.5rem; width: 42px; height: 42px;
  background: #3a3a3a; border: none; color: white; cursor: pointer;
  font-size: 1.1rem; z-index: 998; display: none; transition: background 0.2s;
}
#scrollTop:hover { background: #555; }
#scrollTop.visible { display: flex; align-items: center; justify-content: center; }
