:root {
  --bg-primary: #fcfbf9;
  --bg-secondary: #f4f1eb;
  --bg-card: #ffffff;
  --text-primary: #1c1a17;
  --text-secondary: #635f59;
  --text-muted: #8c877e;
  --accent-gold: #c59b27;
  --accent-gold-hover: #b0871d;
  --accent-terracotta: #c2593f;
  --border-light: rgba(28, 26, 23, 0.08);
  --border-medium: rgba(28, 26, 23, 0.16);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.09);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* WELCOME SPLASH SCREEN (CORTINA TENUE CON LA OBRA EN PANTALLA COMPLETA) */
.welcome-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  background: #0a0908;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-splash.splash-fade-out {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}

/* La cortina tenue pero claramente visible con la obra estirada cubriendo todo el fondo */
.splash-curtain-bg {
  position: absolute;
  inset: -30px;
  background-image: url('images/obra_08_arboles_pandemia_mejorada.jpeg');
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  filter: contrast(1.12) brightness(0.62);
  transform: scale(1.03);
  animation: subtleZoom 14s infinite alternate ease-in-out;
  z-index: 1;
}

@keyframes subtleZoom {
  0% { transform: scale(1.03); }
  100% { transform: scale(1.08); }
}

/* Capa de atmósfera semitransparente que da el efecto de velo/cortina tenue */
.splash-curtain-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(20, 18, 15, 0.55) 0%, rgba(10, 9, 8, 0.82) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 2;
}

.splash-container {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  animation: splashFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes splashFadeIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.splash-artist-name {
  font-family: var(--font-serif);
  font-size: 5.6rem;
  color: #ffffff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 0 60px rgba(197, 155, 39, 0.25);
  margin-bottom: 0.8rem;
}

.splash-sub {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  color: #e5b958;
  font-weight: 500;
  margin-bottom: 3.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.splash-prompt {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem 2.2rem;
  border-radius: 40px;
  background: rgba(14, 12, 10, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: pulsePrompt 2.6s infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes pulsePrompt {
  0%, 100% { opacity: 0.6; border-color: rgba(255, 255, 255, 0.25); }
  50% { opacity: 1; border-color: var(--accent-gold); color: #ffffff; background: rgba(197, 155, 39, 0.18); }
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 3.5rem;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  font-weight: 600;
  white-space: nowrap;
  margin-top: 2px;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 1.8vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-links li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 0.45rem 0.2rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* BOTONES LIMPIOS Y HOMOGÉNEOS DE LA BARRA DE NAVEGACIÓN */
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 0.95rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.nav-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.nav-btn-outline {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.nav-btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

.nav-btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 1px solid #1fb757;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.22);
}

.nav-btn-whatsapp:hover {
  background: #1fb757;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
  transform: translateY(-1px);
}

.nav-phone-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.14);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-left: 0.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: #33312e;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--accent-gold);
  color: #ffffff;
}

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

.btn-outline {
  border-color: var(--border-medium);
  background: transparent;
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--text-primary);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* HERO SECTION */
.hero {
  padding: 5rem 4rem 4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  background: radial-gradient(circle at 10% 20%, rgba(197, 155, 39, 0.05) 0%, transparent 60%);
}

.hero-content {
  max-width: 680px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(197, 155, 39, 0.12);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4.2rem;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 400;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-gold);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.hero-quote {
  border-left: 2px solid var(--accent-gold);
  padding-left: 1.4rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  background: #ffffff;
  padding: 1.2rem 1.2rem 2.8rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  max-width: 380px;
  transform: rotate(-1.5deg);
  transition: var(--transition);
}

.hero-image-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16);
}

.hero-image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.hero-image-caption {
  margin-top: 1.2rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  text-align: center;
  font-style: italic;
}

.hero-image-sub {
  font-size: 0.72rem;
  text-align: center;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* SECTION HEADERS */
.section {
  padding: 5rem 4rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
}

/* GALLERY & FILTERS */
.filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-medium);
  padding: 0.55rem 1.3rem;
  border-radius: 30px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.art-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.art-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-medium);
}

.art-card-media {
  position: relative;
  background: #f7f6f2;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.art-card-img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.art-card:hover .art-card-img {
  transform: scale(1.04);
}

.art-card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-available {
  background: rgba(37, 211, 102, 0.15);
  color: #0e853a;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.badge-sold {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.35);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.badge-private {
  background: rgba(82, 82, 91, 0.14);
  color: #3f3f46;
  border: 1px solid rgba(82, 82, 91, 0.3);
}

.badge-reserved {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.badge-collection {
  background: rgba(100, 100, 100, 0.15);
  color: #4a4a4a;
}

.badge-category {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border: 1px solid rgba(0,0,0,0.06);
}

/* TOAST NOTIFICATION */
.toast-notify {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1c1a17;
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 10001;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-notify.show {
  opacity: 1;
  transform: translateY(0);
}

.art-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.art-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.art-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.art-card-year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-style: italic;
}

.art-card-technique {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.art-card-dims {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.art-card-palette {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.palette-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.art-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.btn-card {
  padding: 0.55rem 0.8rem;
  font-size: 0.78rem;
}

/* ROOM SIMULATOR */
.room-simulator-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.sim-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
}

.sim-stage-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.5s ease;
}

/* Wall background themes */
.wall-museum { background-color: #f7f6f2; }
.wall-linen { background-color: #ece6dc; }
.wall-charcoal { background-color: #2b2b2b; }
.wall-sage { background-color: #d6ded7; }
.wall-terracotta { background-color: #eed8ce; }

.sim-artwork-container {
  position: absolute;
  top: 12%;
  z-index: 5;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-artwork-frame {
  position: relative;
  padding: 10px;
  background: transparent;
  transition: all 0.3s ease;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.28);
}

/* Frame styles */
.frame-none {
  border: none;
  padding: 0;
  box-shadow: 0 18px 35px rgba(0,0,0,0.22);
}
.frame-black {
  border: 12px solid #1a1a1a;
  background: #ffffff;
  padding: 14px;
}
.frame-wood {
  border: 14px solid #8B5A2B;
  background: #ffffff;
  padding: 14px;
}
.frame-gold {
  border: 14px solid #b38b34;
  background: #fdfbf7;
  padding: 14px;
}

.sim-artwork-img {
  max-height: 240px;
  max-width: 320px;
  object-fit: contain;
  display: block;
}

.sim-furniture {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

/* SVG Furniture illustrations */
.sofa-graphic {
  width: 520px;
  max-width: 85%;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

.sim-controls-bar {
  padding: 1.8rem 2.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.sim-control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sim-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 700;
}

.sim-options {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.sim-color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  outline: 1px solid var(--border-medium);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sim-color-btn:hover, .sim-color-btn.active {
  transform: scale(1.2);
  outline: 2px solid var(--accent-gold);
}

.sim-select {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  background: #ffffff;
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
}

.sim-btn-pill {
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  border: 1px solid var(--border-medium);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.sim-btn-pill.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

/* BIOGRAPHY & CV SECTION */
.bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

.bio-card-frame {
  position: relative;
  background: #ffffff;
  padding: 1.5rem 1.5rem 3rem;
  box-shadow: var(--shadow-hover);
  border-radius: var(--radius-sm);
  max-width: 440px;
  margin: 0 auto;
}

.bio-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
}

.bio-signature-block {
  margin-top: 1.5rem;
  text-align: center;
}

.bio-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.bio-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  font-weight: 700;
}

.bio-statement {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 300;
}

.bio-highlight {
  color: var(--text-primary);
  font-weight: 500;
}

.cv-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.cv-title {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
}

.cv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cv-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.cv-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* CURATORIAL MODAL / DETAIL VIEW */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 17, 15, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 1050px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--text-primary);
  color: #ffffff;
}

.modal-media-pane {
  background: #f8f7f4;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-light);
}

.modal-img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

.modal-info-pane {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
}

.modal-title {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.modal-year {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--accent-gold);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.8rem;
  font-size: 0.85rem;
}

.modal-specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.modal-specs-table td {
  padding: 0.6rem 0;
}

.modal-specs-label {
  color: var(--text-muted);
  width: 35%;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.modal-specs-value {
  color: var(--text-primary);
  font-weight: 500;
}

.modal-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.modal-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* DOSSIER & PRINT MODE (OPTION C) */
.dossier-mode-banner {
  display: none;
  background: var(--text-primary);
  color: #ffffff;
  padding: 1rem 4rem;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}

body.dossier-active .dossier-mode-banner {
  display: flex;
}

body.dossier-active .navbar,
body.dossier-active .hero,
body.dossier-active .room-simulator-section,
body.dossier-active .filter-bar,
body.dossier-active .art-card-actions,
body.dossier-active .footer-main,
body.dossier-active .welcome-splash {
  display: none !important;
}

body.dossier-active {
  background: #ffffff;
}

/* PRINT STYLES FOR PDF EXPORT */
@media print {
  @page {
    size: A4 portrait;
    margin: 1.5cm;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
  }

  .navbar, .hero, .room-simulator-section, .filter-bar,
  .art-card-actions, .modal-overlay, .dossier-mode-banner,
  .welcome-splash, .btn, footer {
    display: none !important;
  }

  .section {
    padding: 0 !important;
  }

  .gallery-grid {
    display: block !important;
  }

  .art-card {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #e0e0e0 !important;
    box-shadow: none !important;
    margin-bottom: 2.5cm !important;
    padding: 1.5cm !important;
  }

  .art-card-media {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 1cm !important;
    min-height: auto !important;
  }

  .art-card-img {
    max-height: 12cm !important;
    box-shadow: none !important;
  }

  .art-card-title {
    font-size: 22pt !important;
  }

  .bio-grid {
    page-break-before: always;
    display: block !important;
  }

  .bio-img {
    max-height: 10cm !important;
    margin-bottom: 1cm !important;
  }
}

/* FOOTER */
.footer-main {
  background: #141311;
  color: #e5e2dc;
  padding: 4.5rem 4rem 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}

.footer-bio-snippet {
  font-size: 0.9rem;
  color: #9c978f;
  line-height: 1.7;
  max-width: 420px;
}

.footer-col-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-list a {
  color: #9c978f;
  font-size: 0.88rem;
}

.footer-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #736f68;
}

/* RESPONSIVE BREAKPOINTS */

/* Centrado matemático perfecto en monitores y laptops estándar */
@media (min-width: 1360px) {
  .navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-brand {
    justify-self: start;
  }
  .nav-center {
    justify-self: center;
  }
  .nav-actions {
    justify-self: end;
  }
}

@media (max-width: 1280px) {
  .navbar {
    padding: 0.85rem 2rem;
  }
  .nav-links {
    gap: 1.2rem;
  }
  .nav-phone-badge {
    display: none;
  }
}

@media (max-width: 1040px) {
  .navbar {
    padding: 0.8rem 1.5rem;
  }
  .nav-links {
    gap: 0.85rem;
  }
  .nav-links a {
    font-size: 0.75rem;
    letter-spacing: 0.07em;
  }
  .nav-btn {
    height: 36px;
    padding: 0 0.75rem;
    font-size: 0.78rem;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
  }
  .hero-visual {
    margin-top: 2rem;
  }
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .modal-content {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .splash-artist-name {
    font-size: 3rem;
  }
}

@media (max-width: 860px) {
  .nav-center {
    display: none;
  }
  .navbar {
    padding: 0.8rem 1.2rem;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 0.7rem 0.9rem;
    gap: 0.5rem;
  }
  .brand-title {
    font-size: 1.25rem;
  }
  .brand-sub {
    font-size: 0.6rem;
  }
  .nav-actions {
    gap: 0.4rem;
  }
  .nav-btn {
    padding: 0 0.55rem;
    height: 34px;
    font-size: 0.75rem;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .section {
    padding: 3.5rem 1.2rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .sim-controls-bar {
    padding: 1rem;
  }
  .splash-artist-name {
    font-size: 2.2rem;
  }
}
