[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  background: var(--color-bg);
  color: var(--color-text);
  font: 400 18px/1.6 var(--font-body);
}
svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
input,
select,
textarea {
  min-width: 0;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  width: 100%;
  min-height: 48px;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #9b493d;
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
}
h1 {
  font-size: var(--fs-h1);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}
p {
  max-width: 64ch;
}
::selection {
  background: var(--color-primary);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}
.container {
  width: min(100%, var(--container));
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.container-catalogo {
  max-width: calc(1400px + 2 * var(--gutter));
  padding-inline: var(--gutter);
  margin-inline: auto;
}
main > section {
  padding-block: var(--section-pad-y);
}
.muted,
.micro {
  color: var(--color-text-muted);
}
.micro {
  font-size: 0.85rem;
}
.eyebrow,
.hero-eyebrow {
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 22px;
  background: var(--color-cta);
  color: var(--color-cta-text);
  border-radius: var(--radius);
  font-weight: 600;
  line-height: 1.2;
  transition:
    background-color 0.2s var(--ease),
    transform 0.15s var(--ease);
}
.btn:hover {
  background: #274960;
}
.btn:active {
  transform: scale(0.97);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--color-text);
}
.btn-outline:hover {
  background: var(--color-bg-alt);
}
.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius);
}
.icon-btn:hover {
  background: var(--color-bg-alt);
}
.text-link,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 600;
}
.text-link {
  border-bottom: 1px solid var(--line);
}
.text-button {
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-header {
  position: relative;
  z-index: 15;
  background: #fff;
}
.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  position: relative;
  z-index: 100;
  overflow: visible;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 66px;
}
.brand::before {
  content: "";
  width: 10px;
  height: 52px;
  margin-right: 15px;
  background: var(--color-primary);
  transform: skew(-18deg);
}
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.brand-name small {
  display: block;
  font-size: 0.99rem;
  color: var(--color-text);
  letter-spacing: -0.035em;
  margin-bottom: 4px;
}
.brand-name strong {
  display: block;
  font-size: clamp(2.2rem, 2.6vw, 2.5rem);
  color: var(--color-primary);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 0.98rem;
  font-weight: 600;
}
.main-nav > a,
.category-menu > button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  white-space: nowrap;
}
.main-nav a:hover,
.category-menu > button:hover {
  color: var(--color-primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.menu-toggle {
  display: none;
}
.cart-count {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px;
}
.category-menu {
  position: relative;
}
.category-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 270px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  z-index: 130;
}
.category-dropdown a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px;
}
.category-dropdown a:hover,
.category-dropdown [aria-current] {
  background: var(--color-bg-alt);
}
.category-dropdown small {
  color: var(--color-text-muted);
}
.hero {
  position: relative;
  min-height: min(670px, calc(100svh - 112px));
  display: flex;
  align-items: center;
  padding-block: 60px;
  background: #dbe6ec;
  isolation: isolate;
}
.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #f4f8fa 0%,
    #f4f8faf5 24%,
    #f4f8fa95 43%,
    #f4f8fa00 68%
  );
}
.hero-copy {
  max-width: 570px;
}
.hero-eyebrow {
  color: var(--color-primary);
}
.hero-brand {
  margin-bottom: 22px;
}
.hero-brand .brand-name small {
  display: none;
}
.hero-brand .brand-name strong {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}
.hero-lead {
  margin-top: 24px;
  font-size: 1.17rem;
  max-width: 33ch;
  line-height: 1.5;
}
.hero-ctas {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.hero-catalog {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.hero-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  padding: 4px 8px;
  font-size: 0.72rem;
  color: var(--color-text);
  background: #ffffffeb;
}
.categories {
  position: relative;
  background: var(--color-bg);
  padding-top: 0;
  padding-bottom: 20px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  top: -28px;
}
.category-tile {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.category-photo {
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
}
.category-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}
.category-copy {
  padding: 20px 24px 20px 0;
}
.category-copy h2 {
  font-size: 1.9rem;
  margin-bottom: 5px;
}
.category-copy span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}
.category-tile:hover img {
  transform: scale(1.04);
}
.category-tile:hover .category-copy h2 {
  color: var(--color-primary);
}
.featured {
  padding-top: 20px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}
.section-head .muted {
  margin-top: 12px;
}
.section-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.rail-arrows {
  display: flex;
  gap: 4px;
}
.rail-arrows .icon-btn {
  border: 1px solid var(--line);
}
#railPrev svg {
  rotate: 180deg;
}
.rail-vp {
  overflow-x: auto;
  overflow-y: clip;
  scroll-snap-type: x proximity;
  scroll-padding-inline-start: max(
    var(--gutter),
    calc((100% - var(--container)) / 2 + var(--gutter))
  );
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) transparent;
}
.rail-vp.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.rail-vp.dragging * {
  pointer-events: none;
}
.rail-track {
  display: flex;
  gap: 24px;
  padding: 0 max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))) 24px;
}
.rail-track .prod-card {
  flex: 0 0 332px;
  scroll-snap-align: start;
}
.prod-card {
  position: relative;
  aspect-ratio: 0.8;
  min-width: 0;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  overflow: hidden;
}
.prod-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  position: absolute;
  inset: 0;
  height: 100%;
  background: var(--color-bg-alt);
}
.prod-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.prod-card:hover .prod-photo img {
  transform: scale(1.035);
}
.photo-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #ffffffed;
  border-radius: 50%;
}
.prod-info {
  position: absolute;
  inset: auto 0 0;
  padding: 76px 20px 20px;
  background: linear-gradient(transparent, #122631d9 40%, #122631f5);
  color: #fff;
  pointer-events: none;
}
.prod-info button {
  pointer-events: auto;
}
.prod-category {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  color: #dce6ec;
  margin-bottom: 8px;
}
.prod-name {
  font: 700 1.2rem/1.2 var(--font-display);
  letter-spacing: -0.025em;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-name button {
  font: inherit;
  text-align: left;
  padding: 0;
  min-height: 44px;
}
.prod-meta {
  font-size: 0.83rem;
  color: #dce6ec;
  margin-top: 6px;
}
.prod-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.prod-add {
  flex-grow: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 46px;
  padding: 10px;
  font-size: 0.9rem;
  gap: 8px;
}
.prod-actions .icon-btn {
  width: 46px;
  height: 46px;
  border: 1px solid #ffffff66;
  color: #fff;
}
.prod-actions .icon-btn:hover {
  background: #ffffff26;
}
.origin {
  background: var(--color-bg-alt);
  margin-top: 48px;
}
.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.origin-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-top: -104px;
  overflow: hidden;
}
.origin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.origin-photo span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  padding: 4px 8px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}
.origin-copy > p {
  margin-block: 24px;
}
.consult-steps {
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.consult-steps ul {
  padding-left: 22px;
  margin: 14px 0 0;
}
.consult-steps li {
  margin-top: 4px;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  min-height: 56px;
  cursor: pointer;
  font-weight: 600;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-primary);
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  padding-bottom: 20px;
  font-size: 1rem;
}
.contact {
  background: var(--color-bg);
  position: relative;
  z-index: 1;
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
}
.contact-inner::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 48px;
  background: var(--color-bg);
  bottom: calc(-1 * var(--section-pad-y) - 24px);
  left: var(--gutter);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  justify-self: end;
}
.contact-number {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 600;
}
.site-footer {
  background: var(--color-text);
  color: #f8fafb;
  padding-top: var(--section-pad-y);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
}
.footer-brand::before {
  background: #b2c7d6;
}
.footer-brand .brand-name small,
.footer-brand .brand-name strong {
  color: #f8fafb;
}
.footer-inner > div > p {
  font-size: 0.9rem;
  margin-top: 12px;
  color: #c3ced5;
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  font-size: 0.9rem;
  padding-top: 20px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
}
.footer-links svg {
  width: 16px;
  height: 16px;
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #ffffff24;
  padding-top: 20px;
  font-size: 0.75rem;
  color: #c3ced5;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-bottom p {
  margin: 0 !important;
  font-size: inherit !important;
  align-self: center;
}
.m2 .header-inner {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 12px;
}
.m2 .header-inner > .brand {
  margin-inline: auto;
}
.m2 .header-actions {
  position: absolute;
  right: var(--gutter);
  top: 34px;
}
.m2 .main-nav {
  width: 100%;
  justify-content: center;
  order: 2;
  margin: 0;
}
.m2 .hero {
  min-height: 530px;
  background: var(--color-text);
  color: #fff;
  padding-block: 54px 78px;
}
.m2 .hero::before {
  display: none;
}
.m2 .hero-visual {
  inset: 40px var(--gutter) 40px 55%;
  z-index: -1;
}
.m2 .hero-visual img {
  object-position: 70% center;
}
.m2 .hero-copy {
  max-width: 48%;
}
.m2 .hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
}
.m2 .hero-brand .brand-name strong,
.m2 .hero-eyebrow {
  color: #c0d3e0;
}
.m2 .hero-ctas .btn {
  background: #dbe7ee;
  color: var(--color-text);
}
.m2 .hero-lead {
  color: #d3dce2;
}
.m2 .hero-caption {
  right: calc(var(--gutter) + 12px);
  bottom: 52px;
}
.m2 .category-grid {
  top: -24px;
  gap: 0;
}
.m2 .category-tile {
  grid-template-columns: 88px minmax(0, 1fr);
  border-radius: 0;
}
.m2 .category-copy h2 {
  font-size: 1.6rem;
}
.m2 .category-copy span {
  font-size: 0.8rem;
}
.m2 .rail-vp {
  overflow: visible;
  cursor: default;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.m2 .rail-track {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.m2 .rail-arrows {
  display: none;
}
.m2 .prod-info {
  background: linear-gradient(transparent, #122631d9 40%, #122631f5);
}
.m2 .origin-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.m2 .origin-photo {
  order: 2;
  margin-top: 0;
  align-self: center;
  aspect-ratio: 1;
  border-radius: 50% 50% 0 0;
}
.m2 .origin-copy {
  order: 1;
}
.m2 .origin {
  margin-top: 24px;
}
.m2 .contact-inner {
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}
.m2 .contact-action {
  justify-self: center;
  align-items: center;
}
.m2 .contact-inner::after {
  left: calc(50% - 40px);
}
.m2 .site-footer {
  background: #dce4e9;
  color: var(--color-text);
}
.m2 .footer-brand .brand-name small,
.m2 .footer-brand .brand-name strong {
  color: var(--color-text);
}
.m2 .footer-brand::before {
  background: var(--color-primary);
}
.m2 .footer-inner p,
.m2 .footer-bottom {
  color: var(--color-text-muted);
}
.m2 .footer-bottom {
  border-color: var(--line);
}
.catalog-heading {
  background: var(--color-bg-alt);
  padding-block: 32px 44px;
}
.catalog-heading h1,
.admin-section h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}
.catalog-heading h1 + p {
  margin-top: 14px;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 18px;
  min-height: 44px;
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.catalog-section {
  padding-top: 32px;
}
.catalog-search {
  max-width: 620px;
  margin-bottom: 28px;
}
.search-field {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.search-field input {
  border: 0;
}
.search-field .icon-btn {
  width: 52px;
  height: 52px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
}
.catalog-filters {
  align-self: start;
}
.catalog-filters select {
  margin-bottom: 22px;
}
.catalog-filters .micro {
  margin-top: 24px;
}
.result-count {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.catalogo-grid .prod-info {
  padding: 64px 16px 16px;
}
.catalogo-grid .prod-name {
  font-size: 1.05rem;
}
.catalog-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 32px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  min-height: 110px;
}
.filter-toggle {
  display: none;
}
.empty-state {
  text-align: center;
  padding: 40px 20px;
}
.empty-state .btn {
  margin-top: 20px;
}
.load-error {
  color: #824f41;
}
.load-error button {
  text-decoration: underline;
  min-height: 44px;
}
.m2 .catalog-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.m2 .catalog-filters > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0 20px;
}
.m2 .catalog-filters label {
  grid-row: 1;
}
.m2 .catalog-filters select,
.m2 .catalog-filters button {
  grid-row: 2;
  margin: 0;
}
.m2 .catalog-filters .micro {
  grid-column: 1/-1;
}
.m2 .catalogo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: #10212bb3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.overlay.open {
  opacity: 1;
}
.product-dialog {
  width: min(1080px, 100%);
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  background: var(--color-bg);
  border-radius: var(--radius);
  position: relative;
  padding: 36px;
}
.dialog-close {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  background: #fff;
}
.quick-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.quick-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.quick-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quick-copy {
  padding-top: 20px;
}
.quick-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.quick-copy > p {
  margin-block: 18px;
}
.quick-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.stepper button {
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
}
.stepper output {
  min-width: 30px;
  text-align: center;
}
.quick-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.related {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.related h3 {
  font-size: 1rem;
}
.related-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.related-items button {
  text-decoration: underline;
  text-align: left;
  min-height: 44px;
  padding: 8px;
  background: var(--color-bg-alt);
  font-size: 0.85rem;
}
.cart-overlay {
  padding: 0;
  justify-content: flex-end;
}
.cart-drawer {
  width: min(480px, 100%);
  height: 100dvh;
  overflow-y: auto;
  padding: 24px;
  background: var(--color-bg);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-rev);
}
.open .cart-drawer {
  transform: none;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.drawer-head h2 {
  font-size: 2rem;
}
.cart-drawer > .muted {
  font-size: 0.95rem;
}
.cart-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.cart-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}
.cart-row h3 {
  font-size: 1rem;
}
.cart-row .stepper {
  margin-top: 12px;
}
.cart-row .text-button {
  font-size: 0.85rem;
  margin-left: 14px;
}
.drawer-bottom {
  padding-top: 24px;
}
.drawer-bottom p {
  margin-bottom: 18px;
  font-size: 0.85rem;
}
.drawer-bottom .btn {
  width: 100%;
  font-size: 0.95rem;
}
body.no-scroll .floats {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.wsp-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid #25d36670;
  border-radius: 50%;
  animation: pulse-ring 2.6s var(--ease) infinite;
}
@keyframes pulse-ring {
  0%,
  100% {
    scale: 1;
    opacity: 0.4;
  }
  60% {
    scale: 1.15;
    opacity: 0;
  }
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-text);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-top: 8px;
  font-size: 0.95rem;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.toast.hiding {
  opacity: 0;
  transform: translateY(10px);
}
.admin-section {
  min-height: 70svh;
}
.admin-section .section-head {
  align-items: flex-start;
}
.admin-section .section-head p {
  margin-top: 16px;
}
.admin-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.admin-row img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.admin-row textarea {
  min-height: 115px;
}
.admin-row .micro {
  margin-top: 8px;
}
.admin-pagination {
  display: flex;
  gap: 16px;
  padding-block: 24px;
}
@media (min-width: 1500px) {
  .catalogo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1180px) {
  .header-inner {
    gap: 20px;
  }
  .main-nav {
    gap: 16px;
    font-size: 0.85rem;
  }
  .header-search {
    display: none;
  }
  .brand-name strong {
    font-size: 2.2rem;
  }
  .catalog-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
  }
  .catalogo-grid,
  .m2 .catalogo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .prod-info {
    padding: 64px 16px 16px;
  }
  .category-tile {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
  }
  .category-copy span {
    font-size: 0.8rem;
  }
  .section-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
}
@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 20px;
    padding-block: 18px;
  }
  .main-nav {
    order: 2;
    justify-content: center;
    width: 100%;
    margin: 0;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-inner > .brand {
    margin-right: auto;
  }
  .hero {
    min-height: 580px;
  }
  .hero-copy {
    max-width: 55%;
  }
  .hero::before {
    background: linear-gradient(90deg, #f4f8faf9 10%, #f4f8fae8 37%, #f4f8fa00 85%);
  }
  .hero h1 {
    font-size: clamp(2.7rem, 5.8vw, 3.8rem);
  }
  .origin-grid,
  .m2 .origin-grid {
    gap: 40px;
  }
  .catalogo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-links {
    flex-direction: column;
    gap: 4px;
  }
  .m2 .rail-track {
    gap: 16px;
  }
  .m2 .rail-track .prod-info {
    padding: 60px 12px 12px;
  }
  .m2 .prod-name {
    font-size: 1.05rem;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .header-inner,
  .m2 .header-inner {
    min-height: 86px;
    flex-wrap: nowrap;
    padding-block: 12px;
    gap: 12px;
  }
  .brand::before {
    width: 7px;
    height: 41px;
    margin-right: 11px;
  }
  .brand-name strong {
    font-size: clamp(1.35rem, 5vw, 2rem);
  }
  .brand-name small {
    font-size: 0.8rem;
  }
  .brand {
    min-height: 54px;
  }
  .header-actions,
  .m2 .header-actions {
    position: static;
    margin: 0;
    gap: 0;
  }
  .m2 .header-inner > .brand {
    margin: 0 auto 0 0;
  }
  .main-nav,
  .m2 .main-nav {
    order: 0;
    margin: 0;
    width: 74%;
    justify-content: flex-start;
  }
  .main-nav > a,
  .category-menu > button {
    min-height: 48px;
    font-size: 1rem;
  }
  .category-dropdown {
    position: static;
    box-shadow: none;
    width: 100%;
    border: 0;
    padding: 0;
    font-size: 0.9rem;
  }
  .category-dropdown a {
    padding-inline: 8px;
  }
  .hero {
    min-height: 650px;
    padding-block: 38px 260px;
    align-items: flex-start;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-visual {
    inset: auto 0 0;
    height: 330px;
  }
  .hero-visual img {
    object-position: 65% 60%;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      #eef4f7 0%,
      #eef4f7 41%,
      #eef4f7dd 49%,
      #eef4f700 75%
    );
  }
  .hero h1,
  .m2 .hero h1 {
    max-width: 15ch;
    font-size: clamp(2.35rem, 7.8vw, 3.8rem);
  }
  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 0.67rem;
  }
  .hero-brand {
    margin-bottom: 14px;
  }
  .hero-brand .brand-name strong {
    font-size: 1rem;
  }
  .hero-lead {
    font-size: 1.02rem;
    margin-top: 18px;
    max-width: 40ch;
  }
  .hero-ctas {
    margin-top: 22px;
    gap: 10px 18px;
  }
  .hero-ctas .btn {
    min-height: 48px;
    padding: 12px 18px;
  }
  .hero-catalog {
    font-size: 0.9rem;
  }
  .hero-caption {
    bottom: 42px;
  }
  .categories {
    padding-bottom: 8px;
  }
  .category-grid {
    gap: 12px;
    top: -18px;
  }
  .category-tile,
  .m2 .category-tile {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .category-photo {
    aspect-ratio: 1.6;
  }
  .category-photo img {
    object-position: center 58%;
  }
  .category-copy {
    padding: 14px;
  }
  .category-copy h2,
  .m2 .category-copy h2 {
    font-size: 1.4rem;
    margin: 0;
  }
  .category-copy span {
    font-size: 0.8rem;
    line-height: 1.25;
    margin-top: 8px;
  }
  .category-copy svg {
    width: 18px;
    height: 18px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }
  .section-actions {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .rail-track {
    gap: 16px;
  }
  .rail-track .prod-card {
    flex-basis: 256px;
  }
  .origin {
    margin-top: 60px;
  }
  .origin-grid,
  .m2 .origin-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .origin-photo {
    margin-top: -80px;
    aspect-ratio: 1.4;
  }
  .origin-copy > p {
    margin-block: 20px;
  }
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .contact-action {
    justify-self: start;
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .footer-bottom p {
    align-self: start;
  }
  .footer-brand .brand-name strong {
    font-size: 2rem;
  }
  .m2 .hero {
    min-height: 620px;
    padding-block: 36px 260px;
  }
  .m2 .hero-copy {
    max-width: 100%;
  }
  .m2 .hero-visual {
    inset: auto var(--gutter) 40px;
    height: 220px;
  }
  .m2 .hero-visual img {
    object-position: center;
  }
  .m2 .hero-caption {
    bottom: 50px;
  }
  .m2 .hero-lead {
    max-width: 40ch;
  }
  .m2 .category-grid {
    top: -20px;
    gap: 12px;
  }
  .m2 .category-photo {
    aspect-ratio: 2.2;
  }
  .m2 .rail-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .m2 .origin-copy {
    order: 2;
  }
  .m2 .origin-photo {
    order: 1;
    margin-top: -70px;
    aspect-ratio: 1.5;
    border-radius: var(--radius);
  }
  .m2 .origin {
    margin-top: 50px;
  }
  .catalog-layout,
  .m2 .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalogo-grid,
  .m2 .catalogo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-toggle {
    display: inline-flex;
    min-height: 48px;
    padding: 12px 16px;
    background: var(--color-bg-alt);
    margin-bottom: 20px;
    border-radius: var(--radius);
  }
  .catalog-filters {
    display: none;
  }
  .catalog-filters.is-open {
    display: block;
  }
  .m2 .catalog-filters > div {
    display: block;
  }
  .catalog-filters select,
  .m2 .catalog-filters select {
    margin-bottom: 16px;
  }
  .catalog-heading {
    padding-block: 20px 32px;
  }
  .catalog-search {
    margin-bottom: 16px;
  }
  .overlay {
    padding: 12px;
  }
  .product-dialog {
    max-height: calc(100dvh - 24px);
    padding: 20px;
  }
  .quick-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .quick-photo {
    aspect-ratio: 1.4;
  }
  .quick-copy {
    padding: 0;
  }
  .quick-copy h2 {
    font-size: 1.9rem;
  }
  .quick-copy > p {
    margin-block: 14px;
  }
  .cart-overlay {
    padding: 0;
  }
  .admin-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
  }
  .admin-row img {
    width: 72px;
    height: 72px;
  }
  .admin-row > label {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .catalogo-grid .prod-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .catalogo-grid .stepper {
    align-self: center;
  }
  .catalogo-grid .prod-actions .icon-btn {
    display: none;
  }
  .prod-info,
  .catalogo-grid .prod-info,
  .m2 .rail-track .prod-info {
    padding: 48px 10px 10px;
  }
  .catalogo-grid .prod-name,
  .m2 .prod-name {
    font-size: 0.86rem;
    min-height: 2.4em;
  }
  .prod-category {
    font-size: 0.58rem;
    margin-bottom: 5px;
  }
  .prod-meta {
    font-size: 0.72rem;
    margin-top: 4px;
  }
  .prod-actions {
    margin-top: 10px;
  }
  .prod-add {
    font-size: 0.78rem;
    padding: 8px 4px;
  }
  .prod-add svg {
    width: 18px;
    height: 18px;
  }
  .m2 .prod-actions .icon-btn {
    display: none;
  }
  .catalogo-grid,
  .m2 .rail-track,
  .m2 .catalogo-grid {
    gap: 12px;
  }
  .catalogo-grid .prod-photo,
  .m2 .rail-track .prod-photo {
    aspect-ratio: auto;
  }
  .catalogo-grid .prod-card,
  .m2 .rail-track .prod-card {
    aspect-ratio: 0.62;
  }
  .photo-hint {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
  }
  .photo-hint svg {
    width: 18px;
    height: 18px;
  }
  .rail-track .prod-card {
    flex-basis: 244px;
  }
  .m1 .rail-track .prod-info {
    padding: 64px 16px 16px;
  }
  .m1 .rail-track .prod-add {
    font-size: 0.9rem;
  }
  .m1 .rail-track .prod-name {
    font-size: 1.1rem;
  }
}
@media (max-width: 359px) {
  .catalogo-grid .prod-info,
  .m2 .rail-track .prod-info {
    padding-top: 28px;
  }
  :root {
    --gutter: 16px;
  }
  .brand-name strong {
    font-size: 1.25rem;
  }
  .brand::before {
    margin-right: 8px;
  }
  .header-actions .icon-btn {
    width: 44px;
  }
  .hero h1,
  .m2 .hero h1 {
    font-size: 2.2rem;
  }
  .hero {
    min-height: 670px;
  }
  .m2 .hero {
    min-height: 650px;
  }
  .category-copy {
    padding: 12px;
  }
  .category-copy h2,
  .m2 .category-copy h2 {
    font-size: 1.2rem;
  }
  .category-copy span {
    font-size: 0.73rem;
  }
  .prod-add svg {
    display: none;
  }
}
@media (hover: none) {
  .rail-arrows {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

html,
body {
  margin: 0;
  max-width: 100vw;
  overflow-x: clip;
}
input,
textarea,
[contenteditable] {
  -webkit-user-select: text;
  user-select: text;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  pointer-events: auto;
}

.nav-close {
  display: none;
}
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    max-height: 100dvh;
    overflow-y: auto;
    width: 74%;
    max-width: 320px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    padding: 1.3rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.38s var(--ease-rev),
      visibility 0s 0.38s,
      box-shadow 0s 0.38s;
    z-index: 120;
    box-shadow: none;
  }
  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: var(--shadow-lg);
    transition: transform 0.38s var(--ease-rev);
  }
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 44px;
    height: 44px;
    margin-bottom: 0.4rem;
    border-radius: 50%;
    background: var(--color-bg-alt);
    color: var(--color-text);
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .menu-toggle svg {
    width: 22px;
    height: 22px;
  }
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease-out),
    visibility 0s 0.3s;
  z-index: 110;
}
.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease-out);
}
body.no-scroll {
  overflow: hidden;
}

[data-animate] {
  transition:
    opacity 0.9s var(--ease),
    transform 1.1s var(--ease),
    clip-path 1.2s var(--ease),
    filter 1s var(--ease);
}
[data-animate].in {
  opacity: 1 !important;
  transform: none !important;
}
[data-animate="blur"].in {
  filter: none !important;
}
[data-animate="mascara"].in,
[data-animate="cortina"].in {
  clip-path: inset(0 0 0 0) !important;
}
[data-animate="linea"] {
  transform-origin: 0 50%;
}
[data-animate="zoom"] {
  transition: transform 1.8s var(--ease);
}
[data-animate="mascara"] > img,
[data-animate="mascara"] > picture > img,
[data-animate] .prod-photo img {
  scale: 1.12;
  transition:
    scale 1.5s var(--ease),
    transform 0.8s var(--ease);
}
[data-animate="mascara"].in > img,
[data-animate="mascara"].in > picture > img,
[data-animate].in .prod-photo img {
  scale: 1;
}
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    transition: none !important;
  }
  [data-animate="mascara"] > img,
  [data-animate="mascara"] > picture > img,
  [data-animate] .prod-photo img {
    scale: 1;
  }
}

.floats {
  position: fixed;
  right: clamp(14px, 3vw, 24px);
  bottom: clamp(14px, 3vw, 24px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.float-btn svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}
.float-btn.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.float-btn:active {
  transform: scale(0.95);
}
.cart-float {
  background: var(--color-cta);
  color: var(--color-cta-text);
}
.wsp-float {
  background: #25d366;
  color: #fff;
}
.float-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 600 0.72rem/1 var(--font-body);
  background: var(--color-text);
  color: var(--color-bg);
}
.float-badge.bump {
  animation: badge-bump 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes badge-bump {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .float-btn {
    transition: none;
  }
  .float-badge.bump {
    animation: none;
  }
}

:root {
  --color-bg: #f8fafb;
  --color-bg-alt: #e8edf0;
  --color-text: #202f39;
  --color-text-muted: #576973;
  --color-primary: #365d78;
  --color-secondary: #667781;
  --color-cta: #365d78;
  --color-cta-text: #fff;
  --font-display: "Chivo", sans-serif;
  --font-body: "Overpass", sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.25, 1);
  --ease-out: var(--ease);
  --ease-rev: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-lg: 0 16px 50px #202f3926;
  --line: #cbd5dc;
  --radius: 4px;
  --section-pad-y: clamp(2.5rem, 5vw, 4.5rem);
  --gutter: clamp(20px, 4vw, 64px);
  --container: 1440px;
  --fs-h1: clamp(2.5rem, 4.8vw, 4.8rem);
  --fs-h2: clamp(1.9rem, 3.2vw, 3rem);
  --gw-modelos-bg: #202f39;
  --gw-modelos-active-bg: #fff;
  --gw-modelos-active-ink: #202f39;
}
.gw-modelos {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 95;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  max-width: calc(100vw - 16px);
  padding: 4px;
  border-radius: 999px;
  background: var(--gw-modelos-bg);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  transition: opacity 0.12s var(--ease);
}
.gw-modelos__btn {
  flex: 0 1 116px;
  min-height: 44px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: inherit;
  font:
    800 12px/1 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.15s;
}
.gw-modelos__btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.gw-modelos__btn:active {
  transform: scale(0.97);
}
.gw-modelos__btn[aria-current] {
  background: var(--gw-modelos-active-bg);
  color: var(--gw-modelos-active-ink);
}
.gw-modelos__btn[aria-current="page"] {
  pointer-events: none;
}
.gw-modelos__btn:focus-visible {
  outline: 3px solid var(--gw-modelos-active-bg);
  outline-offset: 3px;
}
body.no-scroll .gw-modelos {
  opacity: 0;
  pointer-events: none;
}
.gw-modelos.gw-modelos--scrolling {
  opacity: 0;
  pointer-events: none;
}
.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 160;
  width: min(420px, calc(100% - 32px));
  pointer-events: none;
  margin-bottom: 64px;
}
.site-footer::after {
  content: "";
  display: block;
  height: 64px;
}
@media (max-width: 359px) {
  .gw-modelos {
    left: 12px;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gw-modelos,
  .gw-modelos__btn {
    transition: none;
  }
}

/* Producción 17-nov: logo, fotos de la ficha y obras reales */
.brand-logo {
  width: 58px;
  height: 58px;
  margin-right: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 0 0 1px #cbd5dc, 0 2px 8px #202f391f;
  object-fit: cover;
}
.brand:has(.brand-logo)::before {
  display: none;
}
.quick-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.quick-thumbs button {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.quick-thumbs button[aria-current] {
  border-color: var(--color-primary);
}
.quick-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.obras {
  padding-block: var(--section-pad-y);
}
.obras-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 10px;
}
.obras-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.obras-grid figure.alta {
  grid-row: span 2;
}
.obras-grid figure.ancha {
  grid-column: span 2;
}
.obras-grid img,
.obras-grid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.obras-grid figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: #fff;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.obras-grid figure.video figcaption {
  bottom: auto;
  top: 10px;
}
@media (max-width: 860px) {
  .obras-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }
}
@media (max-width: 520px) {
  .brand-logo {
    width: 46px;
    height: 46px;
    margin-right: 10px;
  }
}
