/* ==========================================================================
   MCF + BIG D - THE COLONY PORTFOLIO STYLE SHEET
   Estilo Editorial Minimalista de Lujo (Light Luxury Mode)
   Inspirado en publicaciones arquitectónicas exclusivas (Architectural Digest)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DEL SISTEMA DE DISEÑO (LIGHT LUXURY)
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Paleta de Colores de Gama Ultra-Alta */
  --bg-cream: #FAF8F5;       /* Fondo marfil / crema cálido */
  --bg-white: #FFFFFF;       /* Blanco puro para tarjetas y bloques */
  --bg-dark: #121212;        /* Carbono profundo para textos principales y footer */
  --bg-dark-card: #1C1C1C;   /* Bloques de contraste en carbón mate */
  --accent-gold: #F2A900;    /* Dorado Miel corporativo de Mastercraft Interiors (#F2A900) */
  
  /* Textos */
  --text-dark: #1A1A1A;      /* Carbono suave */
  --text-muted: #555555;     /* Gris medio para descripciones de lectura cómoda */
  --text-light: #999999;     /* Gris suave para metadatos */
  --text-white: #FFFFFF;

  /* Líneas, Bordes y Sombras */
  --border-light: rgba(0, 0, 0, 0.07);  /* Línea fina minimalista */
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-premium: 0 15px 40px rgba(0, 0, 0, 0.04);
  --shadow-overlay: 0 30px 60px rgba(0, 0, 0, 0.08);

  /* Fuentes Editoriales */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  
  --max-width: 1400px;
}

/* --------------------------------------------------------------------------
   2. REGLAS GENERALES Y RESET
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-cream);
}

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Barra de desplazamiento editorial */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   3. ENCABEZADO MINIMALISTA DE LUJO
   -------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  background: rgba(0, 0, 0, 0.85); /* Totalmente negro con transparencia */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  transition: all 0.4s ease;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-white);
}

.brand-title span {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  margin-left: 8px;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

.top-navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.top-navigation a {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-white);
  position: relative;
}

.top-navigation a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.top-navigation a:hover {
  color: var(--accent-gold);
}

.top-navigation a:hover::after {
  width: 100%;
}

.top-navigation a.btn-header-cta {
  background: var(--bg-white);
  color: #000000 !important; /* Forzar el color de texto a negro absoluto para visibilidad completa */
  border: 1px solid var(--bg-white);
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-block;
  transition: all 0.3s ease;
}

.top-navigation a.btn-header-cta::after {
  display: none !important; /* Desactivar la línea inferior decorativa */
}

.top-navigation a.btn-header-cta:hover {
  background: transparent;
  color: var(--text-white) !important;
  border-color: var(--text-white);
  transform: translateY(-1px);
}

.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 14px;
  cursor: pointer;
  margin-left: 10px;
}

.burger-line {
  width: 100%;
  height: 1px;
  background-color: var(--text-white);
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION (EDITORIAL MOUNTAIN LIVING)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px clamp(24px, 5vw, 80px) 100px;
  background-color: #0c0c0c; /* Profundo carbón mate para alto contraste */
  overflow: hidden;
  text-align: center;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.65; /* Más opacidad para resaltar la calidez del hogar */
  filter: contrast(1.04) brightness(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 12, 12, 0.4) 0%, rgba(12, 12, 12, 0.5) 50%, var(--bg-cream) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-box {
  width: 70px;
  height: 70px;
  background-color: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 35px;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-box::after {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--accent-gold);
  opacity: 0.25;
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--bg-white);
  letter-spacing: -0.01em;
  margin-bottom: 25px;
}

.hero-main-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold); /* El dorado miel corporativo de Mastercraft */
}

.hero-description {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin-bottom: 45px;
  max-width: 720px;
}

.btn-discover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background-color: var(--accent-gold);
  color: var(--bg-dark);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--accent-gold);
  cursor: pointer;
  transition: all 0.35s ease;
}

.btn-discover:hover {
  background-color: transparent;
  color: var(--bg-white);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-text {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--bg-white);
  opacity: 0.7;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--bg-white) 50%, transparent 100%);
}

/* --------------------------------------------------------------------------
   5. SECCIÓN RESUMEN (VIRTUAL CATALOG ASYMMETRIC GRID)
   -------------------------------------------------------------------------- */
.overview-section {
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px);
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-light);
}

.overview-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.46fr 0.54fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.overview-label-column {
  max-width: 540px;
}

.section-badge {
  font-family: var(--font-sans);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 20px;
  display: inline-block;
}

.section-title-large {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 30px;
}

.overview-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 45px;
}

.metrics-container {
  display: flex;
  gap: 60px;
  border-top: 1px solid var(--border-light);
  padding-top: 35px;
}

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

.metric-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 5px;
}

.metric-lbl {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
}

.overview-image-mosaic {
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  gap: 24px;
  align-items: flex-start;
}

.mosaic-img-card {
  box-shadow: var(--shadow-premium);
  background-color: var(--bg-white);
  padding: 0;
  overflow: hidden;
  border-radius: 2px;
}

.mosaic-img-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mosaic-img-card:hover img {
  transform: scale(1.02);
}

.mosaic-img-card.img-left {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   6. SECCIÓN GALERÍA INTERACTIVA (CURATED ARCHIVE)
   -------------------------------------------------------------------------- */
.gallery-section {
  background-color: var(--bg-white);
  padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--border-light);
}

.gallery-header-container {
  max-width: var(--max-width);
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 30px;
}

.gallery-title-wrapper {
  max-width: 620px;
}

.section-title-medium {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.gallery-description-wrapper {
  max-width: 460px;
}

.gallery-description-wrapper p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Barra de Filtros Minimalistas */
.gallery-filters-toolbar {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text-dark);
  padding: 10px 22px;
  border-radius: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chip-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: var(--text-light);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.filter-chip:hover {
  border-color: var(--text-dark);
  transform: translateY(-1px);
}

.filter-chip.active {
  background-color: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--bg-white);
}

.filter-chip.active .chip-dot {
  background-color: var(--accent-gold);
}

/* Grilla de la Galería */
.gallery-interactive-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* Tarjeta Editorial de la Galería */
.gallery-card {
  grid-column: span 3;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-cream);
  cursor: pointer;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-premium);
  transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-card.size-wide {
  grid-column: span 6;
}

.gallery-card.size-medium {
  grid-column: span 4;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-card:hover img {
  transform: scale(1.025);
}

/* Overlay Editorial */
.gallery-card figcaption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0) 40%, rgba(26,26,26,0.5) 70%, rgba(26,26,26,0.92) 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}

.gallery-card:hover figcaption {
  opacity: 1;
}

.card-cat {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.card-id {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-white);
}

/* Botón Cargar Más */
.gallery-load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.gallery-load-more-container.is-hidden {
  display: none;
}

.btn-load-more {
  background: transparent;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  padding: 16px 40px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-load-more:hover {
  background-color: var(--bg-dark);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.plus-icon {
  margin-right: 8px;
}

.gallery-empty-state {
  grid-column: span 12;
  text-align: center;
  padding: 80px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   MOTION STUDIES
   -------------------------------------------------------------------------- */
.video-section {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: clamp(80px, 9vw, 130px) clamp(24px, 5vw, 80px);
}

.video-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
}

.video-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.video-section .section-title-medium {
  color: var(--text-white);
}

.video-intro {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.75;
}

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

.video-card {
  background-color: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.video-card video {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  background-color: #050505;
}

.video-card-copy {
  padding: 24px;
}

.video-card-copy span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-card-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: 10px;
}

.video-card-copy p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   7. QUOTE BANNER SECTION (TWILIGHT FULL-BLEED)
   -------------------------------------------------------------------------- */
.quote-banner-section {
  position: relative;
  height: 60vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark);
  overflow: hidden;
  text-align: center;
  padding: 0 24px;
}

.quote-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
  z-index: 1;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.45);
  z-index: 2;
}

.quote-container {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* --------------------------------------------------------------------------
   8. SECCIÓN CURATED MATERIALS & FINISHES
   -------------------------------------------------------------------------- */
.materials-section {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px);
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-light);
}

.materials-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
}

.materials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.materials-header .section-badge {
  margin-bottom: 10px;
}

.link-download-specs {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 4px;
}

.link-download-specs:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

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

.material-card {
  display: flex;
  flex-direction: column;
}

.material-img-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-premium);
}

.material-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.material-card:hover .material-img-wrapper img {
  transform: scale(1.03);
}

.material-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.material-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. CONVERGENCE SECTION (FORM & FUNCTION OVERLAPPING CARDS)
   -------------------------------------------------------------------------- */
.convergence-section {
  padding: clamp(80px, 12vw, 150px) clamp(24px, 5vw, 80px);
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.convergence-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
}

.convergence-header {
  display: grid;
  grid-template-columns: 0.6fr 0.4fr;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 60px;
}

.convergence-location-box {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-light);
  padding-left: 30px;
  margin-bottom: 10px;
}

.location-lbl {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.location-val {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-dark);
}

.convergence-image-block {
  position: relative;
  width: 100%;
}

.convergence-img-wrapper {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.convergence-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tarjeta Flotante Superpuesta */
.convergence-floating-card {
  position: absolute;
  bottom: -40px;
  right: 60px;
  width: 380px;
  background-color: var(--bg-white);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-overlay);
  z-index: 5;
}

.floating-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.floating-card-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.btn-view-study {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.btn-view-study:hover {
  color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   10. PRECISION AND PASSION SECTION (THE ART OF THE JOIN)
   -------------------------------------------------------------------------- */
.passion-section {
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px);
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-light);
}

.passion-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.52fr 0.48fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: flex-start;
}

.passion-left-col {
  display: flex;
  flex-direction: column;
}

.dovetail-img-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 35px 0 30px;
  box-shadow: var(--shadow-premium);
}

.dovetail-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.join-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.join-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
}

.passion-right-col {
  padding-top: 40px;
}

.passion-right-intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 60px;
}

/* Tarjeta Limpia de Structural Integrity */
.structural-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 45px;
  box-shadow: var(--shadow-premium);
}

.structural-icon {
  margin-bottom: 25px;
  color: var(--accent-gold);
}

.structural-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.structural-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.structural-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 25px;
}

.structural-bullets li {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.structural-bullets li::before {
  content: "▪";
  color: var(--accent-gold);
  margin-right: 12px;
  font-size: 0.6rem;
}

/* --------------------------------------------------------------------------
   11. INQUIRE BLOCK (CTA)
   -------------------------------------------------------------------------- */
.inquire-section {
  padding: clamp(80px, 12vw, 150px) clamp(24px, 5vw, 80px);
  background-color: var(--bg-white);
}

.inquire-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
}

.inquire-header {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.inquire-header .section-title-large {
  margin-bottom: 0;
}

.inquire-architect-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-left: 2px solid var(--accent-gold);
  padding-left: 25px;
}

.inquire-architect-quote span {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-top: 15px;
}

/* Bloque Gris Carbón */
.inquire-block-banner {
  background-color: var(--bg-dark-card);
  padding: 60px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  border-radius: 0;
  box-shadow: var(--shadow-overlay);
}

.inquire-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--text-white);
  line-height: 1.2;
}

.btn-start-dialogue {
  background-color: var(--bg-white);
  color: var(--bg-dark);
  border: 1px solid var(--bg-white);
  padding: 18px 44px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.btn-start-dialogue:hover {
  background-color: transparent;
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   12. PIE DE PÁGINA EDITORIAL
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-dark);
  padding: 100px clamp(24px, 5vw, 80px) 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 60px;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-logo-title span {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-left: 8px;
  letter-spacing: 0.1em;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-icon-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.links-column h4 {
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 25px;
}

.links-column a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.links-column a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. LIGHTBOX INTERACTIVO DE PANTALLA COMPLETA
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 18, 0.98);
  z-index: 500;
  display: none;
  place-items: center;
  padding: 60px clamp(15px, 5vw, 60px);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

/* Botones flotantes de navegación */
.lightbox-btn {
  position: fixed;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-white);
  cursor: pointer;
  z-index: 510;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: scale(1.05);
}

.lightbox-btn-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-btn-prev, .lightbox-btn-next {
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-btn-prev {
  left: 24px;
}

.lightbox-btn-next {
  right: 24px;
}

/* Contenido Principal */
.lightbox-content {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-media-container {
  width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  box-shadow: var(--shadow-overlay);
}

.lightbox-media-container img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

/* Leyenda del Lightbox */
.lightbox-caption-bar {
  width: 100%;
  padding: 18px 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.lightbox-caption-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.lightbox-counter-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   14. COMPATIBILIDAD MÓVIL Y RESPONSIVIDAD GENERAL
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .site-header {
    height: 80px;
    gap: 18px;
  }

  .top-navigation {
    flex: 1;
    justify-content: flex-end;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .top-navigation a {
    white-space: nowrap;
    font-size: 0.72rem;
    letter-spacing: 0.13em;
  }

  .top-navigation a.btn-header-cta {
    padding: 9px 18px;
  }

  .overview-grid, .passion-wrapper, .inquire-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .overview-label-column, .passion-left-col, .passion-right-col {
    max-width: 100%;
  }

  .mosaic-img-card.img-left {
    margin-top: 20px;
  }

  .convergence-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .convergence-location-box {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding-left: 0;
    padding-top: 20px;
    margin-bottom: 0;
  }

  .convergence-img-wrapper {
    aspect-ratio: 4 / 3;
  }

  .convergence-floating-card {
    position: relative;
    width: 100%;
    right: 0;
    bottom: 0;
    margin-top: 24px;
    padding: 30px;
  }

  .materials-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .inquire-block-banner {
    flex-direction: column;
    padding: 40px;
    text-align: center;
  }

  .btn-start-dialogue {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gallery-card {
    grid-column: span 4 !important;
  }
}

@media (max-width: 860px) {
  .hero-main-title {
    font-size: 3.2rem;
  }

  .hero-description {
    font-size: 1.15rem;
  }

  .gallery-header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .gallery-filters-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-chip {
    white-space: nowrap;
  }

  .gallery-card {
    grid-column: span 6 !important;
  }

  .lightbox-btn-prev, .lightbox-btn-next {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
  }

  .lightbox-btn-prev {
    left: 10px;
  }

  .lightbox-btn-next {
    right: 10px;
  }

  .lightbox-modal {
    padding: 60px 60px 40px;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: auto;
    min-height: 82px;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .top-navigation {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-main-title {
    font-size: 2.4rem;
  }

  .hero-logo-box {
    margin-bottom: 24px;
  }

  .btn-discover {
    width: 100%;
  }

  .metrics-container {
    flex-direction: column;
    gap: 24px;
  }

  .overview-image-mosaic {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-img-card.img-left {
    margin-top: 0;
  }

  .gallery-card {
    grid-column: span 12 !important;
    aspect-ratio: 1 / 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   15. ACCESIBILIDAD Y REDUCCIÓN DE MOVIMIENTO
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: -1ms !important;
    animation-duration: -1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
