/* ============================================================
   NODO CORPORATIVO AV. 14 — The Spiral NY Design System
   ============================================================ */

:root {
  --accent:       #b5893a;
  --accent-dark:  #8a6428;
  --accent-light: rgba(181, 137, 58, 0.15);
  --dark:         #0a0a0a;
  --dark-mid:     #111111;
  --dark-soft:    #1a1a1a;
  --dark-border:  rgba(255, 255, 255, 0.07);
  --gold-border:  rgba(181, 137, 58, 0.18);
  --light:        #f0ebe1;
  --text-cream:   #ede8dc;
  --text-muted:   rgba(237, 232, 220, 0.52);
  --font:         'Inter', sans-serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--dark);
  color: var(--text-cream);
  overflow-x: hidden;
}

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
  padding: 28px 48px;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(181, 137, 58, 0.2);
  padding: 18px 48px;
}

.nav-logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  display: block;
  line-height: 1;
  font-weight: 500;
}

.nav-logo-main {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-cream);
  display: block;
  line-height: 1.5;
}


.nav-link {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237, 232, 220, 0.6);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right 0.28s ease;
}

.nav-link:hover { color: var(--text-cream); }
.nav-link:hover::after { right: 0; }

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

#hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-cream);
  transition: all 0.3s ease;
}

#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 28px 0 16px;
  border-top: 1px solid var(--dark-border);
  margin-top: 20px;
}

#mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  #navbar { padding: 20px 24px; }
  #navbar.scrolled { padding: 14px 24px; }
  #hamburger { display: flex; }
  .nav-desktop { display: none !important; }
}

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/fachada-principal.webp');
  background-size: cover;
  background-position: center top;
  animation: heroZoom 16s ease-out forwards;
  will-change: transform;
}

@keyframes heroZoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.5) 40%,
    rgba(10, 10, 10, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 96px;
  max-width: 900px;
}

.hero-supertitle {
  font-family: var(--font);
  font-size: clamp(0.55rem, 1.2vw, 0.68rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 0.4s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-cream);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 0.65s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--text-cream);
}

.hero-desc {
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  font-weight: 300;
  color: rgba(237, 232, 220, 0.62);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 0.9s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 36px;
  border: 1px solid rgba(237, 232, 220, 0.35);
  color: var(--text-cream);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 1.1s forwards;
}

.hero-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
}

.hero-cta svg { transition: transform 0.2s; }
.hero-cta:hover svg { transform: translateX(4px); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}

.hero-scroll span {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 232, 220, 0.3);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(1); }
  50% { opacity: 0.9; transform: scaleY(1.15); }
}

@media (max-width: 768px) {
  .hero-content { padding: 0 24px 72px; }
  .hero-scroll { display: none; }
}

/* ── SECTION COMMONS ────────────────────────────────────────── */
.section-label {
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-cream);
}

.section-title.light { color: var(--text-cream); }

.section-body {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ── ANIMATIONS (IntersectionObserver) ─────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}

.fade-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}

.fade-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}

.fade-up.visible, .fade-left.visible, .fade-right.visible {
  opacity: 1;
  transform: none;
}

/* ── KEYFRAMES ──────────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── DIVIDER ACCENT ─────────────────────────────────────────── */
.accent-line {
  width: 36px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 28px;
  opacity: 0.7;
}

/* ── UBICACIÓN ──────────────────────────────────────────────── */
#ubicacion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.map-wrapper {
  position: relative;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  filter: grayscale(100%) brightness(0.35) contrast(1.2);
  transition: filter 0.5s;
}

.map-wrapper:hover iframe {
  filter: grayscale(80%) brightness(0.45) contrast(1.1);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(181, 137, 58, 0.06), transparent 55%);
  pointer-events: none;
}

.ubicacion-content {
  padding: 88px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark-mid);
}

.ub-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--dark-border);
}

.ub-item:last-child { border-bottom: none; }

.ub-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(181, 137, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.ub-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 232, 220, 0.35);
  margin-bottom: 5px;
}

.ub-value {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-cream);
  line-height: 1.5;
}

@media (max-width: 900px) {
  #ubicacion { grid-template-columns: 1fr; }
  .map-wrapper { min-height: 320px; }
  .ubicacion-content { padding: 52px 24px; }
}

/* ── PLANTA BAJA ────────────────────────────────────────────── */
#planta-baja {
  padding: 112px 48px;
  background: var(--dark-mid);
}

.pb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 56px;
}

.pb-img {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
}

.pb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  filter: brightness(0.85);
}

.pb-img:hover img {
  transform: scale(1.04);
  filter: brightness(0.95);
}

.pb-img:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* Stats */
#planta-baja .stats-row > div {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
}

#planta-baja .stats-row > div:hover {
  border-color: var(--gold-border);
}

@media (max-width: 768px) {
  #planta-baja { padding: 72px 24px; }
  .pb-grid { grid-template-columns: 1fr; }
  .pb-img:first-child { grid-column: span 1; }
}

/* ── PLANTAS INTERACTIVAS ───────────────────────────────────── */
#plantas {
  padding: 112px 48px;
  background: var(--dark);
}

.tabs-header {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 56px;
}

.tab-btn {
  padding: 14px 36px;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237, 232, 220, 0.35);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.25s, border-color 0.25s;
}

.tab-btn.active {
  color: var(--text-cream);
  border-bottom-color: var(--accent);
}

.tab-btn:hover:not(.active) { color: rgba(237, 232, 220, 0.65); }

.tab-panel { display: none; }

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  animation: tabFade 0.45s ease;
}

@keyframes tabFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.tab-img {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.tab-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.tab-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(181, 137, 58, 0.08), transparent);
}

.tab-content .section-body { color: var(--text-muted); }

.tab-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-border);
}

.tab-feature:first-of-type { border-top: none; padding-top: 0; }

.tab-feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(181, 137, 58, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.tab-feature-text strong {
  display: block;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-cream);
  margin-bottom: 3px;
}

.tab-feature-text span {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(237, 232, 220, 0.45);
  line-height: 1.6;
}

@media (max-width: 768px) {
  #plantas { padding: 72px 24px; }
  .tab-panel.active { grid-template-columns: 1fr; gap: 36px; }
  .tab-btn { padding: 12px 20px; }
}

/* ── INGENIERÍA ─────────────────────────────────────────────── */
#ingenieria {
  padding: 112px 48px;
  background: var(--dark-soft);
}

.ing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 72px;
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  overflow: hidden;
}

.ing-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 44px;
  transition: background 0.35s;
  border-right: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.ing-card:nth-child(2n) { border-right: none; }
.ing-card:nth-child(3), .ing-card:nth-child(4) { border-bottom: none; }

.ing-card:hover { background: rgba(181, 137, 58, 0.04); }

.ing-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(181, 137, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 28px;
}

.ing-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-cream);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.ing-card-sub {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ing-card-body {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(237, 232, 220, 0.5);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Metric bars */
.metric { margin-bottom: 22px; }

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(237, 232, 220, 0.6);
}

.metric-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
}

.metric-bar-bg {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  overflow: visible;
  position: relative;
}

.metric-bar-fill {
  height: 1px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  width: 0;
  transition: width 1.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.metric-bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.metric-bar-fill.animate { width: var(--target-width); }

.metric-compare {
  font-size: 0.65rem;
  font-weight: 300;
  color: rgba(237, 232, 220, 0.28);
  margin-top: 8px;
  line-height: 1.5;
}

.cta-pdf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 28px;
  border: 1px solid var(--gold-border);
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  background: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  margin-top: 36px;
}

.cta-pdf:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

@media (max-width: 900px) {
  #ingenieria { padding: 72px 24px; }
  .ing-grid { grid-template-columns: 1fr; }
  .ing-card { border-right: none; padding: 32px 24px; }
  .ing-card:nth-child(3) { border-bottom: 1px solid var(--dark-border); }
}

/* ── PENTHOUSE ──────────────────────────────────────────────── */
#penthouse {
  position: relative;
  height: 72vh;
  min-height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.penthouse-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/penthouse/terraza.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.6);
}

.penthouse-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
}

.penthouse-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.penthouse-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(181, 137, 58, 0.3);
  padding: 7px 18px;
  border-radius: 1px;
  margin-bottom: 28px;
}

.penthouse-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 300;
  color: var(--text-cream);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  font-style: italic;
}

.penthouse-body {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(237, 232, 220, 0.58);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ── CONTACTO ───────────────────────────────────────────────── */
#contacto {
  padding: 112px 48px;
  background: var(--dark);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.contact-info .section-body { margin-top: 20px; }

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(181, 137, 58, 0.08);
  border: 1px solid rgba(181, 137, 58, 0.2);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--accent);
  margin-top: 32px;
  letter-spacing: 0.06em;
}

/* Contact info dark box */
.contact-info-box {
  background: var(--dark-soft);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  padding: 28px;
  margin-top: 40px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 232, 220, 0.35);
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-cream);
  background: var(--dark-soft);
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}

.form-input:focus {
  border-color: rgba(181, 137, 58, 0.45);
  background: #1f1f1f;
}

.form-input::placeholder { color: rgba(237, 232, 220, 0.2); }

select.form-input option { background: var(--dark-mid); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 36px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s, opacity 0.25s;
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.btn-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  padding: 16px;
  background: rgba(181, 137, 58, 0.08);
  border: 1px solid rgba(181, 137, 58, 0.25);
  border-radius: 2px;
  color: var(--accent);
  font-size: 0.82rem;
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 900px) {
  #contacto { padding: 72px 24px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 56px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: #080808;
  padding: 56px 48px 36px;
  border-top: 1px solid var(--gold-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}

.footer-logo-wrap {
  display: inline-block;
}

.footer-logo-main {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-cream);
}

.footer-dev-logo {
  display: block;
  width: 50%;
  height: auto;
  margin-top: 10px;
  opacity: 0.75;
  transition: opacity 0.3s;
}

.footer-dev-logo:hover { opacity: 1; }

.footer-proficio-wrap {
  margin-top: 12px;
}

.footer-proficio-logo {
  display: block;
  height: 48px;
  width: auto;
  opacity: 0.85;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
  transform: translateZ(0);
  transition: opacity 0.3s;
}

.footer-proficio-logo:hover { opacity: 1; }

.footer-logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
  font-weight: 500;
}

.footer-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(237, 232, 220, 0.28);
  line-height: 1.8;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 232, 220, 0.22);
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(237, 232, 220, 0.45);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.22s;
}

.footer-link:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(237, 232, 220, 0.2);
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  footer { padding: 52px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ── MODAL ──────────────────────────────────────────────────── */
#modal-pdf {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

#modal-pdf.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--dark-soft);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  padding: 52px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  transform: translateY(28px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#modal-pdf.open .modal-box { transform: none; }

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(181, 137, 58, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 28px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-cream);
  margin-bottom: 14px;
}

.modal-body {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(237, 232, 220, 0.45);
  line-height: 1.8;
  margin-bottom: 36px;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.22s, background 0.22s;
  margin-bottom: 18px;
  width: 100%;
  justify-content: center;
}

.modal-cta:hover { background: var(--accent-dark); }

.modal-close {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(237, 232, 220, 0.25);
  cursor: pointer;
  background: none;
  border: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.modal-close:hover { color: rgba(237, 232, 220, 0.55); }

/* ── GALERÍA STRIP ──────────────────────────────────────────── */
.img-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.strip-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s;
  filter: brightness(0.6) grayscale(0.15);
}

.strip-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.8) grayscale(0);
}

@media (max-width: 600px) {
  .img-strip { grid-template-columns: 1fr 1fr; }
  .strip-item:last-child { display: none; }
}

/* ── PLANOS ESTRUCTURALES ───────────────────────────────────── */
.planos-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  -webkit-overflow-scrolling: touch;
}

.planos-strip::-webkit-scrollbar { height: 4px; }
.planos-strip::-webkit-scrollbar-track { background: transparent; }
.planos-strip::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 2px; }

.plano-item {
  flex: 0 0 auto;
  width: 260px;
  border: 1px solid rgba(181,137,58,0.15);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
  background: var(--dark-soft);
}

.plano-item:hover {
  border-color: rgba(181,137,58,0.45);
  transform: translateY(-3px);
}

.plano-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  filter: sepia(0.15) contrast(1.05) brightness(0.95);
  transition: filter 0.4s;
}

.plano-item:hover img {
  filter: sepia(0) contrast(1.1) brightness(1.05);
}

.plano-label {
  padding: 9px 14px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(237,232,220,0.45);
  text-transform: uppercase;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(181,137,58,0.08);
}

/* ── LIGHTBOX PLANOS ────────────────────────────────────────── */
#lightbox-planos {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#lightbox-planos.open { display: flex; }

.lb-img-wrap {
  max-width: 92vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(181,137,58,0.2);
  border-radius: 3px;
  display: block;
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  z-index: 9001;
}
.lb-close:hover { border-color: var(--accent); color: var(--accent); }

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  font-size: 2.4rem;
  width: 48px;
  height: 64px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  z-index: 9001;
  line-height: 1;
}
.lb-arrow:hover { border-color: var(--accent); color: var(--accent); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lb-label {
  margin-top: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,232,220,0.4);
}

/* ── UTILITY ────────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.max-content { max-width: 1240px; margin: 0 auto; }
