:root {
      --bg: #0d0d0c;
      --surface: #151513;
      --surface-soft: #20201d;
      --paper: #ffffff;
      --ink: #f7f4ee;
      --ink-dark: #171717;
      --muted: #b6b0a4;
      --muted-dark: #5f5d58;
      --line: rgba(197, 166, 93, 0.28);
      --line-dark: #d8d3ca;
      --gold: #c5a65d;
      --gold-dark: #8d6b2a;
      --whatsapp: #1f7a4f;
      --whatsapp-dark: #155b39;
      --max: 1180px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      background: var(--bg);
      color: var(--ink);
      font-family: Inter, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.55;
    }

    body.modal-open {
      overflow: hidden;
    }

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

    button,
    a {
      font: inherit;
    }

    button {
      border: 0;
      cursor: pointer;
    }

    h1,
    h2,
    h3 {
      font-family: Georgia, "Times New Roman", serif;
      font-weight: 400;
    }

    .site-header {
      border-bottom: 1px solid var(--line);
      background: rgba(13, 13, 12, 0.88);
      backdrop-filter: blur(18px);
      position: sticky;
      top: 0;
      z-index: 20;
    }

    .nav,
    .hero,
    .gallery,
    .private-consult,
    .trust-bar,
    .site-footer {
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
    }

    .nav {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--ink);
      text-decoration: none;
    }

    .brand img {
      width: 48px;
      height: 48px;
      border: 1px solid var(--line);
      border-radius: 8px;
      object-fit: cover;
    }

    .brand-name {
      display: block;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.32rem;
      line-height: 1;
    }

    .brand-subtitle,
    .eyebrow,
    .stat-label,
    .card-kicker,
    .footer-label {
      text-transform: uppercase;
    }

    .brand-subtitle {
      display: block;
      color: var(--gold);
      font-size: 0.72rem;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-link,
    .nav-cta {
      border-radius: 8px;
      color: var(--ink);
      padding: 10px 14px;
      text-decoration: none;
      white-space: nowrap;
    }

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

    .nav-cta {
      border: 1px solid var(--gold);
      color: var(--gold);
    }

    .hero {
      min-height: 68vh;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
      align-items: center;
      gap: 54px;
      padding: 56px 0;
    }

    .eyebrow {
      margin-bottom: 16px;
      color: var(--gold);
      font-size: 0.78rem;
    }

    h1 {
      max-width: 780px;
      font-size: clamp(2.65rem, 5vw, 5.4rem);
      line-height: 0.98;
    }

    .hero-copy {
      max-width: 620px;
      margin-top: 22px;
      color: var(--muted);
      font-size: 1.02rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }

    .hero-panel {
      border: 1px solid var(--line);
      border-radius: 8px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
      padding: 22px;
    }

    .hero-panel img {
      width: 100%;
      aspect-ratio: 4 / 4.9;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 18px;
    }

    .hero-panel p {
      color: var(--muted);
      font-size: 0.95rem;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1px;
      margin-top: 30px;
      border: 1px solid var(--line);
      border-radius: 8px;
      overflow: hidden;
      background: var(--line);
    }

    .stat {
      min-width: 0;
      background: var(--surface);
      padding: 16px;
    }

    .stat strong {
      display: block;
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.7rem;
      font-weight: 400;
      line-height: 1;
    }

    .stat-label {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-size: 0.68rem;
    }

    .btn {
      display: inline-flex;
      min-height: 48px;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      padding: 12px 18px;
      font-weight: 700;
      text-decoration: none;
      transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-1px);
    }

    .btn-primary {
      background: var(--gold);
      color: #15120b;
    }

    .btn-primary:hover {
      background: #d3b66f;
    }

    .btn-secondary {
      border: 1px solid var(--line);
      color: var(--ink);
      background: rgba(255, 255, 255, 0.04);
    }

    .btn-whatsapp {
      width: 100%;
      background: var(--whatsapp);
      color: #fff;
    }

    .btn-whatsapp:hover {
      background: var(--whatsapp-dark);
    }

    .trust-bar {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1px;
      margin-bottom: 36px;
      border: 1px solid var(--line);
      border-radius: 8px;
      overflow: hidden;
      background: var(--line);
    }

    .trust-item {
      background: var(--surface);
      padding: 18px;
      color: var(--muted);
      font-size: 0.92rem;
    }

    .trust-item strong {
      display: block;
      margin-bottom: 4px;
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.12rem;
      font-weight: 400;
    }

    .gallery {
      padding: 40px 0 74px;
    }

    .gallery-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
      padding: 26px 0 28px;
      border-top: 1px solid var(--line);
    }

    .gallery-heading h2 {
      font-size: clamp(1.9rem, 3vw, 3rem);
      line-height: 1;
    }

    .gallery-heading p {
      max-width: 460px;
      color: var(--muted);
    }

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

    .card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--paper);
      color: var(--ink-dark);
      transition: border-color 0.2s ease, transform 0.2s ease;
    }

    .card:hover {
      border-color: var(--gold);
      transform: translateY(-3px);
    }

    .card-image-button {
      width: 100%;
      aspect-ratio: 4 / 4.7;
      overflow: hidden;
      position: relative;
      background: #191919;
    }

    .card-image-button img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.32s ease;
    }

    .card:hover img {
      transform: scale(1.035);
    }

    .image-label {
      position: absolute;
      right: 12px;
      bottom: 12px;
      border-radius: 8px;
      background: rgba(0, 0, 0, 0.62);
      color: #fff;
      padding: 7px 10px;
      font-size: 0.78rem;
    }

    .card-content {
      padding: 18px;
    }

    .card-kicker {
      display: block;
      margin-bottom: 8px;
      color: var(--gold-dark);
      font-size: 0.68rem;
      font-weight: 700;
    }

    .card-content h3 {
      margin-bottom: 10px;
      font-size: 1.35rem;
      line-height: 1.12;
    }

    .card-content p {
      min-height: 142px;
      margin-bottom: 18px;
      color: var(--muted-dark);
      font-size: 0.92rem;
    }

    .private-consult {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
      gap: 32px;
      align-items: center;
      margin-bottom: 72px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--surface);
      padding: 30px;
    }

    .private-consult h2 {
      margin-bottom: 14px;
      font-size: clamp(1.9rem, 3vw, 3.3rem);
      line-height: 1;
    }

    .private-consult p {
      max-width: 700px;
      color: var(--muted);
    }

    .consult-card {
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.04);
    }

    .consult-card p {
      margin-bottom: 16px;
      font-size: 0.95rem;
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
      background: rgba(10, 10, 10, 0.9);
    }

    .modal.active {
      display: flex;
    }

    .modal-box {
      width: min(980px, 100%);
      max-height: 92vh;
      display: grid;
      grid-template-rows: auto 1fr auto;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 8px;
      background: #0b0b0b;
    }

    .modal-topbar,
    .modal-caption {
      color: #fff;
      padding: 14px 16px;
    }

    .modal-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .modal-title {
      overflow: hidden;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.08rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .close-btn,
    .modal-nav {
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
    }

    .close-btn {
      width: 38px;
      height: 38px;
      font-size: 1.2rem;
    }

    .modal-stage {
      min-height: 0;
      display: grid;
      place-items: center;
      position: relative;
    }

    .modal-stage img {
      width: 100%;
      max-height: 76vh;
      object-fit: contain;
    }

    .modal-nav {
      position: absolute;
      top: 50%;
      width: 42px;
      height: 42px;
      transform: translateY(-50%);
      font-size: 1.5rem;
    }

    .prev-btn {
      left: 14px;
    }

    .next-btn {
      right: 14px;
    }

    .modal-caption {
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      color: rgba(255, 255, 255, 0.78);
      font-size: 0.9rem;
    }

    .site-footer {
      padding: 34px 0 44px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
    }

    .footer-label {
      display: block;
      margin-bottom: 8px;
      color: var(--gold);
      font-size: 0.7rem;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: flex-end;
    }

    .footer-links a,
    .footer-links button {
      color: var(--muted);
      background: transparent;
      text-decoration: none;
    }

    .cookie-banner {
      position: fixed;
      left: 18px;
      right: 18px;
      bottom: 18px;
      z-index: 120;
      display: none;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 18px;
      align-items: center;
      width: min(980px, calc(100% - 36px));
      margin: 0 auto;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #10100f;
      color: var(--ink);
      padding: 18px;
    }

    .cookie-banner.active {
      display: grid;
    }

    .cookie-banner p {
      color: var(--muted);
      font-size: 0.92rem;
    }

    .cookie-actions {
      display: flex;
      gap: 10px;
    }

    .cookie-actions .btn {
      min-height: 42px;
      white-space: nowrap;
    }

    .btn-ghost {
      border: 1px solid var(--line);
      background: transparent;
      color: var(--ink);
    }

    .privacy-modal {
      position: fixed;
      inset: 0;
      z-index: 130;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
      background: rgba(0, 0, 0, 0.78);
    }

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

    .privacy-box {
      width: min(720px, 100%);
      max-height: 86vh;
      overflow: auto;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--paper);
      color: var(--ink-dark);
      padding: 24px;
    }

    .privacy-box h2 {
      margin-bottom: 12px;
      font-size: 2rem;
      line-height: 1;
    }

    .privacy-box p {
      margin-bottom: 12px;
      color: var(--muted-dark);
    }

    .privacy-box ul {
      margin: 0 0 18px 18px;
      color: var(--muted-dark);
    }

    .privacy-box li + li {
      margin-top: 8px;
    }

    @media (max-width: 1100px) {
      .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (max-width: 860px) {
      .hero,
      .private-consult,
      .site-footer {
        grid-template-columns: 1fr;
      }

      .hero {
        min-height: 0;
        padding: 44px 0;
      }

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

      .footer-links {
        justify-content: flex-start;
      }
    }

    @media (max-width: 640px) {
      .nav,
      .hero,
      .gallery,
      .private-consult,
      .trust-bar,
      .site-footer {
        width: min(var(--max), calc(100% - 24px));
      }

      .nav {
        min-height: 64px;
        gap: 10px;
      }

      .nav-actions {
        gap: 6px;
      }

      .nav-link {
        display: none;
      }

      .brand img {
        width: 38px;
        height: 38px;
      }

      .brand-name {
        font-size: 1.08rem;
      }

      .brand-subtitle {
        display: none;
      }

      h1 {
        font-size: 2.24rem;
        line-height: 1.02;
      }

      .hero {
        padding: 28px 0 26px;
      }

      .eyebrow {
        margin-bottom: 12px;
        font-size: 0.72rem;
      }

      .hero-copy {
        margin-top: 16px;
        font-size: 0.96rem;
      }

      .hero-actions {
        margin-top: 22px;
      }

      .hero-actions .btn {
        width: 100%;
      }

      .hero-panel {
        display: none;
      }

      .stats {
        margin-top: 20px;
      }

      .stats,
      .trust-bar,
      .grid {
        grid-template-columns: 1fr;
      }

      .stat {
        padding: 14px;
      }

      .stat strong {
        font-size: 1.42rem;
      }

      .trust-bar {
        margin-bottom: 20px;
      }

      .gallery-heading,
      .cookie-banner.active {
        display: block;
      }

      .gallery-heading p {
        margin-top: 10px;
      }

      .card-content p {
        min-height: 0;
      }

      .private-consult {
        padding: 22px;
      }

      .cookie-actions {
        margin-top: 14px;
        flex-direction: column;
      }
    }

/* SEO pages and editorial sections */
.seo-section,
.product-hero,
.content-section,
.related-section,
.author-hero,
.author-content,
.faq-section,
.breadcrumb-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.seo-section,
.content-section,
.related-section,
.author-content,
.faq-section {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.seo-section h2,
.content-section h2,
.related-section h2,
.author-content h2,
.faq-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.seo-section p,
.content-section p,
.author-content p,
.faq-section p,
.product-intro {
  max-width: 820px;
  color: var(--muted);
}

.seo-section p + p,
.content-section p + p,
.author-content p + p {
  margin-top: 16px;
}

.link-list,
.related-grid,
.author-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.link-card,
.related-card,
.author-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 18px;
}

.link-card a,
.related-card a,
.author-card a,
.inline-link,
.breadcrumb a,
.piece-title-link,
.card-detail-link {
  color: var(--gold);
  text-decoration: none;
}

.piece-title-link {
  color: inherit;
}

.piece-title-link:hover,
.card-detail-link:hover,
.inline-link:hover,
.breadcrumb a:hover,
.link-card a:hover,
.related-card a:hover,
.author-card a:hover {
  color: #d3b66f;
}

.card-detail-link {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 700;
}

.breadcrumb-wrap {
  padding: 24px 0 0;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.92rem;
}

.product-hero,
.author-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: 44px;
  padding: 42px 0 56px;
}

.product-hero h1,
.author-hero h1 {
  margin-bottom: 18px;
}

.product-media,
.author-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  padding: 18px;
}

.main-product-image img,
.product-thumb img,
.author-panel img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.main-product-image img {
  aspect-ratio: 4 / 4.7;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.product-thumb img {
  aspect-ratio: 1;
}

.placeholder-image {
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.text-section {
  margin-top: 26px;
}

.text-section h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
}

.author-panel p {
  margin-top: 14px;
  color: var(--muted);
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

@media (max-width: 860px) {
  .product-hero,
  .author-hero,
  .link-list,
  .related-grid,
  .author-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .seo-section,
  .product-hero,
  .content-section,
  .related-section,
  .author-hero,
  .author-content,
  .faq-section,
  .breadcrumb-wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .product-hero,
  .author-hero {
    padding: 28px 0 38px;
  }

  .seo-section,
  .content-section,
  .related-section,
  .author-content,
  .faq-section {
    padding: 34px 0;
  }

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



/* Audit refinements: mobile readability and keyboard focus */
.breadcrumb {
  overflow-wrap: anywhere;
}

.btn,
.nav-link,
.nav-cta,
.footer-links a,
.footer-links button,
.piece-title-link,
.card-detail-link {
  text-align: center;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .nav-link {
    display: none;
  }

  .nav-cta {
    padding: 9px 12px;
  }
}
