body:has(.brands-page) { background:#101015; color:#f4edf8; }
main:has(> .brands-page) { max-width:none; width:100%; margin:0; padding:0; }
.brands-page { --gold:#ebce94; --line:#575067; background:#101015; color:#f4edf8; }
.brands-wrap { width:min(100% - 2rem,74rem); margin-inline:auto; }
.brands-hero { position:relative; isolation:isolate; min-height:clamp(38rem,60vw,49rem); display:grid; align-items:center; }
.brands-hero-scene, .brands-hero::after { position:absolute; inset:0; width:100%; height:100%; }
.brands-hero-scene { z-index:-2; object-fit:cover; object-position:center 52%; }
.brands-hero::after { content:""; z-index:-1; background:linear-gradient(90deg,#101015 4%,#101015de 32%,#10101542 78%),linear-gradient(0deg,#101015,transparent 28%); }
.brands-intro { padding:2rem 0 3rem; }
.brands-intro > a:first-child { display:inline-block; color:var(--gold); margin-bottom:1.15rem; }
.brands-logo { display:block; width:min(100%,21rem); height:auto; mix-blend-mode:screen; }
.brands-intro .brands-tagline { color:var(--gold); letter-spacing:.12em; font-weight:700; margin:.4rem 0 1.2rem; }
.brands-page h1 { color:#fff7ef; font:850 clamp(2.25rem,5.3vw,5rem)/1.01 system-ui,sans-serif; margin:.6rem 0 1rem; max-width:19ch; letter-spacing:-.035em; }
.brands-intro > p { max-width:57ch; line-height:1.55; }
.brands-question { color:#fff3d9; font-weight:750; }
.brands-page .brands-button, .brands-links a {
 display:inline-flex; align-items:center; min-height:2.75rem; width:fit-content; max-width:100%; padding:.65rem .95rem; border:1px solid #b69a65;
 border-radius:.35rem; background:#282231; color:#ffe6b3; font-weight:750; text-decoration:none; text-align:left; cursor:pointer;
}
.brands-page .brands-button:hover, .brands-links a:hover { background:#483355; border-color:#ffd793; }
.brands-page :is(a,button,input,textarea):focus-visible { outline:2px solid #dfb4fd; outline-offset:3px; }
.brands-nav, .brands-links { display:flex; flex-wrap:wrap; gap:.65rem; }
.brands-nav { padding:1rem 0 2rem; }
.brands-nav a { color:#f4e1fb; text-decoration:none; padding:.65rem .9rem; background:#221c2c; border:1px solid var(--line); border-radius:.35rem; }
.brands-wrap section { border-top:1px solid var(--line); padding:2.3rem 0; scroll-margin-top:.7rem; }
.brands-page h2 { color:var(--gold); font:800 clamp(1.45rem,3.2vw,2.6rem)/1.12 system-ui,sans-serif; margin:0 0 1rem; }
.brands-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr)); gap:1.15rem; }
.brands-card, .brands-films figure { overflow:hidden; margin:0; border:1px solid var(--line); border-radius:.6rem; background:#1b1821; }
.brands-card { display:flex; flex-direction:column; }
.brands-card > img { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; }
.brands-card > div { display:flex; flex-direction:column; flex:1; padding:1rem; }
.brands-card h3 { color:#efd5a6; font-size:1.05rem; margin:0; }
.brands-card ul { line-height:1.45; padding-inline-start:1.1rem; flex:1; }
.brands-links { margin-top:1.2rem; }
.brands-films { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,24rem),1fr)); gap:1rem; }
.brands-films video { display:block; width:100%; aspect-ratio:16/9; background:#0a090d; }
.brands-films figcaption { padding:.8rem; color:#eee0f4; }
.brands-page form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; max-width:56rem; }
.brands-page form label { display:grid; gap:.35rem; align-content:start; }
.brands-wide { grid-column:1/-1; }
.brands-page form :is(input:not([type=checkbox]),textarea) { width:100%; min-width:0; padding:.65rem; min-height:2.75rem; font:inherit; border:1px solid #7d6b8a; background:#1f1928; color:#fff; border-radius:.35rem; }
.brands-page fieldset { margin:0; padding:.75rem 0; min-width:0; border:0; }
.brands-page legend { color:#efd5a6; font-weight:750; }
.brands-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:.6rem; }
.brands-page .brands-options label { display:flex; align-items:center; gap:.55rem; padding:.65rem; min-height:3rem; background:#221c2c; border:1px solid var(--line); border-radius:.3rem; cursor:pointer; }
.brands-options input { accent-color:#d19cf9; }
.brands-options label:has(:checked) { background:#382747; border-color:#d5a6ee; }
@media (max-width:42rem) {
 .brands-page form { grid-template-columns:1fr; }
 .brands-hero::after { background:linear-gradient(90deg,#101015dd,#10101580),linear-gradient(0deg,#101015,transparent 45%); }
 .brands-hero-scene { object-position:72% center; }
}

.brands-wrap .brands-projects {
  padding:clamp(1.25rem,4vw,3rem);
  margin-block:2rem;
  border:1px solid #766449;
  border-radius:.8rem;
  background:#19141f;
  background-image:linear-gradient(100deg,#130e19ee,#130e19a6 65%,#130e19ba),url('/brands/proyectos.webp');
  background-size:cover;
  background-position:center;
}
.brands-projects > p { max-width:68ch; color:#f1e7f2; line-height:1.55; }
.brands-projects .brands-links {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,11.5rem),1fr));
  gap:.85rem;
  margin-top:1.4rem;
}
.brands-projects .brands-links a {
  width:100%;
  display:grid;
  grid-template-rows:auto 1fr auto;
  justify-items:center;
  align-content:center;
  gap:.55rem;
  min-height:10rem;
  padding:1rem .65rem .7rem;
  text-align:center;
  line-height:1.25;
  border-color:#9c835a;
  background:linear-gradient(145deg,#211827ed,#10101af5);
  box-shadow:inset 0 1px #ffdb9d22;
}
.brands-projects .brands-links a:is(:hover,:focus-visible) {
  background:linear-gradient(145deg,#3c2753,#211529);
  border-color:#e7c690;
}
.brands-links img { width:clamp(4.1rem,8vw,6.25rem); height:auto; aspect-ratio:1; object-fit:contain; border-radius:50%; }
.brands-project-arrow { align-self:end; color:#dec2ec; }
@media (max-width:42rem) {
 .brands-projects .brands-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .brands-projects .brands-links a { min-height:8.25rem; font-size:.86rem; }
 .brands-projects .brands-links a:last-child:nth-child(odd) { grid-column:1/-1; width:calc((100% - .85rem)/2); justify-self:center; }
}
