/* Estilos editoriales dinámicos para SILVEN Propiedades */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600;1,700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-terracotta: #c26b48;
  --color-terracotta-dark: #aa5635;
  --color-olive: #566855;
  --color-charcoal: #242624;
  --color-sand: #f8f5f0;
  --color-sand-light: #eee9e0;
  --color-card: #ffffff;
  
  /* Variables dinámicas configurables desde Admin */
  --custom-title-color: #242624;
  --custom-accent-color: #c26b48;
  --custom-body-color: #242624;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-sand);
  color: var(--custom-body-color, #242624);
  scroll-behavior: smooth;
  transition: font-size 0.2s ease, color 0.2s ease;
}

/* Aplicación de Color Dinámico a Titulares */
h1, h2, h3, h4, .font-serif {
  color: var(--custom-title-color, #242624);
}

/* Modos de Tipografía Global */
body.font-mode-serif h1,
body.font-mode-serif h2,
body.font-mode-serif h3,
body.font-mode-serif .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

body.font-mode-sans h1,
body.font-mode-sans h2,
body.font-mode-sans h3,
body.font-mode-sans .font-serif {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
}

/* Estilos de Titulares (Negrita / Cursiva) */
body.title-italic h1,
body.title-italic h2,
body.title-italic h3 {
  font-style: italic;
}

body.title-normal h1,
body.title-normal h2,
body.title-normal h3 {
  font-weight: 500 !important;
}

body.title-bold h1,
body.title-bold h2,
body.title-bold h3 {
  font-weight: 800 !important;
}

/* Escalas de Tamaño de Fuente (4 Niveles) */
body.text-scale-pequeno {
  font-size: 13px;
}
body.text-scale-pequeno h1 { font-size: 2.25rem !important; }
body.text-scale-pequeno h2 { font-size: 1.75rem !important; }
body.text-scale-pequeno h3 { font-size: 1.25rem !important; }

body.text-scale-estandar {
  font-size: 14.5px;
}

body.text-scale-grande {
  font-size: 16px;
}
body.text-scale-grande h1 { font-size: 3.75rem !important; }
body.text-scale-grande h2 { font-size: 2.5rem !important; }
body.text-scale-grande h3 { font-size: 1.75rem !important; }

body.text-scale-titulos {
  font-size: 16.5px;
}
body.text-scale-titulos h1 { font-size: 4.5rem !important; line-height: 1.1 !important; }
body.text-scale-titulos h2 { font-size: 3rem !important; }
body.text-scale-titulos h3 { font-size: 2rem !important; }

/* Silueta de Arco Arquitectónico */
.arch-container {
  border-top-left-radius: 9999px;
  border-top-right-radius: 9999px;
  overflow: hidden;
}

.property-card-editorial {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 220, 210, 0.8);
}

.property-card-editorial:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(50, 45, 40, 0.08);
  border-color: rgba(194, 107, 72, 0.4);
}

.whatsapp-float-editorial {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 28px;
  right: 28px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 100;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float-editorial:hover {
  transform: scale(1.08) translateY(-2px);
}
