/* Base general de la demo premium */
:root {
  --bg: #0c0d10;
  --panel: #14161a;
  --panel-soft: #191c21;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3f0ea;
  --muted: #b5b1ab;
  --gold: #d0b07a;
  --silver: #cdd3dc;
  --success: #7fd1b9;
  --danger: #ff8b8b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(208, 176, 122, 0.12), transparent 35%),
    #090a0d;
  color: var(--text);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  padding: 10px 16px;
  text-align: center;
  background: #111319;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

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

.header-inner,
.header-actions,
.desktop-nav,
.brand,
.hero-actions,
.trust-strip,
.assurance-grid,
.section-heading,
.filters-panel,
.price-line,
.badge-panel,
.reviews-grid,
.contact-list,
.footer-grid,
.cart-header,
.cart-row,
.cart-summary div,
.thumb-row,
.payment-options,
.summary-totals div {
  display: flex;
}

.header-inner,
.cart-header {
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  min-height: 78px;
  gap: 16px;
}

.brand {
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(208, 176, 122, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
}

.brand-copy {
  display: grid;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0;
}

.brand-copy strong {
  font-size: 1.45rem;
}

.brand-copy small {
  color: var(--muted);
}

.desktop-nav,
.header-actions,
.hero-actions,
.trust-strip,
.assurance-grid,
.filters-panel,
.badge-panel,
.reviews-grid,
.contact-list,
.footer-grid,
.payment-options,
.summary-totals {
  gap: 16px;
}

.desktop-nav a,
.mobile-menu a,
.site-footer a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.desktop-nav a:hover,
.mobile-menu a:hover,
.site-footer a:hover {
  color: var(--text);
}

.icon-button,
.cart-button,
.close-button,
.button,
.thumb-button {
  border: 0;
  cursor: pointer;
}

.icon-button,
.cart-button,
.close-button,
.thumb-button {
  background: transparent;
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 10px;
}

.icon-button span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid rgba(208, 176, 122, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.cart-count {
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 16px;
}

.mobile-menu.open {
  display: flex;
}

section {
  padding: 88px 0;
}

.hero {
  padding-top: 56px;
}

.hero-grid,
.secure-grid,
.contact-grid,
.checkout-grid,
.product-modal-layout {
  display: grid;
  gap: 28px;
}

.hero-grid,
.secure-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  margin: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.hero-text,
.section-heading p,
.feature-card p,
.review-card p,
.steps-grid p,
.faq-list p,
.contact-section p,
.site-footer p,
.info-box p,
.demo-notice {
  color: var(--muted);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, #d0b07a, #f0dbc0);
  color: #111;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-image-card,
.feature-card,
.review-card,
.cart-drawer,
.modal-card,
.filters-panel,
.assurance-band article,
.badge-panel,
.contact-form,
.order-summary,
.product-card,
.info-box,
.steps-grid article,
.faq-list details {
  background: rgba(20, 22, 26, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-image-card {
  overflow: hidden;
}

.hero-image-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.hero-note {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.trust-strip,
.badge-panel {
  flex-wrap: wrap;
}

.trust-strip span,
.badge-panel span,
.product-tag,
.status-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
}

.assurance-band {
  padding: 0 0 88px;
}

.assurance-grid {
  align-items: stretch;
}

.assurance-band article,
.feature-card,
.review-card,
.steps-grid article,
.contact-form,
.order-summary {
  padding: 24px;
}

.section-heading {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
}

.filters-panel {
  align-items: end;
  padding: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filters-panel label,
.contact-form label,
.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.filters-panel select,
.filters-panel input,
.contact-form input,
.contact-form textarea,
.checkout-form input,
.checkout-form select,
.newsletter-form input {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #101218;
  color: var(--text);
  padding: 0 14px;
}

.contact-form textarea {
  padding: 14px;
  resize: vertical;
}

.product-grid,
.feature-grid,
.steps-grid,
.faq-list {
  display: grid;
  gap: 20px;
}

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

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
}

.product-card-content {
  padding: 18px;
}

.product-card-header,
.product-meta,
.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-card h3 {
  font-size: 1.5rem;
}

.product-card p,
.product-meta,
.spec-list,
.cart-item-meta,
.checkout-item {
  color: var(--muted);
}

.product-price strong,
.price-line strong {
  color: var(--text);
  font-size: 1.25rem;
}

.product-price s,
.price-line span {
  color: #8e8a85;
}

.product-actions,
.cart-item-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.product-actions .button {
  flex: 1;
}

.why-section,
.founder-section,
.editorial-section,
.reviews-section,
.contact-section {
  background: rgba(255, 255, 255, 0.015);
}

.founder-grid,
.founder-points {
  display: grid;
  gap: 24px;
}

.founder-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.founder-collage-card,
.founder-points article,
.mini-founder {
  background: rgba(20, 22, 26, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.founder-collage-card {
  overflow: hidden;
}

.founder-collage-card img,
.mini-founder img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.founder-collage-card img {
  aspect-ratio: 4 / 3;
}

.founder-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.founder-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.founder-points article {
  padding: 18px;
}

.founder-points strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
}

.founder-points article p {
  margin: 0;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 20px;
}

.editorial-card {
  overflow: hidden;
  background: rgba(20, 22, 26, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.editorial-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.editorial-card.large {
  grid-row: span 2;
}

.editorial-card.wide {
  grid-column: 2 / 4;
}

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

.secure-list {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.badge-panel {
  padding: 28px;
  align-content: start;
}

.personal-trust-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-founder {
  grid-column: 1 / -1;
  overflow: hidden;
}

.mini-founder img {
  aspect-ratio: 16 / 10;
}

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

.steps-grid article span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(208, 176, 122, 0.12);
  color: var(--gold);
  font-weight: 700;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-list {
  flex-direction: column;
  padding-left: 18px;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  align-items: start;
  justify-content: space-between;
}

.footer-grid > div {
  display: grid;
  gap: 10px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 60;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-body {
  overflow: auto;
  padding: 20px 0;
  display: grid;
  gap: 16px;
}

.cart-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img,
.checkout-item img {
  width: 72px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-actions button {
  min-width: 34px;
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text);
}

.cart-total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.full-width {
  width: 100%;
}

.overlay,
.modal {
  position: fixed;
  inset: 0;
}

.overlay {
  background: rgba(0, 0, 0, 0.55);
  z-index: 50;
}

.modal {
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: auto;
}

.hidden {
  display: none;
}

.modal-card {
  width: min(1040px, 100%);
  padding: 24px;
  position: relative;
}

.close-button {
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
}

.product-modal-layout {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.modal-main-image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.thumb-row {
  margin-top: 12px;
}

.thumb-button {
  width: 74px;
  height: 86px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid transparent;
}

.thumb-button.active {
  border-color: var(--gold);
}

.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-list {
  padding-left: 18px;
  line-height: 1.8;
}

.info-box {
  padding: 18px;
  margin: 20px 0;
}

.checkout-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

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

.full-span {
  grid-column: 1 / -1;
}

.payment-options {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin: 18px 0;
  display: grid;
  gap: 10px;
}

.payment-options label {
  display: flex;
  gap: 10px;
  color: var(--text);
}

.checkout-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.success-card {
  width: min(520px, 100%);
  text-align: center;
}

.form-note {
  min-height: 20px;
  color: var(--success);
}

.form-note.error {
  color: var(--danger);
}

.empty-state {
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1080px) {
  .product-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .secure-grid,
  .founder-grid,
  .contact-grid,
  .checkout-grid,
  .product-modal-layout {
    grid-template-columns: 1fr;
  }

  .founder-points {
    grid-template-columns: 1fr;
  }

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

  .editorial-card.large,
  .editorial-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  section {
    padding: 72px 0;
  }

  .desktop-nav {
    display: none;
  }

  .icon-button {
    display: block;
  }

  .header-inner {
    min-height: 72px;
  }

  .cart-button span:nth-child(1) {
    display: none;
  }

  .filters-panel,
  .reviews-grid,
  .steps-grid,
  .product-grid,
  .feature-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .filters-panel,
  .reviews-grid,
  .steps-grid,
  .footer-grid {
    display: grid;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 2.9rem;
  }
}
