@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Outfit:wght@200;300;400;500;600&display=swap');

:root {
  --bg: #F9F7F4;           /* Warm linen background */
  --bg-card: #FFFFFF;
  --bg-overlay: rgba(249, 247, 244, 0.95); /* Light glassmorphism overlay */
  --text: #1C1E1B;          /* Soft charcoal, almost black */
  --text-muted: #6B706A;    /* Soft gray-green */
  --primary: #C15C3D;       /* Terracota/Copper */
  --primary-hover: #A6472A;
  --secondary: #4A5844;     /* Sage/Olive green */
  --border: rgba(74, 88, 68, 0.1);
  --border-active: #1C1E1B;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Outfit', sans-serif;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

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

/* Utility Layouts */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(249, 247, 244, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(249, 247, 244, 0.95);
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition);
}

header.scrolled .nav-container {
  height: 60px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-wrapper {
  width: 70px;
  height: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: multiply;
  transition: var(--transition);
}

header.scrolled .logo-wrapper {
  width: 52px;
  height: 52px;
}

.logo-wrapper img {
  width: 170%;
  height: 170%;
  object-fit: cover;
  object-position: center 25%;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-text span {
  font-size: 0.65rem;
  font-family: var(--font-sans);
  display: block;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 1px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

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

.nav-link.active {
  color: var(--text);
  font-weight: 500;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  background-color: var(--text);
  margin: 6px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 12rem;
  padding-bottom: 6rem;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero h2 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-style: italic;
}

.hero p {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-image-frame {
  position: relative;
  border: 1px solid var(--border);
  padding: 0;
  background-color: transparent;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
  transition: var(--transition);
  width: 100%;
  height: auto;
  max-height: 520px;
  overflow: hidden;
  display: block;
}

.hero-image-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: contain;
}

.badge {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.badge:hover {
  border-color: var(--secondary);
  color: var(--text);
}

.badge.artesania {
  border-color: rgba(193, 92, 61, 0.3);
  color: var(--primary);
  background-color: rgba(193, 92, 61, 0.02);
}

.badge.artesania:hover {
  background-color: rgba(193, 92, 61, 0.05);
  border-color: var(--primary);
}

/* Gallery Section */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 4rem;
  list-style: none;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--text);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

.filter-btn.active {
  color: var(--text);
  font-weight: 500;
}

.filter-btn.active::after {
  width: 100%;
}

/* Masonry/Grid Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  transition: var(--transition);
}

.gallery-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.gallery-item.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  border: none;
  padding: 0;
}

.gallery-item-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: #FAF9F6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.8rem;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item img[src*="prendedor_hoja_verde"] {
  object-fit: cover;
  padding: 0;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item-info {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.gallery-item-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.gallery-item-details {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Lightbox / Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-overlay);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 1100px;
  width: 90%;
  max-height: 90vh;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.lightbox-close:hover {
  background-color: var(--text);
  color: white;
}

.lightbox-media {
  background-color: #F0EDE9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 600px;
  max-height: 80vh;
}

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

.lightbox-info-panel {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  max-height: 80vh;
  border-left: 1px solid var(--border);
}

.lightbox-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.lightbox-specs {
  margin-bottom: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.spec-row {
  display: flex;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.spec-row:last-child {
  margin-bottom: 0;
}

.spec-label {
  width: 110px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.spec-value {
  flex: 1;
  color: var(--text);
}

.lightbox-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}

/* Navigation buttons inside Lightbox */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background-color: var(--text);
  color: white;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

/* Talleres / Alas Creativas Section */
.talleres-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.talleres-intro h3 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.talleres-intro p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  font-weight: 300;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background-color: var(--secondary);
  color: white;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--secondary);
}

.btn-instagram:hover {
  background-color: transparent;
  color: var(--secondary);
}

.talleres-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3rem;
  box-shadow: var(--shadow);
  position: relative;
}

.talleres-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
}

.talleres-card h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.talleres-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.talleres-card li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
}

.talleres-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.2rem;
  top: -2px;
}

/* Biography & Editorial Section */
.bio-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.bio-image-container {
  border: 1px solid var(--border);
  padding: 0.8rem;
  background-color: var(--bg-card);
}

.bio-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.bio-content h3 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 2rem;
  font-style: italic;
}

.bio-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2rem;
}

.bio-text p {
  margin-bottom: 1.5rem;
}

.bio-studies h4 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.studies-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  display: flex;
  gap: 2rem;
}

.timeline-year {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  min-width: 60px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Critical Texts Tabbed Box */
.texts-section {
  background-color: rgba(74, 88, 68, 0.02);
  padding: 8rem 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 4rem;
  font-style: italic;
}

.text-tabs-container {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 4rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 450px;
}

.text-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.tab-link {
  background: none;
  border: none;
  padding: 2rem;
  text-align: left;
  font-family: var(--font-sans);
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.tab-link:last-child {
  border-bottom: none;
}

.tab-link.active {
  background-color: var(--bg);
  font-weight: 600;
}

.tab-link-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.tab-link-author {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

.text-content-panel {
  padding: 4rem;
  overflow-y: auto;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-panel {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.text-panel.active {
  display: block;
}

.text-panel blockquote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  color: var(--text);
}

.text-panel blockquote::before {
  content: '“';
  font-size: 4rem;
  color: rgba(193, 92, 61, 0.15);
  position: absolute;
  top: -2.5rem;
  left: -1.5rem;
  font-family: serif;
}

.text-author-signature {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 500;
  text-align: right;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* Contact / Enlaces Section */
/* Contact Section & Form */
.contact-section {
  text-align: left;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 2rem;
  font-style: italic;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}

.contact-detail-item i {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

.download-link {
  font-weight: 500;
  text-decoration: underline;
  transition: var(--transition);
  color: var(--secondary);
}

.download-link:hover {
  color: var(--primary);
}

.contact-links-inline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: var(--transition);
}

.social-icon i {
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.social-icon span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text);
}

.social-icon:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.social-icon:hover i {
  color: var(--primary);
}

.contact-form-col {
  width: 100%;
}

.base-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.base-contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.base-contact-form label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 500;
}

.base-contact-form input,
.base-contact-form textarea {
  padding: 0.8rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: 4px;
  outline: none;
  transition: var(--transition);
  color: var(--text);
}

.base-contact-form input:focus,
.base-contact-form textarea:focus {
  border-color: var(--primary);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(193, 92, 61, 0.05);
}

.base-contact-form .btn-submit {
  padding: 1rem;
  background: var(--secondary);
  color: #FFF;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.base-contact-form .btn-submit:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.form-status-alert {
  display: none;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
}

.form-status-alert.success {
  display: block;
  background: rgba(74, 88, 68, 0.08);
  color: var(--secondary);
  border: 1px solid rgba(74, 88, 68, 0.2);
}

.form-status-alert.error {
  display: block;
  background: rgba(193, 92, 61, 0.08);
  color: var(--primary);
  border: 1px solid rgba(193, 92, 61, 0.2);
}

/* Bio details split grid styling */
.bio-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .contact-grid,
  .bio-details-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-links-inline {
    grid-template-columns: 1fr;
  }
}

/* Footer styling */
footer {
  padding: 4rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  background-color: var(--bg-card);
}

footer a {
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid transparent;
}

footer a:hover {
  border-bottom-color: var(--text);
}

/* Inspiración & Proceso Section */
.inspiracion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.inspiracion-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.inspiracion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.inspiracion-img-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #EBE8E3;
  position: relative;
}

.inspiracion-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  background-color: rgba(74, 88, 68, 0.02);
}

.inspiracion-placeholder i {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.inspiracion-placeholder span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
}

.inspiracion-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.inspiracion-card:hover img {
  transform: scale(1.05);
}

.inspiracion-card-info {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.inspiracion-card-info h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.inspiracion-card-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* Bitácora / Reflexiones Section */
.bitacora-section {
  background-color: rgba(74, 88, 68, 0.02);
}

.bitacora-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.bitacora-article {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.bitacora-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.article-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.bitacora-article h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.bitacora-article p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.read-more-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--text);
  align-self: flex-start;
  padding-bottom: 0.2rem;
  transition: var(--transition);
}

.read-more-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  gap: 0.8rem;
}

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .text-tabs-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .text-tabs {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }
  .tab-link {
    padding: 1.5rem;
    flex-shrink: 0;
  }
  .text-content-panel {
    padding: 3rem;
  }
}

@media (max-width: 900px) {
  section {
    padding: 6rem 0;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-image-frame {
    max-width: 500px;
    margin: 0 auto;
    height: 320px;
  }
  
  .hero h2 {
    font-size: 2.8rem;
  }
  
  .lightbox-content {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  
  .lightbox-media {
    height: 350px;
    max-height: 40vh;
  }
  
  .lightbox-info-panel {
    padding: 2rem;
    border-left: none;
    border-top: 1px solid var(--border);
    max-height: 55vh;
  }
  
  .talleres-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .bio-image-container {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  
  header.scrolled .nav-menu {
    top: 60px;
    height: calc(100vh - 60px);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .menu-toggle {
    display: block;
  }
  
  /* Mobile menu active state */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .badge {
    width: 100%;
    justify-content: center;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .talleres-card {
    padding: 2rem 1.5rem;
  }
}
/* Styles for the Visual Editor / CMS Mode */

/* Floating edit button */
.editor-toggle-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.editor-toggle-btn:hover {
  transform: scale(1.1) rotate(15deg);
  background-color: #a8472a;
}

.editor-toggle-btn i {
  width: 24px;
  height: 24px;
  stroke-width: 2px;
}

/* Control Bar */
.editor-control-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #2c3e2f; /* Dark forest green for contrast */
  color: #f7f5f0;
  padding: 1rem 2rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: var(--font-sans);
}

body.editor-active {
  padding-top: 60px; /* Offset for control bar */
}

body.editor-active .editor-control-bar {
  display: flex;
}

.editor-bar-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}

.editor-bar-title i {
  color: #f39c12;
}

.editor-actions {
  display: flex;
  gap: 1rem;
}

.btn-editor {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-editor-save {
  background-color: #27ae60;
  color: #fff;
}

.btn-editor-save:hover {
  background-color: #219653;
}

.btn-editor-cancel {
  background-color: #c0392b;
  color: #fff;
}

.btn-editor-cancel:hover {
  background-color: #962d22;
}

.btn-editor-help {
  background-color: #2980b9;
  color: #fff;
}

/* Editable outlines */
body.editor-active [contenteditable="true"] {
  outline: 1px dashed #27ae60 !important;
  background-color: rgba(39, 174, 96, 0.03) !important;
  cursor: text;
}

body.editor-active [contenteditable="true"]:hover {
  outline: 1px solid #27ae60 !important;
  background-color: rgba(39, 174, 96, 0.08) !important;
}

/* Card buttons */
.gallery-item-edit-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  gap: 0.5rem;
  z-index: 10;
}

body.editor-active .gallery-item-edit-controls {
  display: flex;
}

.btn-item-control {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  color: #fff;
  transition: transform 0.2s;
}

.btn-item-control:hover {
  transform: scale(1.1);
}

.btn-item-edit {
  background-color: #f39c12;
}

.btn-item-delete {
  background-color: #c0392b;
}

/* Add Item Placeholder Card */
.add-item-card {
  display: none;
  border: 2px dashed var(--border);
  aspect-ratio: 3 / 4;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: rgba(74, 88, 68, 0.01);
  transition: all 0.3s;
}

body.editor-active .add-item-card {
  display: flex;
}

.add-item-card:hover {
  background-color: rgba(74, 88, 68, 0.05);
  border-color: var(--primary);
}

.add-item-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
}

.add-item-inner i {
  width: 48px;
  height: 48px;
  stroke-width: 1px;
}

.add-item-inner span {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
}

/* Editor Modal Popups */
.editor-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  padding: 1.5rem;
  font-family: var(--font-sans);
}

.editor-modal.active {
  display: flex;
}

.editor-modal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  animation: fadeIn 0.3s;
}

.editor-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.editor-modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0;
}

.btn-close-modal {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}

.editor-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.editor-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.editor-form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.editor-form-group input,
.editor-form-group select,
.editor-form-group textarea {
  padding: 0.8rem;
  border: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--text);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.editor-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.editor-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
