.ct-main.ct-company {
  --company-gutter: clamp(18px, 5vw, 76px);
  --company-chapter-offset: 82px;
  padding: 0 var(--company-gutter) clamp(60px, 7vw, 104px);
}
.company-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(580px, 48vw, 750px);
  margin-inline: calc(0px - var(--company-gutter));
  background: #222923;
  color: #fff7e9;
}
.company-cover-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(58%, 750px);
  padding: clamp(40px, 4.5vw, 70px) 36px clamp(40px, 4.5vw, 70px) var(--company-gutter);
}
.company-origin {
  display: flex;
  align-items: center;
  gap: .65em;
  color: #eee3d2;
  font-size: clamp(11px, .85vw, 13px);
  font-weight: 550;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.company-origin::before {
  content: "";
  width: clamp(18px, 2vw, 30px);
  height: 1px;
  background: currentColor;
}
.company-cover h1 {
  margin-block: clamp(28px, 2.7vw, 42px) 24px;
  font: 450 clamp(70px, 7.4vw, 116px)/.94 "DM Sans", sans-serif;
  letter-spacing: -.07em;
}
.company-cover h1 em {
  display: block;
  font: italic 400 1.22em/.94 "Instrument Serif", Georgia, serif;
  letter-spacing: -.035em;
}
.company-intro {
  max-width: 34ch;
  color: #fff7e9;
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.42;
  letter-spacing: -.018em;
  text-wrap: pretty;
}
.company-cover .company-location {
  max-width: 43ch;
  margin-top: 16px;
  color: #e1e2d8;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  text-wrap: pretty;
}
.company-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 25px;
  margin-top: clamp(24px, 2.6vw, 40px);
}
.company-film {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 0;
  padding: 8px 20px 8px 10px;
  border: 1px solid #fff7e9;
  border-radius: 30px;
  background: #fff7e9;
  color: #292c24;
  font: 550 14px/1.35 "DM Sans", sans-serif;
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.company-film > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #a6a497;
  border-radius: 50%;
}
.company-film > span::after {
  content: "";
  margin-left: 3px;
  border-block: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.company-film:hover { background: #e5d3bd; border-color: #e5d3bd; }
.company-film:focus-visible { outline: 2px solid #fff7e9; outline-offset: 5px; }
.company-contact {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  color: #fff7e9;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #bfc2b6;
  text-underline-offset: 6px;
  transition: text-decoration-color .18s;
}
.company-contact span { font-size: 18px; }
.company-contact:hover { text-decoration-color: #fff7e9; }
.company-contact:focus-visible { outline: 2px solid #fff7e9; outline-offset: 4px; }
.company-cover .ct-company-image { position: absolute; inset: 0; z-index: 0; background: #353a35; }
.company-cover .ct-company-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 25, 21, .95) 0%, rgba(17, 25, 21, .83) 28%, rgba(17, 25, 21, .34) 56%, rgba(17, 25, 21, .06) 78%), linear-gradient(0deg, rgba(17, 25, 21, .47), transparent 28%);
}
.company-cover .ct-company-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}
.company-photo-note {
  position: absolute;
  z-index: 1;
  right: var(--company-gutter);
  bottom: 28px;
  padding-left: 15px;
  border-left: 1px solid #e6e1d8;
  color: #fff7e9;
  font-size: 13px;
  line-height: 1.5;
}
.company-photo-note span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.company-chapters {
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--paper);
  border-bottom: 1px solid var(--ct-line);
  box-shadow: 0 -1px var(--paper);
}
.company-chapter-menu > summary { display: none; }
.company-chapters:not([data-enhanced]) .company-chapter-menu:not([open]) > summary { display: block; min-height: 52px; padding-block: 14px; cursor: pointer; }
.company-chapter-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.company-chapters a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 58px;
  padding: 12px clamp(12px, 2vw, 30px);
  color: var(--ct-ink);
  font-weight: 540;
  font-size: 14px;
  text-decoration: none;
}
.company-chapters a:first-child { padding-left: 0; }
.company-chapters a:last-child { padding-right: 0; }
.company-chapters a + a::before {
  content: "";
  position: absolute;
  left: 0;
  height: 18px;
  border-left: 1px solid var(--ct-line);
}
.company-chapters a span { color: var(--ct-wine); font-size: 18px; }
.company-chapters a[aria-current="location"] { color: var(--ct-wine); box-shadow: inset 0 -2px var(--ct-wine); }
.company-chapters a:hover { color: var(--ct-wine); text-decoration: underline; text-underline-offset: .3em; }
.company-chapters a:focus-visible { outline: 2px solid var(--ct-wine); outline-offset: -2px; }
.ct-main.ct-company :is(#ct-factory-heading, #ct-origen, #ct-productos, #ct-colecciones) { scroll-margin-top: var(--company-chapter-offset); }
.ct-company .company-section-label { display:flex; align-items:center; gap:13px; margin:0 0 clamp(20px,2.2vw,34px); color:var(--ct-wine); font:550 12px/1.4 "DM Sans",sans-serif; letter-spacing:.1em; text-transform:uppercase; }
.company-section-label::before { content:""; flex:none; width:25px; height:1px; background:currentColor; }
.factory-report { margin-top:clamp(48px,6.5vw,100px); }
.factory-heading { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); align-items:end; gap:24px 7%; margin-bottom:clamp(25px,3.2vw,50px); }
.factory-heading-copy { min-width:0; }
.ct-company .factory-heading h2 { font:500 clamp(49px,5.5vw,86px)/.98 "DM Sans",sans-serif; letter-spacing:-.065em; }
.factory-heading-intro { max-width:44ch; justify-self:end; }
.factory-heading-intro > p { color:var(--ct-muted); font-size:clamp(16px,1.24vw,19px); line-height:1.6; text-wrap:pretty; }
.factory-heading h2 em { display:block; font:italic 400 1.12em/.98 "Instrument Serif",Georgia,serif; color:var(--ct-wine); letter-spacing:-.035em; white-space:nowrap; }
.factory-total { color:var(--ct-muted); font-size:14px; }
.factory-tools { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:24px; padding-top:16px; border-top:1px solid var(--ct-line); }
.factory-pagination { display: flex; gap: 7px; }
.factory-pagination[hidden] { display: none; }
.factory-pagination button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #b9baaf; border-radius: 50%; background: transparent; color: var(--ct-wine); font: 400 22px/1 "DM Sans", sans-serif; }
.factory-pagination button:hover { background: var(--ct-wine); border-color: var(--ct-wine); color: #fff7e9; }
.factory-pagination button:focus-visible { outline: 2px solid var(--ct-wine); outline-offset: 3px; }
.factory-index .ct-frame-film { min-height:44px; margin-top:16px; }
.ct-company [data-film]:not([aria-haspopup]) { display:none; }
.factory-layout { display:grid; grid-template-columns:minmax(0,2.55fr) minmax(230px,1fr); gap:clamp(22px,3.5vw,58px); align-items:start; }
.factory-photos { display:grid; gap:32px; min-width:0; }
.factory-photos figure { scroll-margin-top: var(--company-chapter-offset); }
.factory-photos figure[hidden] { display:none; }
.factory-open { display:block; position:relative; background:#333932; color:white; }
.factory-open > img { display:block; width:100%; height:auto; }
.factory-report[data-enhanced] .factory-open > img { aspect-ratio:1.62; height:100%; object-fit:cover; }
.factory-zoom { position:absolute; inset:auto 14px 14px auto; display:inline-flex; align-items:center; gap:9px; padding:8px 12px; background:#fffaf0; color:#252923; font:550 13px/1.3 "DM Sans",sans-serif; }
.factory-zoom b { font:500 19px/1 Arial,sans-serif; }
.factory-open:hover .factory-zoom { background:var(--ct-wine); color:white; }
.factory-photos figcaption { display:flex; align-items:baseline; gap:clamp(11px,1.5vw,24px); padding:clamp(12px,1.3vw,20px); background:#2c342f; color:#faf8ef; line-height:1.45; font-size:clamp(13px,1.05vw,16px); }
.factory-position { flex:none; padding-right:clamp(11px,1.5vw,24px); border-right:1px solid #778078; font:550 12px/1.4 "DM Sans",sans-serif; letter-spacing:.06em; font-variant-numeric:tabular-nums; color:#e1decb; }
.factory-index { min-width:0; }
.factory-index h3 { margin:0 0 17px; font:500 13px/1.3 "DM Sans",sans-serif; letter-spacing:.02em; color: var(--ct-muted); }
.factory-index ol { list-style:none; margin:0; padding:0; border-top:1px solid var(--ct-line); }
.factory-index li { border-bottom:1px solid var(--ct-line); }
.factory-index a { display:flex; align-items:center; gap:clamp(12px,1.5vw,23px); min-height:50px; padding:10px 12px; color:var(--ct-ink); text-decoration:none; font-size:clamp(14px,1.25vw,19px); font-weight:480; line-height:1.15; letter-spacing:-.032em; transition:background .2s,color .2s; }
.factory-index a img { flex:none; width:clamp(48px,5vw,77px); height:auto; aspect-ratio:1.54; object-fit:cover; }
.factory-index a[aria-current=true] { color:var(--ct-wine); font-weight:650; background:#ece5df; box-shadow:inset 3px 0 var(--ct-wine); }
.factory-index a[aria-current=true]::after { content:""; margin-left:auto; flex:none; width:7px; height:7px; border-radius:50%; background:currentColor; }
.factory-index a:hover { color:var(--ct-wine); background:#ebe9e1; text-decoration:underline; text-underline-offset:3px; }
.factory-report :focus-visible { outline:2px solid var(--ct-wine); outline-offset:3px; }
.factory-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.factory-viewer { color:#f5f3eb; background:#1c201c; width:min(1160px,calc(100vw - 40px)); max-width:none; max-height:calc(100dvh - 32px); border:0; padding:clamp(12px,1.8vw,27px); }
.factory-viewer[open] { display:grid; grid-template-rows:auto minmax(80px,1fr) auto; gap:clamp(10px,1.3vw,20px); }
.factory-viewer::backdrop { background:rgba(15,17,14,.86); }
body.factory-view-open { overflow:hidden; }
.factory-view-head,.factory-view-foot { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.ct-company .factory-view-head h2 { font:520 clamp(20px,2.1vw,33px)/1.1 "DM Sans",sans-serif; letter-spacing:-.045em; color:inherit; }
.factory-viewer button { font-family:inherit; color:inherit; background:transparent; border:1px solid #697063; min-width:43px; min-height:43px; }
.factory-viewer button:hover,.factory-viewer button:focus-visible { border-color:#fff; background:#383f35; }
.factory-viewer button:focus-visible { outline:2px solid white; outline-offset:3px; }
#factory-close { display:inline-flex; justify-content:center; align-items:center; gap:9px; padding:4px 11px; font-size:13px; }
#factory-close span { font:400 22px/1 Arial,sans-serif; }
.factory-view-photo { min-width:0; min-height:0; background:#121512; }
.factory-view-photo #factory-view-image { display:block; width:100%; height:clamp(100px,65dvh,740px); max-height:100%; object-fit:contain; }
.factory-view-foot > div:first-child { min-width:0; }
#factory-view-count { color:#d4baaa; font-size:12px; font-variant-numeric:tabular-nums; }
#factory-view-caption { margin:4px 0 0; font-size:14px; line-height:1.4; }
.factory-view-controls { display:flex; flex:none; gap:5px; }
.factory-view-controls button { font:400 23px/1 "DM Sans",sans-serif; }
@media (max-width:900px) {
  .factory-heading { grid-template-columns:minmax(0,1fr); gap:20px; }
  .factory-heading-intro { max-width:52ch; justify-self:start; width:100%; }
  .factory-tools { margin-top:20px; padding-top:14px; }
  .factory-layout { grid-template-columns:minmax(0,1fr); gap:20px; }
  .factory-report:not([data-enhanced]) .factory-index { grid-row:1; }
  .factory-index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .factory-index a { align-items: center; gap: 9px; padding: 10px 0; min-height: 68px; font-size: 14px; line-height: 1.25; letter-spacing: -.015em; }
  .factory-index a img { width: clamp(42px, 13vw, 76px); height: auto; aspect-ratio: 1.5; }
  .factory-index a[aria-current=true] img { outline:2px solid var(--ct-wine); outline-offset:-2px; }
  .factory-index a[aria-current=true] { background:transparent; box-shadow:none; }
  .factory-index a[aria-current=true]::after { display:none; }
  .factory-viewer { width:calc(100vw - 16px); max-height:calc(100dvh - 16px); }
  .factory-view-photo #factory-view-image { height:auto; max-height:62dvh; }
}
@media (min-width:621px) and (max-width:900px) {
  .factory-heading { grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:30px; }
  .factory-heading-intro { padding-top:clamp(36px,4.3vw,44px); }
  .factory-index ol { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .factory-index a img { width:clamp(40px,5.8vw,52px); }
}
@media (max-width:700px) {
  .company-cover { min-height: 0; }
  .company-cover-copy { order: 1; width: 100%; margin-top: -35px; padding: 0 var(--company-gutter) 34px; }
  .company-cover h1 { margin-block: 18px 11px; font-size: clamp(41px, 11vw, 61px); }
  .company-cover h1 em { display: inline; font-size: 1.13em; }
  .company-intro { max-width: 39ch; font-size: 19px; line-height: 1.42; }
  .company-cover .company-location { max-width: 51ch; margin-top: 13px; font-size: 16px; line-height: 1.5; }
  .company-actions { margin-top: 22px; gap: 8px 20px; }
  .company-film { gap: 10px; min-height: 50px; }
  .company-cover .ct-company-image { position: relative; aspect-ratio: 1.4; }
  .company-cover .ct-company-image::after { background: linear-gradient(0deg, #222923 0%, rgba(34,41,35,.65) 20%, transparent 55%), linear-gradient(180deg, rgba(17,25,21,.5), transparent 40%); }
  .company-photo-note { top: 18px; bottom: auto; font-size: 12px; }
  .ct-main.ct-company { --company-chapter-offset: 72px; }
  .ct-company:has(.company-chapters:not([data-enhanced]) .company-chapter-menu[open]) { --company-chapter-offset: 176px; }
  .company-chapter-menu > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    list-style: none;
    cursor: pointer;
    color: var(--ct-muted);
    font-size: 12px;
    font-weight: 500;
  }
  .company-chapter-menu > summary::-webkit-details-marker { display: none; }
  .company-chapter-menu > summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-left: auto; margin-right: 3px; border-right: 1.5px solid var(--ct-wine); border-bottom: 1.5px solid var(--ct-wine); transform: translateY(-2px) rotate(45deg); }
  .company-chapter-menu[open] > summary::after { transform: translateY(2px) rotate(225deg); }
  .company-chapter-menu > summary:focus-visible { outline: 2px solid var(--ct-wine); outline-offset: -2px; }
  .company-chapter-current { margin-left: auto; color: var(--ct-wine); font-size: 13px; font-weight: 600; }
  .company-chapter-current:empty { display: none; }
  .company-chapter-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-chapters[data-enhanced] .company-chapter-links { position: absolute; top: 100%; left: 0; right: 0; padding: 8px 16px; border: 1px solid var(--ct-line); background: var(--paper); box-shadow: 0 12px 18px #22242018; }
  .company-chapters a { min-height: 46px; padding: 8px 14px; }
  .company-chapters a:nth-child(odd) { padding-left: 0; }
  .company-chapters a:nth-child(even) { padding-right: 0; }
  .company-chapters a:nth-child(3)::before { display: none; }
  .company-chapters a:nth-child(-n+2) { border-bottom: 1px solid var(--ct-line); }
  .company-chapters a[aria-current="location"] { box-shadow: none; text-decoration: underline; text-underline-offset: .3em; }
}
@media (min-width:701px) and (max-width:1050px) {
  .company-cover-copy { width: 67%; }
  .company-cover h1 { font-size: clamp(70px, 8vw, 85px); }
  .company-cover .ct-company-image > img { object-position: 65% center; }
}
@media (max-width:440px) { .factory-view-foot { flex-wrap:wrap; align-items:start; } .factory-view-controls { margin-left:auto; } }
@media (prefers-reduced-motion:reduce) { .company-cover *, .factory-report *, .factory-viewer * { scroll-behavior:auto; transition:none; animation:none; } }
