/* ============================================
   MAMB Documentation — Docusaurus-style theme
   ============================================ */

:root {
  --ifm-color-primary: #1a3a5c;
  --ifm-color-primary-dark: #153050;
  --ifm-color-primary-darker: #122b48;
  --ifm-color-primary-darkest: #0d1f35;
  --ifm-color-primary-light: #1f4468;
  --ifm-color-primary-lighter: #224a70;
  --ifm-color-primary-lightest: #2a5a88;
  --ifm-background: #ffffff;
  --ifm-background-surface: #f6f8fa;
  --ifm-font-color: #1c1e21;
  --ifm-font-color-secondary: #525860;
  --ifm-border-color: #dadde1;
  --ifm-navbar-height: 60px;
  --ifm-sidebar-width: 300px;
  --ifm-toc-width: 280px;
  --ifm-footer-bg: #0d1f35;
  --ifm-footer-color: #c8d6e5;
  --ifm-code-bg: #f6f8fa;
  --ifm-code-border: #e3e6e9;
  --ifm-alert-info-bg: #eef6ff;
  --ifm-alert-info-border: #4393cd;
  --ifm-alert-warning-bg: #fff8e6;
  --ifm-alert-warning-border: #e6a700;
  --ifm-alert-tip-bg: #e6f6e6;
  --ifm-alert-tip-border: #33a852;
  --ifm-alert-caution-bg: #fff3e0;
  --ifm-alert-caution-border: #ff9800;
}

[data-theme="dark"] {
  --ifm-color-primary: #5b9bd5;
  --ifm-color-primary-dark: #4389cc;
  --ifm-color-primary-light: #73adde;
  --ifm-color-primary-lightest: #a0c9ea;
  --ifm-background: #1b1b1d;
  --ifm-background-surface: #242526;
  --ifm-font-color: #e3e3e3;
  --ifm-font-color-secondary: #a8a8a8;
  --ifm-border-color: #3e4042;
  --ifm-footer-bg: #0a1929;
  --ifm-code-bg: #2d2d2d;
  --ifm-code-border: #404040;
  --ifm-alert-info-bg: #1a2e42;
  --ifm-alert-warning-bg: #3a3000;
  --ifm-alert-tip-bg: #1a3a1a;
  --ifm-alert-caution-bg: #3a2800;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ifm-font-color);
  background: var(--ifm-background);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ifm-color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--ifm-navbar-height);
  background: var(--ifm-background);
  border-bottom: 1px solid var(--ifm-border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.navbar__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ifm-font-color);
  letter-spacing: -.02em;
  text-decoration: none;
  margin-right: 1.5rem;
}

.navbar__brand img {
  height: 32px;
  width: 32px;
}

.navbar__items {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.navbar__items--right {
  margin-left: auto;
}

.navbar__link {
  padding: .5rem .75rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ifm-font-color);
  border-radius: 6px;
  transition: background .15s;
}

.navbar__link:hover {
  background: var(--ifm-background-surface);
  text-decoration: none;
}

.navbar__link--active {
  color: var(--ifm-color-primary);
  font-weight: 600;
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--ifm-font-color);
}

.theme-toggle {
  background: none;
  border: 1px solid var(--ifm-border-color);
  border-radius: 6px;
  cursor: pointer;
  padding: .4rem .55rem;
  color: var(--ifm-font-color);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  transition: background .15s;
}

.theme-toggle:hover {
  background: var(--ifm-background-surface);
}

/* ===== LAYOUT ===== */
.main-wrapper {
  display: flex;
  margin-top: var(--ifm-navbar-height);
  min-height: calc(100vh - var(--ifm-navbar-height));
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  top: var(--ifm-navbar-height);
  left: 0;
  bottom: 0;
  width: var(--ifm-sidebar-width);
  background: var(--ifm-background);
  border-right: 1px solid var(--ifm-border-color);
  overflow-y: auto;
  padding: 1rem 0;
  z-index: 50;
  transition: transform .25s ease;
}

.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--ifm-border-color); border-radius: 4px; }

.sidebar__menu { list-style: none; padding: 0 .75rem; }

.sidebar__category {
  margin-bottom: .25rem;
}

.sidebar__category-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .45rem .75rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ifm-font-color-secondary);
  cursor: pointer;
  border-radius: 6px;
  user-select: none;
  transition: background .15s;
}

.sidebar__category-label:hover {
  background: var(--ifm-background-surface);
}

.sidebar__category-label .arrow {
  font-size: .65rem;
  transition: transform .2s;
}

.sidebar__category.collapsed .arrow {
  transform: rotate(-90deg);
}

.sidebar__category.collapsed .sidebar__submenu {
  display: none;
}

.sidebar__submenu {
  list-style: none;
  padding: 0 0 0 .5rem;
  margin: .15rem 0 .5rem 0;
}

.sidebar__link {
  display: block;
  padding: .4rem .75rem;
  font-size: .88rem;
  color: var(--ifm-font-color);
  border-radius: 6px;
  transition: background .15s;
  text-decoration: none;
}

.sidebar__link:hover {
  background: var(--ifm-background-surface);
  text-decoration: none;
}

.sidebar__link--active {
  background: rgba(26, 58, 92, .08);
  color: var(--ifm-color-primary);
  font-weight: 600;
}

[data-theme="dark"] .sidebar__link--active {
  background: rgba(91, 155, 213, .12);
}

/* ===== DOC CONTENT ===== */
.doc-wrapper {
  margin-left: var(--ifm-sidebar-width);
  flex: 1;
  display: flex;
  min-width: 0;
}

.doc-content {
  flex: 1;
  min-width: 0;
  max-width: 800px;
  padding: 2rem 2.5rem 4rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: .82rem;
  color: var(--ifm-font-color-secondary);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--ifm-font-color-secondary);
}

.breadcrumb a:hover {
  color: var(--ifm-color-primary);
}

.breadcrumb .sep {
  margin: 0 .4rem;
  opacity: .5;
}

/* ===== MARKDOWN CONTENT ===== */
.markdown h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.markdown h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--ifm-border-color);
}

.markdown h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.8rem;
  margin-bottom: .5rem;
}

.markdown h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.4rem;
  margin-bottom: .4rem;
}

.markdown p {
  margin-bottom: 1rem;
}

.markdown ul, .markdown ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.markdown li {
  margin-bottom: .35rem;
}

.markdown li > ul, .markdown li > ol {
  margin-top: .35rem;
  margin-bottom: 0;
}

.markdown strong { font-weight: 600; }

.markdown hr {
  border: none;
  border-top: 1px solid var(--ifm-border-color);
  margin: 2rem 0;
}

.markdown img {
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  margin: 1rem 0;
}

.markdown code {
  background: var(--ifm-code-bg);
  border: 1px solid var(--ifm-code-border);
  border-radius: 4px;
  padding: .15rem .35rem;
  font-size: .88em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.markdown pre {
  background: var(--ifm-code-bg);
  border: 1px solid var(--ifm-code-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  font-size: .85rem;
  line-height: 1.5;
}

.markdown pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

/* Code block language label */
.markdown pre[data-lang]::before {
  content: attr(data-lang);
  display: block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ifm-font-color-secondary);
  margin-bottom: .5rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--ifm-code-border);
}

/* ===== TABLES ===== */
.markdown table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  font-size: .9rem;
}

.markdown th {
  background: var(--ifm-background-surface);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .04em;
  text-align: left;
}

.markdown th, .markdown td {
  padding: .65rem 1rem;
  border: 1px solid var(--ifm-border-color);
}

.markdown tr:nth-child(even) {
  background: var(--ifm-background-surface);
}

[data-theme="dark"] .markdown tr:nth-child(even) {
  background: rgba(255,255,255,.03);
}

/* ===== ADMONITIONS ===== */
.admonition {
  border-radius: 8px;
  border-left: 4px solid;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.admonition__title {
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.admonition--info {
  background: var(--ifm-alert-info-bg);
  border-color: var(--ifm-alert-info-border);
}
.admonition--info .admonition__title { color: var(--ifm-alert-info-border); }

.admonition--tip {
  background: var(--ifm-alert-tip-bg);
  border-color: var(--ifm-alert-tip-border);
}
.admonition--tip .admonition__title { color: var(--ifm-alert-tip-border); }

.admonition--caution, .admonition--warning {
  background: var(--ifm-alert-caution-bg);
  border-color: var(--ifm-alert-caution-border);
}
.admonition--caution .admonition__title,
.admonition--warning .admonition__title { color: var(--ifm-alert-caution-border); }

/* ===== TABLE OF CONTENTS (right sidebar) ===== */
.toc-wrapper {
  width: var(--ifm-toc-width);
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--ifm-navbar-height) + 1rem);
  align-self: flex-start;
  max-height: calc(100vh - var(--ifm-navbar-height) - 2rem);
  overflow-y: auto;
  padding: 1rem .75rem 1rem 0;
}

.toc-wrapper::-webkit-scrollbar { width: 4px; }
.toc-wrapper::-webkit-scrollbar-thumb { background: var(--ifm-border-color); border-radius: 4px; }

.toc {
  border-left: 3px solid var(--ifm-color-primary-lightest, #2a5a88);
  padding-left: 1rem;
  font-size: .85rem;
}

.toc__title {
  font-weight: 800;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ifm-color-primary);
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--ifm-color-primary-lightest, #2a5a88);
}

.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc__list .toc__list {
  padding-left: .9rem;
  margin-top: .1rem;
}

.toc__list .toc__list .toc__link {
  font-size: .8rem;
  color: var(--ifm-font-color-secondary);
}

.toc__list .toc__list .toc__list .toc__link {
  font-size: .76rem;
}

.toc__link {
  display: block;
  padding: .25rem 0;
  color: var(--ifm-font-color-secondary);
  text-decoration: none;
  transition: all .15s;
  line-height: 1.4;
}

.toc__link:hover {
  color: var(--ifm-color-primary);
  text-decoration: none;
  padding-left: 4px;
}

.toc__link--active {
  color: var(--ifm-color-primary) !important;
  font-weight: 700;
  border-left: 3px solid var(--ifm-color-primary);
  padding-left: 8px;
  margin-left: -1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ifm-footer-bg);
  color: var(--ifm-footer-color);
  padding: 3rem 2rem 1.5rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .06em;
  color: #fff;
  margin-bottom: .75rem;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links a {
  color: var(--ifm-footer-color);
  font-size: .88rem;
  display: block;
  padding: .2rem 0;
  transition: color .15s;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer__copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: rgba(200,214,229,.6);
  grid-column: 1 / -1;
}

/* ===== PAGE NAV (prev/next) ===== */
.pagination-nav {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ifm-border-color);
}

.pagination-nav__link {
  flex: 1;
  border: 1px solid var(--ifm-border-color);
  border-radius: 8px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}

.pagination-nav__link:hover {
  border-color: var(--ifm-color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  text-decoration: none;
}

.pagination-nav__sublabel {
  font-size: .75rem;
  color: var(--ifm-font-color-secondary);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}

.pagination-nav__label {
  font-size: .95rem;
  color: var(--ifm-color-primary);
  font-weight: 600;
  margin-top: .25rem;
}

.pagination-nav__link--next {
  text-align: right;
}

/* ===== SIDEBAR OVERLAY (mobile) ===== */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 49;
}

.sidebar-backdrop.active {
  display: block;
}

/* Navbar more button (mobile only) */
.navbar__more {
  display: none;
  background: none;
  border: 1px solid var(--ifm-border-color);
  border-radius: 6px;
  cursor: pointer;
  padding: .35rem .55rem;
  color: var(--ifm-font-color);
  font-size: 1.2rem;
  line-height: 1;
  margin-left: .25rem;
}

.navbar__more:hover {
  background: var(--ifm-background-surface);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 996px) {
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .navbar__toggle {
    display: flex;
    margin-right: .75rem;
  }

  .doc-wrapper {
    margin-left: 0;
  }

  .toc-wrapper {
    display: none;
  }

  .doc-content {
    padding: 1.5rem 1.25rem 3rem;
  }

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

  .navbar__items--left .navbar__link {
    display: none;
  }

  .navbar__link--desktop {
    display: none;
  }

  .navbar__more {
    display: flex;
  }
}

/* Dropdown */
.navbar__dropdown {
  display: none;
  position: fixed;
  top: var(--ifm-navbar-height);
  right: 0;
  left: 0;
  background: var(--ifm-background);
  border-bottom: 2px solid var(--ifm-color-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  z-index: 99;
  flex-direction: column;
  padding: .5rem 0;
}

.navbar__dropdown.open {
  display: flex;
}

.navbar__dropdown-link {
  padding: .85rem 1.5rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ifm-font-color);
  text-decoration: none;
  border-bottom: 1px solid var(--ifm-border-color);
  transition: background .15s;
}

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

.navbar__dropdown-link:hover {
  background: var(--ifm-background-surface);
  text-decoration: none;
}

@media (max-width: 600px) {
  .markdown h1 { font-size: 1.6rem; }
  .markdown h2 { font-size: 1.3rem; }

  .pagination-nav {
    flex-direction: column;
  }

  .doc-content {
    padding: 1rem 1rem 2.5rem;
  }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ifm-color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: opacity .2s, transform .2s;
  z-index: 90;
}

.back-to-top.visible {
  display: flex;
}

/* ===== HIDDEN PAGES ===== */
.doc-page {
  display: none;
}

.doc-page.active {
  display: block;
}

/* External link icon */
.ext-icon {
  font-size: .7em;
  margin-left: 3px;
  opacity: .6;
}

/* ============================================
   LANDING OVERLAY — scoped under .landing-overlay
   ============================================ */

.landing-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow-y: scroll;
  overflow-x: hidden;
  background: #ffffff;
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  color: #3a3a3a;
  line-height: 1.6;
}

/* Close bar */
.landing-close-bar {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #1a3a5c;
  padding: .5rem 1.5rem;
  display: flex;
  align-items: center;
}

.landing-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: background .15s;
  font-family: inherit;
}

.landing-close-btn:hover {
  background: rgba(255,255,255,.15);
}

/* Landing navbar */
.l-navbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: sticky;
  top: 40px;
  z-index: 290;
}

.l-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  gap: 1rem;
}

.l-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.l-nav-logo-img {
  height: 28px;
  width: auto;
}

.l-nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.l-nav-link {
  text-decoration: none;
  color: #3a3a3a;
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}

.l-nav-link:hover { color: #a86247; }

.l-nav-buttons { display: flex; gap: .5rem; }

.l-nav-btn {
  background: #a86247;
  color: #fff;
  padding: 9px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s;
  white-space: nowrap;
}

.l-nav-btn:hover { background: #2c2c2c; }

.l-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  gap: 6px;
}

.l-hamburger span {
  width: 25px;
  height: 3px;
  background: #2c2c2c;
  border-radius: 2px;
  display: block;
  transition: all .25s;
}

/* Sections */
.landing-overlay section {
  padding: 80px 0;
}

.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.l-section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #2c2c2c;
}

.l-section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: #a86247;
  margin-bottom: 3rem;
}

/* Hero */
.l-hero {
  background: linear-gradient(135deg, #f5f3f0 0%, #fff 100%);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.l-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.l-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.l-hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: #a86247;
  margin-bottom: 1.25rem;
}

.l-hero-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #6a6a6a;
  margin-bottom: 2rem;
}

/* Buttons */
.l-btn {
  display: inline-block;
  padding: 13px 30px;
  border: none;
  border-radius: 4px;
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
  font-family: inherit;
}

.l-btn-primary {
  background: #2c2c2c;
  color: #fff;
}

.l-btn-primary:hover {
  background: #a86247;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,.15);
  text-decoration: none;
}

.l-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}

.l-btn-secondary:hover {
  background: rgba(255,255,255,.15);
  text-decoration: none;
}

.l-btn-large {
  padding: 16px 44px;
  font-size: 1.05rem;
}

/* Artistas */
.l-artistas { background: #fff; }

.l-artistas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}

.l-artista-card {
  background: #f9f7f5;
  padding: 1.75rem;
  border-radius: 4px;
  border-left: 4px solid #d4a574;
  transition: box-shadow .25s, transform .25s;
}

.l-artista-card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
  transform: translateY(-4px);
}

.l-artista-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  display: block;
}

.l-artista-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  color: #2c2c2c;
  margin-bottom: .4rem;
}

.l-artista-periodo {
  font-size: .88rem;
  color: #d4a574;
  font-weight: 600;
  margin-bottom: .75rem;
}

.l-artista-label {
  font-size: .82rem;
  color: #d4a574;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .75rem;
}

.l-artista-desc {
  font-size: .93rem;
  line-height: 1.7;
  color: #6a6a6a;
}

/* Coleccion */
.l-coleccion { background: #faf9f8; }

.l-coleccion-intro {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #6a6a6a;
}

.l-obras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.l-obra-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: box-shadow .25s, transform .25s;
}

.l-obra-card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  transform: translateY(-5px);
}

.l-obra-img {
  width: 100%;
  height: 280px;
  background: #e8e6e3;
  overflow: hidden;
}

.l-obra-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.l-obra-card h3 {
  padding: 1.25rem 1.25rem .4rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: #2c2c2c;
}

.l-obra-artista {
  padding: 0 1.25rem;
  font-weight: 600;
  color: #a86247;
  font-size: .93rem;
  margin-bottom: .25rem;
}

.l-obra-info {
  padding: 0 1.25rem;
  font-size: .83rem;
  color: #6a6a6a;
  margin-bottom: .5rem;
}

.l-obra-desc {
  padding: 0 1.25rem 1.25rem;
  font-size: .88rem;
  line-height: 1.65;
  color: #6a6a6a;
}

/* Visita */
.l-visita { background: #fff; }

.l-servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.l-servicio-card {
  background: #f9f7f5;
  padding: 2rem;
  border-radius: 4px;
  border-top: 4px solid #d4a574;
  transition: box-shadow .25s, transform .25s;
}

.l-servicio-card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
  transform: translateY(-4px);
}

.l-servicio-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  color: #2c2c2c;
  margin-bottom: .75rem;
}

.l-servicio-card p { color: #6a6a6a; font-size: .93rem; }

.l-horarios-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}

.l-horarios-list li {
  padding: .75rem 0;
  border-bottom: 1px solid #e8e6e3;
  font-size: .92rem;
  color: #6a6a6a;
}

.l-horarios-list li:last-child { border-bottom: none; }

.l-servicio-nota {
  font-size: .83rem;
  color: #d4a574;
  font-style: italic;
}

/* Sobre */
.l-sobre { background: linear-gradient(135deg, #f5f3f0 0%, #faf9f8 100%); }

.l-sobre-content { max-width: 900px; margin: 0 auto; }

.l-sobre-text h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: #2c2c2c;
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.l-sobre-text h3:first-child { margin-top: 0; }
.l-sobre-text p { font-size: .98rem; line-height: 1.8; color: #6a6a6a; }

/* App section */
.l-app-section {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}

.l-app-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: .75rem;
}

.l-app-section p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; }

/* Landing footer */
.l-footer {
  background: #2c2c2c;
  color: #fff;
  padding: 50px 0 20px;
}

.l-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.l-footer-section h4, .l-footer-section h3 {
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.l-footer-links { list-style: none; padding: 0; }

.l-footer-links li { margin-bottom: .6rem; }

.l-footer-links a, .l-footer-section address p {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s;
}

.l-footer-links a:hover { color: #d4a574; }

.l-footer-section address { font-style: normal; color: rgba(255,255,255,.75); font-size: .9rem; }

.l-footer-section address p { margin-bottom: .5rem; color: rgba(255,255,255,.75); }

.l-social-links { list-style: none; padding: 0; }

.l-social-links li { margin-bottom: .6rem; }

.l-social-links a {
  color: #d4a574;
  text-decoration: none;
  font-size: .9rem;
  transition: opacity .2s;
}

.l-social-links a:hover { opacity: .75; }

.l-footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  font-size: .85rem;
}

/* Responsive landing */
@media (max-width: 768px) {
  .l-nav-menu { display: none; }
  .l-hamburger { display: flex; }

  .l-nav-menu.l-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    gap: 1rem;
    z-index: 291;
  }

  .l-hero-title { font-size: 2rem; }
  .l-section-title { font-size: 2rem; }
  .l-artistas-grid, .l-obras-grid, .l-servicios-grid { grid-template-columns: 1fr; }
  .l-footer-grid { grid-template-columns: 1fr; }

  .landing-overlay section { padding: 55px 0; }
}
