@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap');

/* ==========================================================================
   Variables y Sistema de Diseño (Región de los Lagos, Chile)
   ========================================================================== */
:root {
  /* Paleta Cromática Primaria */
  --blue-llanquihue: #102B4C;
  --blue-llanquihue-rgb: 16, 43, 76;
  --green-alerce: #0E543A;
  --green-alerce-rgb: 14, 84, 58;
  --wood-tejuela: #D96B43;
  --wood-tejuela-rgb: 217, 107, 67;
  
  /* Paleta Estructural */
  --volcanic-basalt: #16181B;
  --volcanic-basalt-rgb: 22, 24, 27;
  --volcanic-dark: #0F1012;
  --snow-ventisquero: #F4F7F9;
  --white: #FFFFFF;
  --gray-medium: #8A929A;
  --gray-light: #E1E5E8;
  
  /* Acentos y Auxiliares */
  --yellow-palafito: #E5A93C;
  --blue-canal: #2B739B;
  
  /* Fuentes */
  --font-headers: 'Outfit', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Efectos y Elevación */
  --card-radius: 20px;
  --button-radius: 30px;
  --glass-bg: rgba(22, 24, 27, 0.75);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  --glow-teal: 0 0 15px rgba(14, 84, 58, 0.4);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reseteo y Estilos Generales
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--volcanic-dark);
  color: var(--snow-ventisquero);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(16, 43, 76, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(14, 84, 58, 0.12) 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.6;
}

.header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 35px;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-symbol {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--blue-llanquihue), var(--green-alerce));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-teal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-symbol svg {
  width: 24px;
  height: 24px;
  fill: var(--snow-ventisquero);
}

.logo-text {
  font-family: var(--font-headers);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
}

.logo-text span {
  color: var(--wood-tejuela);
}

.header-meta {
  text-align: right;
}

.header-meta h1 {
  font-family: var(--font-headers);
  font-size: 22px;
  font-weight: 600;
  color: var(--snow-ventisquero);
}

.header-meta p {
  font-size: 12px;
  color: var(--gray-medium);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 2px;
}

/* ==========================================================================
   Contenedores Principales
   ========================================================================== */
main {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 4%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
}

@media (max-width: 1100px) {
  main {
    grid-template-columns: 1fr;
  }
}

.dashboard-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ==========================================================================
   Estilos de Tarjeta (Glassmorphism)
   ========================================================================== */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 35px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.card-title {
  font-family: var(--font-headers);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 15px;
  color: var(--white);
}

.card-title svg {
  width: 20px;
  height: 20px;
  fill: var(--wood-tejuela);
}

/* ==========================================================================
   Sección: Paleta de Colores
   ========================================================================== */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.color-swatch {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.color-swatch:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.color-display {
  height: 130px;
  width: 100%;
  position: relative;
  transition: var(--transition-smooth);
}

.color-swatch:hover .color-display {
  filter: brightness(1.1);
}

.color-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 6px;
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-swatch:hover .color-copy-btn {
  opacity: 1;
}

.color-copy-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.color-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.color-name {
  font-family: var(--font-headers);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.color-tag {
  font-size: 11px;
  color: var(--gray-medium);
  font-weight: 500;
  margin-bottom: 8px;
}

.color-code {
  font-family: monospace;
  font-size: 13px;
  color: var(--snow-ventisquero);
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.color-desc {
  font-size: 12px;
  color: var(--gray-medium);
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}

/* ==========================================================================
   Sección: Logotipo Interactivo
   ========================================================================== */
.logo-viewer-container {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 30px;
}

@media (max-width: 768px) {
  .logo-viewer-container {
    grid-template-columns: 1fr;
  }
}

.logo-display-card {
  height: 250px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.logo-display-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15));
  pointer-events: none;
}

.logo-display-wrapper {
  transform: scale(1.1);
  transition: var(--transition-smooth);
}

.logo-brand {
  font-family: var(--font-headers);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: 3px;
  display: inline-block;
}

.viewer-controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.control-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-medium);
  margin-bottom: 5px;
}

.bg-button-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.bg-select-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--snow-ventisquero);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 10px;
}

.bg-select-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.bg-select-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--wood-tejuela);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.btn-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Sección: Tipografía Interactiva
   ========================================================================== */
.font-specimen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .font-specimen-grid {
    grid-template-columns: 1fr;
  }
}

.font-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.font-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.font-box-name {
  font-family: var(--font-headers);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.font-box-tag {
  font-size: 11px;
  background: rgba(217, 107, 67, 0.15);
  color: var(--wood-tejuela);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.font-giant-letters {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin: 10px 0;
  transition: var(--transition-smooth);
}

.font-alphabet {
  font-size: 13px;
  color: var(--gray-medium);
  letter-spacing: 0.5px;
  line-height: 1.5;
  word-break: break-all;
}

.font-test-area {
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
  font-size: 14px;
  color: var(--snow-ventisquero);
  background: rgba(0, 0, 0, 0.15);
  outline: none;
  min-height: 70px;
  transition: var(--transition-smooth);
}

.font-test-area:focus {
  border-color: var(--wood-tejuela);
  background: rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Sección: Normativas
   ========================================================================== */
.norms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

@media (max-width: 600px) {
  .norms-grid {
    grid-template-columns: 1fr;
  }
}

.norm-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.norm-card-title {
  font-family: var(--font-headers);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.norm-visual-area {
  height: 140px;
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.clearspace-demo {
  padding: 15px 30px;
  border: 1px dashed rgba(217, 107, 67, 0.3);
  background: rgba(217, 107, 67, 0.04);
  position: relative;
  font-family: var(--font-headers);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.clearspace-arrow {
  position: absolute;
  font-size: 9px;
  color: var(--wood-tejuela);
  font-weight: 700;
  font-family: monospace;
}

.arrow-t { top: 2px; left: 50%; transform: translateX(-50%); }
.arrow-b { bottom: 2px; left: 50%; transform: translateX(-50%); }
.arrow-l { left: 5px; top: 50%; transform: translateY(-50%); }
.arrow-r { right: 5px; top: 50%; transform: translateY(-50%); }

.minsize-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.minsize-logo {
  font-family: var(--font-headers);
  font-size: 14px;
  font-weight: 800;
  padding: 4px 8px;
  background: var(--white);
  color: var(--volcanic-basalt);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.minsize-logo .logo-dot {
  width: 4px;
  height: 4px;
  background: var(--green-alerce);
}

.norm-card p {
  font-size: 12px;
  color: var(--gray-medium);
  line-height: 1.5;
}

/* ==========================================================================
   Celular Simulado (Avanzado UX)
   ========================================================================== */
.phone-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 40px;
  height: fit-content;
}

.phone-mockup {
  width: 360px;
  height: 740px;
  background: #000000;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 0 4px #26292E,
    0 0 0 1px #41454D;
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* Isla Dinámica / Cámara */
.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
}

.phone-notch::before {
  content: '';
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--volcanic-basalt);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.02);
}

/* Barra de Estado */
.phone-status-bar {
  height: 40px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-headers);
  z-index: 40;
  color: var(--snow-ventisquero);
  background: transparent;
}

.status-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}

.status-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Contenido de la Pantalla */
.screen-content {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.app-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.96);
  display: flex;
  flex-direction: column;
}

.app-screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Pantalla 1: Splash Screen */
.splash-bg {
  background-image: linear-gradient(rgba(15, 16, 18, 0.4), var(--volcanic-basalt) 90%), url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
  background-position: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.splash-logo {
  font-family: var(--font-headers);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--white);
  margin-bottom: 5px;
}

.splash-logo span {
  color: var(--wood-tejuela);
}

.splash-tagline {
  font-size: 11px;
  color: var(--gray-medium);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.splash-footer {
  position: absolute;
  bottom: 50px;
  width: 100%;
  padding: 0 40px;
}

.phone-btn {
  width: 100%;
  background: var(--wood-tejuela);
  border: none;
  padding: 14px 20px;
  border-radius: var(--button-radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(217, 107, 67, 0.3);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-btn:hover {
  background: #E57A50;
  transform: translateY(-2px);
}

.phone-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Pantalla 2: Home / Mapa */
.map-section {
  margin-top: 60px;
  padding: 40px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
}

.map-section h2 {
  font-family: var(--font-headers);
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.map-container {
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.map-embed {
  border: none;
  width: 100%;
  height: 450px;
  border-radius: 12px;
}

.map-view {
  height: 100%;
  position: relative;
  background: #E3E8EC;
  /* Vector Map Background representation */
  background-image: 
    radial-gradient(var(--gray-light) 1px, transparent 0),
    radial-gradient(var(--gray-light) 1px, transparent 0);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  overflow: hidden;
}

.map-header {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  background: rgba(22, 24, 27, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-search-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--snow-ventisquero);
}

.map-header-icon {
  width: 18px;
  height: 18px;
  fill: var(--wood-tejuela);
}

/* Pins del Mapa */
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.map-pin:hover {
  transform: translate(-50%, -100%) scale(1.15);
}

.pin-bubble {
  padding: 6px 12px;
  background: var(--volcanic-basalt);
  color: var(--white);
  border-radius: 10px;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
  margin-bottom: 2px;
}

.pin-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.pin-icon-wrap svg {
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  fill: var(--white);
}

.pin-shadow {
  width: 6px;
  height: 2px;
  background: rgba(0,0,0,0.25);
  border-radius: 50%;
  margin-top: 2px;
}

/* Tipos de Pins */
.pin-alerce .pin-icon-wrap { background: var(--green-alerce); }
.pin-alerce .pin-bubble { border-color: var(--green-alerce); }

.pin-chiloe .pin-icon-wrap { background: var(--wood-tejuela); }
.pin-chiloe .pin-bubble { border-color: var(--wood-tejuela); }

.pin-volcan .pin-icon-wrap { background: var(--blue-llanquihue); }
.pin-volcan .pin-bubble { border-color: var(--blue-llanquihue); }

/* Mapa Ficticio Rutas/Lagos en CSS */
.map-lake-shape {
  position: absolute;
  width: 200px;
  height: 150px;
  background: rgba(43, 115, 155, 0.25);
  border-radius: 40% 60% 50% 50% / 40% 40% 60% 60%;
  top: 180px;
  left: 20px;
  border: 2px solid rgba(43, 115, 155, 0.4);
}

.map-lake-shape::after {
  content: 'LAGO LLANQUIHUE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  font-weight: 700;
  color: var(--blue-canal);
  letter-spacing: 1px;
}

.map-route-line {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px dashed rgba(229, 169, 60, 0.4);
  border-radius: 50%;
  top: 100px;
  left: -80px;
  pointer-events: none;
}

/* Pantalla 3: Tour Detalle (Chiloé) */
.details-view {
  background: var(--volcanic-basalt);
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.details-view::-webkit-scrollbar {
  display: none;
}

.details-hero {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.details-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--volcanic-basalt));
}

.details-back-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.details-back-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.details-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.details-tag-wrap {
  display: flex;
  gap: 8px;
}

.details-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.tag-patrimonio {
  background: rgba(217, 107, 67, 0.15);
  color: var(--wood-tejuela);
  border: 1px solid rgba(217, 107, 67, 0.2);
}

.tag-naturaleza {
  background: rgba(14, 84, 58, 0.15);
  color: #38C18E;
  border: 1px solid rgba(14, 84, 58, 0.2);
}

.details-title {
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.details-location {
  font-size: 11px;
  color: var(--gray-medium);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: -5px;
}

.details-location svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.details-desc {
  font-size: 11px;
  color: var(--gray-medium);
  line-height: 1.5;
}

.details-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 5px 0;
}

.gallery-img {
  height: 70px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Barra de Navegación del Celular */
.phone-nav-bar {
  height: 60px;
  background: rgba(15, 16, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 40;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--gray-medium);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
  color: var(--wood-tejuela);
}

.nav-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-item span {
  font-size: 9px;
  font-weight: 600;
  font-family: var(--font-headers);
}

.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--white);
  border-radius: 10px;
  z-index: 50;
  pointer-events: none;
}

/* ==========================================================================
   Notificaciones Toast (Copiar al portapapeles)
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 50px);
  background: rgba(22, 24, 27, 0.9);
  border: 1px solid var(--wood-tejuela);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast-icon {
  width: 16px;
  height: 16px;
  fill: var(--wood-tejuela);
}

/* ==========================================================================
   Adaptabilidad Responsiva Global
   ========================================================================== */
@media (max-width: 480px) {
  .header-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .header-card .header-meta {
    text-align: center;
  }
  .phone-mockup {
    width: 100%;
    max-width: 340px;
    height: 700px;
  }
}
