/*
  Maestria Culinaria landing styles
  Refactored from the original inline cascade.
  Keep new rules in the closest section below instead of adding override layers.

  Maintenance map:
  - Global reset, cursor, fixed chrome and editorial components start at the top.
  - Venue modal styles are grouped around .detail-modal and .modal-* selectors.
  - Section-specific refinements use their section IDs: #somos, #evento,
    #experiencias, #marcas, #produccion, #formatos, #historia and #contacto.
  - Responsive decisions live in their matching @media blocks; do not add a
    new override layer unless a visual regression test proves it is safer.

  Automated cleanup removed 207 superseded declarations and 53 empty rules.
*/

:root {
  --cream: #fff6ed;
  --muted: #d1d5db;
  --line: rgba(255,255,255,.14);
  --gold: #d6a35d;
  --orange: #8c3b15;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  cursor: none !important;
}

html,body {
  width: 100%;
  background: #000;
  color: #fff;
  scrollbar-width: none;
}

body {
  font-family: Outfit,sans-serif;
}

body.intro-locked {
  overflow: hidden;
}

::-webkit-scrollbar {
  display: none;
}

#webgl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  outline: 0;
}

.cursor-inner,.cursor-outer {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  z-index: 99;
}

.cursor-inner {
  width: 6px;
  height: 6px;
  border: 2px solid white;
}

.cursor-outer {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.72);
  transition: width .3s,height .3s,background .3s;
}

.cinematic {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 60px 40px;
  pointer-events: none;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  object-fit: contain;
  opacity: .92;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-dot {
  width: 3px;
  height: 3px;
  background: #ffffff33;
  border-radius: 50%;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 20px;
  transition: .3s;
}

.contact-btn:hover {
  transform: scale(1.05);
  background: #f0f0f0;
}

.btn-circle {
  width: 6px;
  height: 6px;
  border: 1px solid #000;
  border-radius: 50%;
}

.slide {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-title {
  font: 400 116px/1 Italiana,serif;
  letter-spacing: 2px;
  color: var(--cream);
  margin-bottom: 20px;
}

.slide-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
  filter: blur(12px);
  transition: opacity .8s cubic-bezier(.25,1,.5,1),transform .8s cubic-bezier(.25,1,.5,1),filter .8s cubic-bezier(.25,1,.5,1);
}

.slide.active .char {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.slide-desc {
  font-weight: 300;
  color: var(--muted);
  opacity: 0;
  transform: translateY(30px);
  transition: .8s cubic-bezier(.25,1,.5,1);
  transition-delay: .4s;
}

.slide.active .slide-desc {
  opacity: 1;
  transform: none;
}

#slide-1 .desc-row {
  display: flex;
}

#slide-1 .col-1 {
  margin-left: 60px;
  width: calc(25vw - 60px);
}

#slide-1 .col-2 {
  margin-left: 100px;
  width: calc(25vw - 60px);
}

#slide-2 {
  left: 0;
  width: 100%;
}

#slide-2 .slide-title {
  margin-left: calc(25vw + 40px);
}

#slide-2 .slide-desc {
  margin-left: calc(50vw + 20px);
  width: calc(25vw - 60px);
}

#slide-3 {
  left: calc(50vw + 20px);
  width: calc(25vw - 60px);
}

#slide-3 .slide-title {
  white-space: nowrap;
}

#slide-4 {
  left: calc(25% + 40px);
  max-width: 600px;
}

.slide-image-mask {
  position: fixed;
  top: 90px;
  left: 60px;
  width: calc(25vw - 60px);
  aspect-ratio: 1;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition: clip-path 1.8s cubic-bezier(.16,1,.3,1),opacity .8s;
}

.slide-image-mask.active {
  clip-path: inset(0);
  opacity: 1;
}

.slide-image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 1.8s cubic-bezier(.16,1,.3,1);
}

.slide-image-mask.active img {
  transform: scale(1);
}

.grid-horizontal-line {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  z-index: 5;
}

.grid-lines {
  position: fixed;
  inset: 0 40px;
  width: calc(100% - 80px);
  display: flex;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.grid-line {
  position: relative;
  width: 1px;
  height: 100%;
  background: var(--line);
}

.grid-line:nth-child(3) {
  margin-top: 70px;
  height: calc(100% - 70px);
}

.grid-dot {
  position: absolute;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff59;
  box-shadow: 0 0 4px #ffffff26;
}

.story-dashes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-dash {
  width: 2px;
  height: 40px;
  background: #ffffff26;
  border-radius: 2px;
}

.story-dash-fill {
  height: 0;
  background: #fff;
  border-radius: 2px;
}

.micro {
  position: fixed;
  bottom: 28px;
  left: 60px;
  z-index: 11;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff99;
}

.micro i {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: #ffffff66;
  vertical-align: middle;
  margin-right: 10px;
}

.editorial-content {
  position: relative;
  z-index: 12;
  color: #f4eee7;
}

.editorial-section {
  position: relative;
  background: #070707;
  border-top: 1px solid #ffffff18;
  overflow: hidden;
}

.editorial-section:nth-child(even) {
  background: #0b0b0b;
}

.section-kicker {
  text-transform: uppercase;
}

.section-grid {
  display: grid;
}

.section-title {
  font: 400 clamp(54px,8vw,132px)/.9 Italiana,serif;
  color: var(--cream);
}

.section-title em {
  color: #c79555;
  font-family: 'Playfair Display',serif;
}

.section-copy {
  color: #c6c0b8;
  font-weight: 300;
}

.gold-rule {
  width: 100%;
  height: 1px;
  margin: 8vh 0 0;
  background: linear-gradient(90deg,#d6a35d,transparent 65%);
}

.principles {
  display: grid;
  gap: 0;
  border-top: 1px solid #ffffff24;
}

.principles span {
  color: #efe4d5;
  font: 400 clamp(18px,2vw,28px) Italiana,serif;
  border-right: 1px solid #ffffff24;
}

.story-note {
  margin-top: 7vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ffffff25;
  border-bottom: 1px solid #ffffff25;
  padding: 22px 0;
  color: #d6a35d;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-grid {
  display: grid;
}

.brand-card,.service-card,.experience-card {
  position: relative;
  border: 1px solid #ffffff1c;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .4s,border-color .4s;
}

.brand-card:hover,.service-card:hover,.experience-card:hover {
  transform: translateY(-8px);
  border-color: #d6a35d88;
}

.brand-number {
  color: #ffffff66;
  font-size: 11px;
  letter-spacing: 3px;
}

.brand-type {
  color: #d6a35d;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-name {
  margin-top: 16px;
  font: 400 clamp(34px,4vw,64px) Italiana,serif;
  color: var(--cream);
}

.brand-desc {
  margin-top: 20px;
  color: #bdb6ad;
  font-weight: 300;
}

.detail-trigger {
  align-self: flex-start;
  border: 1px solid #ffffff3d;
  background: transparent;
  color: #f4eee7;
  font: 400 10px Outfit,sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
}

.detail-trigger:hover {
  background: #ffffff12;
}

.experience-grid {
  display: grid;
}

.experience-card {
  background: #111;
}

.experience-card h3 {
  font: 400 34px/.95 Italiana,serif;
  color: var(--cream);
}

.experience-card ul {
  padding-left: 18px;
  color: #bdb6ad;
}

.experience-card li::marker {
  color: #d6a35d;
}

.feature-strip {
  display: grid;
}

.facts {
  display: grid;
}

.fact {
  border-top: 1px solid #ffffff2b;
  color: #d0c8bd;
  line-height: 1.5;
}

.fact strong {
  display: block;
  margin-bottom: 8px;
  color: #f2e3cd;
  font: 400 25px Italiana,serif;
}

.service-list {
  display: grid;
}

.service-card h3 {
  font: 400 31px/.95 Italiana,serif;
  color: var(--cream);
}

.service-card p {
  color: #aaa39a;
}

.value-section {
  display: grid;
  place-items: center;
  text-align: center;
}

.value-section .section-title {
  margin: auto;
}

.value-copy {
  color: #c6c0b8;
}

.contact-line {
  display: inline-flex;
  margin-top: 48px;
  padding: 16px 26px;
  border: 1px solid #d6a35d;
  background: #d6a35d;
  color: #080808;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
}

.contact-line + .contact-line {
  margin-left: 10px;
  background: transparent;
  color: #f4eee7;
}

.image-mosaic {
  display: grid;
}

.image-slot {
  background: linear-gradient(135deg,#141414,#080808);
  border: 1px solid #ffffff18;
  display: grid;
  place-items: center;
  color: #ffffff45;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.image-slot.tall {
  grid-row: span 2;
}

.detail-modal h3 {
  font: 400 48px/1 Italiana,serif;
  color: var(--cream);
}

.detail-modal p {
  margin-top: 20px;
  color: #c8c0b8;
  font-size: 15px;
  line-height: 1.75;
}

.modal-close {
  margin-top: 30px;
  padding: 10px 18px;
  border: 1px solid #ffffff45;
  background: transparent;
  color: #fff;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 20px;
}

#curtain-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  overflow: hidden;
  opacity: 1;
  transition: opacity .8s ease;
  pointer-events: auto;
}

#curtain-intro.is-opening {
  pointer-events: none;
}

#curtain-intro.is-gone {
  opacity: 0;
  pointer-events: none;
}

.curtain-piece {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 1.45s cubic-bezier(.77,0,.18,1),opacity 1.1s ease;
}

.curtain-piece img {
  display: block;
  width: 200%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.curtain-left {
  left: 0;
}

.curtain-right {
  left: 50%;
}

.curtain-right img {
  transform: translateX(-50%);
}

.is-opening .curtain-left {
  transform: translateX(-58vw);
  opacity: 0;
}

.is-opening .curtain-right {
  transform: translateX(58vw);
  opacity: 0;
}

.intro-seal {
  position: absolute;
  top: calc(50% + .9vh + 4px);
  left: 50%;
  z-index: 4;
  width: min(31vw,45vh);
  aspect-ratio: 1;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  transition: opacity .65s ease,transform 1.45s cubic-bezier(.77,0,.18,1);
}

.intro-seal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-copy {
  display: none;
}

.is-opening .intro-seal {
  opacity: 0;
  transform: translate(calc(-50% - 58vw),-50%) scale(.9);
}

.is-opening .intro-copy {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
}

.intro-kicker {
  margin-bottom: 22px;
  color: #ffffffaa;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.intro-title {
  font: 400 clamp(42px,6vw,88px)/.92 Italiana,serif;
  color: #f3eadc;
  white-space: nowrap;
}

.intro-enter {
  margin-top: 34px;
  border: 1px solid #ffffff55;
  border-radius: 999px;
  background: #ffffff08;
  color: #fff;
  padding: 12px 24px;
  font: 400 10px Outfit,sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background .3s,transform .3s;
}

.intro-enter:hover {
  background: #ffffff1c;
  transform: scale(1.04);
}

.intro-hint {
  margin-top: 14px;
  color: #ffffff77;
  font-size: 10px;
  letter-spacing: 1.5px;
}

@media (max-width:800px) {
  .cinematic {
    padding: 0 22px 28px;
  }

  .header-nav {
    display: none;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .slide-title {
    font-size: 64px;
  }

  .slide-desc {
    font-size: 13px;
    line-height: 1.55;
  }

  .slide-image-mask {
    left: 22px;
    top: 80px;
    width: 30vw;
  }

  .grid-lines {
    inset: 0 18px;
    width: calc(100% - 36px);
  }

  #slide-1 .slide-title {
    margin-left: 0;
  }

  #slide-1 .desc-row {
    display: block;
  }

  #slide-1 .col-1,#slide-1 .col-2 {
    margin-left: 0;
    width: 45vw;
    max-width: none;
  }

  #slide-1 .col-2 {
    display: none;
  }

  #slide-2 .slide-title {
    margin-left: 32vw;
  }

  #slide-2 .slide-desc {
    margin-left: 32vw;
    width: 50vw;
  }

  #slide-3 {
    left: 32vw;
    width: 60vw;
  }

  #slide-3 .slide-title {
    white-space: normal;
  }

  #slide-4 {
    left: 22px;
    right: 22px;
  }

  .micro {
    left: 22px;
  }

  .contact-btn {
    padding: 9px 14px;
  }

  .slide {
    bottom: 15%;
  }

  .intro-seal {
    width: min(64vw,45vh);
  }

  .curtain-piece img {
    object-fit: cover;
  }
}

@media (max-width:800px) {
  .editorial-section {
    padding: 11vh 22px 12vh;
  }

  .section-grid,.feature-strip {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section-title {
    font-size: 62px;
  }

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

  .principles span:nth-child(3) {
    border-top: 1px solid #ffffff24;
    padding-left: 0;
  }

  .principles span:nth-child(4) {
    border-top: 1px solid #ffffff24;
    padding-left: 18px;
  }

  .brand-grid,.service-list {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: 330px;
  }

  .feature-visual {
    min-height: 360px;
  }

  .image-mosaic {
    grid-template-columns: 1fr;
  }

  .image-slot.tall {
    min-height: 300px;
  }

  .value-section {
    min-height: 70vh;
  }

  .detail-modal {
    padding: 28px;
  }

  .detail-modal h3 {
    font-size: 38px;
  }
}

.brand-card {
  background-position: center;
  background-size: cover;
  background-blend-mode: normal;
}

.image-slot {
  background-position: center;
  background-size: cover;
}

.image-slot::after {
  content: '';
}

.feature-visual {
  background-size: 72% auto;
}

.editorial-content {
  background: transparent;
}

.editorial-section,.editorial-section:nth-child(even) {
  background: transparent;
}

.brand-card,.service-card,.experience-card {
  background: linear-gradient(145deg,rgba(135,145,160,.22),rgba(22,25,31,.34));
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

.service-card {
  background: linear-gradient(145deg,rgba(135,145,160,.22),rgba(22,25,31,.34));
}

.feature-visual {
  border-color: #ffffff22;
}

.section-title em,.brand-type {
  color: #f0b766;
  text-shadow: 0 2px 18px #000;
}

.section-kicker,.brand-number {
  text-shadow: 0 1px 10px #000;
}

.section-copy,.feature-copy,.value-copy,.experience-card ul,.service-card p {
  padding: 26px 28px;
  color: #f0ede8;
  background: linear-gradient(135deg,rgba(118,128,144,.28),rgba(18,21,27,.38));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  text-shadow: 0 1px 12px #000;
}

.feature-copy {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.feature-copy .section-copy {
  padding: 26px 28px;
}

.experience-card ul,.service-card p {
  padding: 16px 18px;
  background: rgba(92,102,118,.2);
  border-color: rgba(255,255,255,.16);
  box-shadow: none;
}

.experience-card ul {
  margin: 0 -2px;
}

.service-card p {
  margin-top: 18px;
}

.slide {
  background: linear-gradient(135deg,rgba(20,23,30,.34),rgba(4,5,7,.18));
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width:801px) {
  #slide-1 {
    left: 60px;
    width: min(55vw,720px);
  }

  #slide-1 .slide-title {
    margin-left: 0;
  }

  #slide-1 .col-1 {
    margin-left: 0;
    width: 48%;
  }

  #slide-1 .col-2 {
    margin-left: 34px;
    width: 48%;
  }
}

@media (max-width:800px) {
  .slide {
    left: 22px !important;
    right: 22px;
    width: auto !important;
    padding: 20px 18px;
  }

  .slide-title {
    font-size: 56px;
  }

  .slide-desc {
    font-size: 13px;
  }

  .section-copy,.feature-copy .section-copy,.value-copy {
    padding: 20px 18px;
  }
}

.brand-card:nth-child(1) {
  background: linear-gradient(145deg,rgba(108,118,130,.30),rgba(12,15,20,.68)),url('./Fotos/Coco/serv-Coco_Fotos%20coco__A744735.jpg') center/cover;
}

.brand-card:nth-child(2) {
  background: linear-gradient(145deg,rgba(108,118,130,.30),rgba(12,15,20,.68)),url('./Fotos/Taco-King/ser-_MG_1745.jpg') center/cover;
}

.brand-card:nth-child(3) {
  background: linear-gradient(145deg,rgba(108,118,130,.30),rgba(12,15,20,.68)),url('./Fotos/Santo-Campo/Santo%20campo_Fotos_IMG_7280.JPG') center/cover;
}

.editorial-section .section-kicker,.editorial-section .section-title,.editorial-section .section-copy,.editorial-section .principles,.editorial-section .brand-card,.editorial-section .experience-card,.editorial-section .feature-visual,.editorial-section .feature-copy,.editorial-section .service-card,.editorial-section .image-slot,.editorial-section .value-copy,.editorial-section .contact-line {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .85s ease,transform .85s cubic-bezier(.16,1,.3,1);
}

.editorial-section.is-visible .section-kicker,.editorial-section.is-visible .section-title,.editorial-section.is-visible .section-copy,.editorial-section.is-visible .principles,.editorial-section.is-visible .brand-card,.editorial-section.is-visible .experience-card,.editorial-section.is-visible .feature-visual,.editorial-section.is-visible .feature-copy,.editorial-section.is-visible .service-card,.editorial-section.is-visible .image-slot,.editorial-section.is-visible .value-copy,.editorial-section.is-visible .contact-line {
  opacity: 1;
  transform: none;
}

.editorial-section.is-visible .section-title {
  transition-delay: .08s;
}

.editorial-section.is-visible .section-copy,.editorial-section.is-visible .feature-copy {
  transition-delay: .16s;
}

.editorial-section.is-visible .brand-card:nth-child(2),.editorial-section.is-visible .experience-card:nth-child(2),.editorial-section.is-visible .service-card:nth-child(2),.editorial-section.is-visible .image-slot:nth-child(2) {
  transition-delay: .1s;
}

.editorial-section.is-visible .brand-card:nth-child(3),.editorial-section.is-visible .experience-card:nth-child(3),.editorial-section.is-visible .service-card:nth-child(3),.editorial-section.is-visible .image-slot:nth-child(3) {
  transition-delay: .2s;
}

.editorial-section.is-visible .brand-card:nth-child(4),.editorial-section.is-visible .experience-card:nth-child(4),.editorial-section.is-visible .service-card:nth-child(4) {
  transition-delay: .3s;
}

#marcas .section-copy p,#experiencias .section-copy p,#produccion .section-copy p {
  display: none;
}

#somos .section-kicker,#somos .section-title,#somos .section-copy,#somos .principles {
  opacity: 1 !important;
  transform: none !important;
}

#somos {
  min-height: 100svh;
  background: transparent !important;
  border-top: 0;
  padding-top: clamp(118px,15vh,170px);
  padding-bottom: clamp(56px,9vh,100px);
  justify-content: center;
}

#somos .section-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  align-items: end;
}

#somos .section-grid>div:first-child {
  grid-column: 1 / span 2;
}

#somos .section-grid>.section-copy {
  grid-column: 3 / span 2;
  justify-self: end;
}

#somos .section-title {
  font-size: clamp(42px,5vw,72px);
  max-width: 680px;
}

#somos .section-copy {
  max-width: 520px;
}

#somos .hero-contact,#somos .contact-line {
  opacity: 1 !important;
  transform: none !important;
}

#somos .principles {
  margin-left: -3vw;
  margin-right: -3vw;
  margin-top: clamp(34px,5vh,64px);
  border-top-color: rgba(255,255,255,.3);
}

#somos .principles span {
  padding-top: 18px;
  color: #f7ead8;
  border-right-color: rgba(255,255,255,.28);
}

.hero-contact {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  margin: 28px -3vw 0;
}

.hero-contact .contact-line {
  grid-column: span 2;
  width: 100%;
  justify-content: space-between;
  margin: 0;
  border-radius: 0;
  min-height: 56px;
}

.hero-contact .contact-line + .contact-line {
  margin-left: 0;
}

.value-section>div {
  width: 100%;
}

.value-section .hero-contact {
  max-width: none;
  margin-left: -3vw;
  margin-right: -3vw;
}

.hero-contact .contact-line {
  margin-top: 0;
}

.site-footer {
  position: relative;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(24px,6vw,88px) 24px;
  color: #ffffff55;
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: transparent;
}

.site-footer a {
  color: #ffffff70;
  text-decoration: none;
  transition: color .25s;
}

.site-footer a:hover {
  color: #f0b766;
}

.asset-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: #050505;
  opacity: 1;
  transition: opacity .7s ease,visibility .7s ease;
  pointer-events: auto;
}

.asset-loader.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.asset-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(220px,calc(100% - 48px));
  text-align: center;
}

.asset-loader-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: .9;
}

.asset-loader-label {
  color: #f4eee7;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.asset-loader-track {
  width: 100%;
  height: 1px;
  background: #ffffff28;
  overflow: hidden;
}

.asset-loader-progress {
  display: block;
  width: 0;
  height: 100%;
  background: #d6a35d;
  transition: width .35s ease;
}

.asset-loader-percent {
  color: #ffffff70;
  font-size: 9px;
  letter-spacing: 1.5px;
}

html {
  scroll-snap-type: none;
  scroll-padding-top: 0;
}

.cinematic {
  min-height: 100svh;
  height: 100svh;
}

.editorial-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.section-kicker {
  color: #f0ede8a8;
}

.principles span {
  padding-top: 16px;
}

.brand-grid {
  margin-top: 34px !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  align-items: start;
}

.brand-card {
  padding: 24px 22px;
}

.brand-card:nth-child(2) {
  margin-top: 26px;
}

.brand-card:nth-child(3) {
  margin-top: 52px;
}

.experience-grid {
  margin-top: 34px !important;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}

.experience-card {
  padding: 20px 18px;
}

.service-list {
  margin-top: 34px !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.service-card {
  padding: 20px 18px;
}

.section-index {
  position: fixed;
  top: 50%;
  z-index: 30;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
}

.section-index a {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #ffffff70;
  text-decoration: none;
  font-size: 9px;
  letter-spacing: 1px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: color .25s,border-color .25s,background .25s;
}

.section-index a.is-current {
  color: #0a0a0a;
  border-color: #f0ede8;
  background: #f0ede8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 0 0;
  padding: 12px 18px;
  width: max-content;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  transition: background .3s,transform .3s;
}

.hero-cta span {
  font-size: 16px;
  line-height: 0;
}

.hero-cta:hover {
  background: #ffffff18;
  transform: translateY(-3px);
}

#slide-1 .desc-row {
  margin-top: 24px;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px clamp(24px,3.5vw,52px);
  background: linear-gradient(180deg,rgba(0,0,0,.5),transparent);
  z-index: 25;
}

.micro {
  display: none;
}

@media (max-width:800px) {
  html {
    scroll-snap-type: none;
  }

  .section-index {
    right: 12px;
    gap: 6px;
  }

  .section-index a {
    width: 20px;
    height: 20px;
    font-size: 8px;
  }

  .editorial-section {
    min-height: 100svh;
    padding: 82px 22px 56px;
    justify-content: flex-start;
  }

  .section-grid {
    display: grid;
    gap: 24px;
  }

  .section-title {
    font-size: clamp(42px,13vw,62px);
  }

  .section-copy {
    font-size: 14px;
    padding: 18px;
  }

  .principles {
    grid-template-columns: repeat(2,1fr);
    margin-top: 22px;
  }

  .principles span {
    font-size: 18px;
  }

  .brand-grid,.experience-grid,.service-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .brand-card,.brand-card:nth-child(2),.brand-card:nth-child(3) {
    margin-top: 0;
    min-height: 220px;
  }

  .experience-card {
    min-height: 180px;
  }

  .feature-strip {
    display: grid;
  }

  .feature-visual {
    min-height: 260px;
    order: 2;
  }

  .feature-copy {
    order: 1;
  }

  .image-mosaic {
    max-height: none;
    grid-template-columns: 1fr 1fr;
  }

  .image-slot.tall {
    min-height: 230px;
  }

  .image-slot {
    min-height: 110px;
  }

  .service-card {
    min-height: 190px;
  }

  .main-header {
    padding: 16px 18px;
  }

  .main-header .contact-btn {
    font-size: 8px;
    padding: 9px 12px;
  }

  .hero-cta {
    margin-top: 20px;
  }

  .slide {
    left: 22px !important;
    right: 44px !important;
    bottom: 14% !important;
    padding: 22px 18px;
  }

  .slide-title {
    font-size: clamp(48px,14vw,64px);
  }

  #somos {
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .hero-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-contact .contact-line {
    width: 100%;
    justify-content: space-between;
  }

  .site-footer {
    padding: 18px 22px 24px;
    gap: 16px;
    flex-wrap: wrap;
  }
}

/* Restaurant imagery and modal: use the curated set from each concept. */

.brand-carousel .brand-card:nth-child(1) {
  background-image: linear-gradient(180deg,#08080820 5%,#080808f2 86%),url('./Fotos/Coco/at-Coco_Fotos%20coco__A744768.jpg') !important;
}

.brand-carousel .brand-card:nth-child(2) {
  background-image: linear-gradient(180deg,#08080820 5%,#080808f2 86%),url('./Fotos/Taco-King/at-_MG_1699.jpg') !important;
}

.brand-carousel .brand-card:nth-child(3) {
  background-image: linear-gradient(180deg,#08080820 5%,#080808f2 86%),url('./Fotos/Santo-Campo/Santo%20campo_Fotos_IMG_7280.JPG') !important;
}

.image-slot:nth-child(1) {
  background-image: linear-gradient(180deg,#0000,#0009),url('./Fotos/Coco/at-Coco_Fotos%20coco__A744768.jpg') !important;
}

.image-slot:nth-child(2) {
  background-image: linear-gradient(180deg,#0000,#0009),url('./Fotos/Taco-King/at-_MG_1699.jpg') !important;
}

.image-slot:nth-child(3) {
  background-image: linear-gradient(180deg,#0000,#0009),url('./Fotos/Santo-Campo/Santo%20campo_Fotos_IMG_7280.JPG') !important;
}

.detail-modal,.detail-modal * {
  cursor: auto !important;
}

.detail-modal {
  z-index: 1000;
  background: #101114;
  color: #f4eee7;
  border: 1px solid #d6a35d88;
  box-shadow: 0 24px 90px #000b;
}

.modal-layout {
  display: grid;
}

.modal-gallery {
  background: #090a0d;
}

.modal-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.modal-gallery img:first-child {
  grid-row: span 2;
}

.modal-info {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg,#19130e,#0d0f12 72%);
}

.modal-kicker {
  color: #d6a35d;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.modal-info h3 {
  font: 400 clamp(44px,5vw,72px)/.92 Italiana,serif;
  color: var(--cream);
}

.modal-info p {
  color: #c8c0b8;
}

.modal-map {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #d6a35d;
  background: #d6a35d;
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
}

.modal-map span {
  font-size: 16px;
  line-height: 0;
}

.modal-socials {
  display: flex;
  flex-wrap: wrap;
}

.modal-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ffffff35;
  color: #f4eee7;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .25s,background .25s;
}

.modal-social:hover {
  border-color: #d6a35d;
  background: #ffffff0d;
}

.modal-social span {
  color: #d6a35d;
  font-size: 14px;
  line-height: 0;
}

.modal-close-top {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 1px solid #ffffff55;
  background: #101114cc;
  color: #fff;
  line-height: 1;
  border-radius: 50%;
}

@media (max-width:800px) {
  .detail-modal {
    width: calc(100% - 28px);
    max-height: calc(100svh - 28px);
    overflow: auto;
  }

  .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-gallery {
    height: 300px;
    min-height: 300px;
  }

  .modal-info {
    padding: 30px 24px 26px;
  }

  .modal-info h3 {
    font-size: 48px;
  }

  .modal-close-top {
    top: 12px;
    right: 12px;
  }
}

/* Sistema visual unificado: dos módulos, lectura estable y responsive. */

html {
  scroll-behavior: auto;
  overscroll-behavior: none;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  overscroll-behavior: none;
}

*,*::before,*::after {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.slide-title,.section-title,.brand-name,.experience-card h3,.service-card h3,.detail-modal h3 {
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: balance;
}

.slide-desc,.section-copy,.brand-desc,.experience-card li,.service-card p,.value-copy,.fact {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: pretty;
}

.cinematic {
  padding-inline: clamp(22px,4vw,60px);
}

.main-header {
  height: 72px;
  padding-block: 16px;
}

.slide {
  top: clamp(118px,18vh,164px);
  bottom: auto;
  padding: clamp(22px,2.4vw,34px);
  max-width: 760px;
}

#slide-1 {
  left: clamp(22px,4vw,60px);
  width: min(58vw,760px);
}

#slide-1 .slide-title {
  margin-left: 0;
  margin-bottom: 26px;
}

#slide-1 .desc-row {
  gap: clamp(24px,3vw,48px);
  width: 100%;
}

#slide-1 .col-1,#slide-1 .col-2 {
  margin-left: 0;
  width: auto;
  flex: 1;
  max-width: 270px;
}

.slide-desc {
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: .1px;
}

.hero-cta {
  margin-top: 24px;
}

body.has-scrolled .slide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
}

.editorial-section {
  min-height: 100svh;
  height: auto;
  padding: clamp(72px,9vh,108px) clamp(24px,6vw,88px) clamp(56px,8vh,88px);
  justify-content: center;
}

.section-kicker {
  margin-bottom: 28px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 3.5px;
}

.section-grid {
  grid-template-columns: minmax(0,1fr) minmax(260px,.72fr);
  gap: clamp(28px,6vw,84px);
  align-items: center;
  min-width: 0;
}

.section-title {
  font-size: clamp(48px,5.3vw,82px);
  line-height: .97;
  letter-spacing: -.8px;
  max-width: 720px;
}

.section-title em {
  font-size: .72em;
  line-height: 1.04;
}

.section-copy {
  width: 100%;
  max-width: 520px;
  padding: 22px 24px;
  font-size: 15px;
  line-height: 1.62;
  text-align: left;
}

.section-copy p+p {
  margin-top: 18px;
}

.principles {
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin-top: 34px;
}

.principles span {
  min-width: 0;
  padding: 16px 16px 0 0;
  font-size: clamp(16px,1.6vw,23px);
  line-height: 1.05;
}

.principles span+span {
  padding-left: 16px;
}

.brand-grid,.experience-grid,.service-list {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  min-width: 0;
}

.brand-card,.service-card,.experience-card {
  min-width: 0;
  min-height: 0;
  padding: 22px 20px;
}

.brand-card {
  min-height: 220px;
}

.brand-card:nth-child(2),.brand-card:nth-child(3) {
  margin-top: 0;
}

.brand-name {
  font-size: clamp(30px,3.2vw,52px);
  line-height: .98;
}

.brand-desc {
  font-size: 13px;
  line-height: 1.5;
}

.detail-trigger {
  margin-top: 20px;
  padding: 9px 13px;
}

.experience-card {
  min-height: 174px;
}

.experience-card h3 {
  max-width: 250px;
  font-size: clamp(24px,2.25vw,34px);
  line-height: .98;
}

.experience-card ul {
  font-size: 12px;
  line-height: 1.55;
}

#experiencias .section-copy p,#marcas .section-copy p,#produccion .section-copy p {
  display: block;
}

#experiencias .section-copy,#marcas .section-copy,#produccion .section-copy {
  min-height: 0;
}

.feature-strip {
  grid-template-columns: minmax(260px,.82fr) minmax(0,1.18fr);
  gap: clamp(28px,6vw,84px);
  align-items: center;
}

.feature-visual {
  min-height: 360px;
  background: linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.42)),url('./Fotos/Coco/at-Coco_Fotos%20coco__A744768.jpg') center/cover no-repeat;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 2px;
}

.feature-copy {
  max-width: 620px;
}

.feature-copy .section-title {
  margin-bottom: 24px;
}

.feature-copy .section-copy {
  max-width: none;
}

.facts {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-top: 24px;
}

.fact {
  padding: 14px 0;
  font-size: 12px;
}

.fact strong {
  font-size: 23px;
}

.service-list {
  gap: 12px;
  background: none;
  border: 0;
}

.service-card {
  min-height: 156px;
  border: 1px solid rgba(255,255,255,.2);
}

.service-card h3 {
  font-size: clamp(22px,2.1vw,30px);
  line-height: 1;
}

.service-card p {
  font-size: 12px;
  line-height: 1.5;
}

.image-mosaic {
  grid-template-columns: 1.25fr .75fr;
  gap: 12px;
  margin-top: 34px;
  max-height: 36vh;
}

.image-slot {
  min-height: 140px;
}

.image-slot.tall {
  min-height: 280px;
}

.value-section {
  min-height: 100svh;
}

.value-section .section-title {
  max-width: 760px;
  font-size: clamp(44px,5vw,74px);
}

.value-copy {
  max-width: 600px;
  margin: 24px auto 0;
  font-size: 15px;
  line-height: 1.65;
}

.section-index {
  right: clamp(12px,2.2vw,28px);
  gap: 8px;
}

.page-controls {
  position: fixed;
  right: clamp(48px,6vw,92px);
  bottom: 24px;
  z-index: 30;
  display: flex;
  gap: 6px;
  pointer-events: auto;
}

.page-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(8,10,14,.38);
  color: #fff;
  font: 500 14px/1 Outfit,sans-serif;
  cursor: pointer !important;
  transition: background .25s,border-color .25s;
}

.page-controls button:hover {
  background: rgba(255,255,255,.16);
  border-color: #fff;
}

.brand-card:nth-child(1) {
  background-image: linear-gradient(145deg,rgba(108,118,130,.30),rgba(12,15,20,.68)),url('./Fotos/Coco/serv-Coco_Fotos%20coco__A744735.jpg');
}

.brand-card:nth-child(2) {
  background-image: linear-gradient(145deg,rgba(108,118,130,.30),rgba(12,15,20,.68)),url('./Fotos/Coco/at-Coco_Fotos%20coco__A744682.jpg');
}

.brand-card:nth-child(3) {
  background-image: linear-gradient(145deg,rgba(108,118,130,.30),rgba(12,15,20,.68)),url('./Fotos/Coco/at-Coco_Fotos%20coco__A744768.jpg');
}

@media (max-width:800px) {
  .cinematic {
    padding-inline: 18px;
  }

  .main-header {
    height: 64px;
    padding-block: 14px;
  }

  .brand {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .contact-btn {
    padding: 9px 12px;
  }

  .slide {
    top: 98px;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
    max-width: none;
    padding: 20px 18px;
  }

  #slide-1 .slide-title {
    font-size: clamp(46px,13vw,64px);
    line-height: .96;
    margin-bottom: 20px;
  }

  #slide-1 .desc-row {
    display: block;
  }

  #slide-1 .col-1,#slide-1 .col-2 {
    display: block;
    width: auto;
    max-width: 330px;
  }

  #slide-1 .col-2 {
    margin-top: 12px;
  }

  .slide-desc {
    font-size: 13px;
    line-height: 1.52;
  }

  .hero-cta {
    margin-top: 20px;
  }

  .editorial-section {
    min-height: 100svh;
    padding: 76px 22px 56px;
    justify-content: flex-start;
  }

  .section-grid,.feature-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title {
    font-size: clamp(42px,12.5vw,62px);
    line-height: .98;
  }

  .section-copy {
    max-width: none;
    padding: 18px;
    font-size: 14px;
    line-height: 1.58;
  }

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

  .principles span {
    font-size: 18px;
    padding: 14px 10px 0 0;
  }

  .principles span+span {
    padding-left: 10px;
  }

  .brand-grid,.experience-grid,.service-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .brand-card,.experience-card,.service-card {
    min-height: 0;
  }

  .brand-card {
    min-height: 210px;
  }

  .experience-card {
    min-height: 150px;
  }

  .feature-visual {
    min-height: 250px;
    order: 2;
  }

  .feature-copy {
    order: 1;
  }

  .facts {
    gap: 10px;
  }

  .image-mosaic {
    grid-template-columns: 1fr 1fr;
    max-height: none;
  }

  .image-slot.tall {
    min-height: 230px;
  }

  .image-slot {
    min-height: 110px;
  }

  .section-index {
    right: 9px;
    gap: 5px;
  }

  .section-index a {
    width: 19px;
    height: 19px;
    font-size: 7px;
  }

  .page-controls {
    right: 58px;
    bottom: 18px;
  }
}

/* Hero por palabras: conserva la unidad visual y evita cortes letra por letra. */

.slide-title .word {
  display: inline-block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity .72s cubic-bezier(.25,1,.5,1),transform .72s cubic-bezier(.25,1,.5,1),filter .72s cubic-bezier(.25,1,.5,1);
}

.slide.active .slide-title .word {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

#slide-1 .slide-title {
  font-size: clamp(46px,5.6vw,78px);
  line-height: .98;
  max-width: 760px;
  letter-spacing: -.5px;
}

.route-carousel {
  display: grid !important;
  gap: 14px !important;
  align-items: stretch;
}

.route-carousel .experience-card {
  min-height: 250px;
  cursor: pointer;
  transition: opacity .35s,transform .35s,border-color .35s,background .35s;
}

.route-carousel .experience-card:not(.is-featured) {
  opacity: .62;
  transform: scale(.985);
}

.route-carousel .experience-card.is-featured {
  border-color: #d6a35d;
  background: linear-gradient(145deg,rgba(154,112,57,.28),rgba(18,22,28,.42));
  box-shadow: 0 22px 55px rgba(0,0,0,.22);
}

.route-carousel .experience-card h3 {
  max-width: 420px;
  font-size: clamp(30px,3vw,46px);
}

.route-carousel .experience-card:not(.is-featured) h3 {
  font-size: clamp(24px,2vw,32px);
}

.route-carousel-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.route-carousel-nav button {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: transparent;
  color: #f4eee7;
  font: 500 10px Outfit,sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
}

.route-carousel-nav button[aria-pressed="true"] {
  background: #d6a35d;
  border-color: #d6a35d;
  color: #0a0a0a;
}

.route-carousel .detail-trigger {
  margin-top: 20px;
}

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

.route-carousel .experience-card,.route-carousel .experience-card:not(.is-featured) {
  min-height: 250px !important;
  transform: none;
  opacity: 1;
}

.route-carousel .experience-card:not(.is-featured) {
  background: rgba(16,19,24,.28);
  border-color: rgba(255,255,255,.22);
}

.route-carousel .experience-card h3,.route-carousel .experience-card:not(.is-featured) h3 {
  font-size: clamp(28px,2.6vw,42px);
  max-width: 420px;
}

.service-accordion {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 10px !important;
  background: transparent;
  border: 0;
}

.service-accordion .service-card {
  min-height: 94px !important;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  transition: min-height .35s,background .35s,border-color .35s;
}

.service-accordion .service-card h3 {
  font-size: clamp(22px,2vw,30px);
  line-height: 1.02;
}

.service-accordion .service-card p {
  display: none;
  margin: 12px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: none;
}

.service-accordion .service-card.is-open {
  grid-column: 1/-1;
  min-height: 150px !important;
  background: linear-gradient(145deg,rgba(154,112,57,.2),rgba(18,22,28,.42));
  border-color: #d6a35d;
}

.service-accordion .service-card.is-open p {
  display: block;
  grid-column: 2/-1;
}

.service-accordion .service-card .detail-trigger {
  margin: 0;
  white-space: nowrap;
}

.service-showcase {
  display: grid !important;
  grid-template-columns: minmax(260px,.72fr) minmax(390px,1.28fr) !important;
  gap: clamp(28px,7vw,92px) !important;
  background: transparent !important;
  border: 0 !important;
  align-items: stretch;
}

.service-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
}

.service-showcase-list .service-card {
  min-height: 62px !important;
  padding: 15px 18px !important;
  display: grid !important;
  grid-template-columns: 34px 1fr !important;
  gap: 12px !important;
  align-items: center;
  border: 1px solid rgba(255,255,255,.22) !important;
  background: rgba(22,25,31,.28) !important;
  cursor: pointer;
  transition: background .45s,border-color .45s,transform .45s,opacity .45s;
}

.service-showcase-list .service-card h3 {
  font: 500 14px/1.15 Outfit,sans-serif !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-showcase-list .service-card p,.service-showcase-list .service-card .detail-trigger {
  display: none !important;
}

.service-showcase-list .service-card:not(.is-current) {
  opacity: .55;
}

.service-showcase-list .service-card.is-current {
  opacity: 1;
  transform: translateX(10px);
  border-color: #d6a35d !important;
  background: linear-gradient(100deg,rgba(154,112,57,.3),rgba(18,22,28,.4)) !important;
}

.service-showcase-panel {
  min-height: 390px;
  padding: clamp(28px,4vw,58px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg,rgba(108,118,130,.24),rgba(12,15,20,.48));
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 24px 65px rgba(0,0,0,.22);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  transition: opacity .3s,transform .3s;
}

.service-showcase-panel.is-changing {
  opacity: .35;
  transform: translateY(8px);
}

.service-showcase-panel .panel-index {
  color: #d6a35d;
  font-size: 10px;
  letter-spacing: 3px;
}

.service-showcase-panel h3 {
  max-width: 520px;
  margin-top: 24px;
  font: 400 clamp(34px,4vw,64px)/.95 Italiana,serif;
  color: var(--cream);
}

.service-showcase-panel p {
  max-width: 520px;
  margin-top: 20px;
  color: #f0ede8;
  font-size: 15px;
  line-height: 1.7;
}

.service-showcase-panel .panel-hint {
  color: #ffffff80;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-carousel {
  grid-template-columns: minmax(0,1.45fr) minmax(220px,.72fr) minmax(220px,.72fr) !important;
  gap: 12px !important;
  align-items: stretch;
}

.brand-carousel .brand-card {
  min-height: 318px !important;
  margin: 0 !important;
  cursor: pointer;
  transition: opacity .4s,transform .4s,border-color .4s,filter .4s;
}

.brand-carousel .brand-card.is-featured {
  grid-row: span 2;
  min-height: 648px !important;
  border-color: #d6a35d;
  box-shadow: 0 24px 70px rgba(0,0,0,.3);
  transform: translateY(-2px);
}

.brand-carousel .brand-card:not(.is-featured) {
  opacity: .62;
  filter: saturate(.75);
  transform: scale(.985);
}

.brand-carousel .brand-card:not(.is-featured):hover {
  opacity: .9;
  filter: none;
  transform: scale(.995);
}

.brand-carousel-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.brand-carousel-nav button {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: transparent;
  color: #f4eee7;
  font: 500 10px Outfit,sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s,border-color .25s,color .25s;
}

.brand-carousel-nav button[aria-pressed="true"] {
  background: #d6a35d;
  border-color: #d6a35d;
  color: #0a0a0a;
}

.brand-carousel {
  position: relative;
  height: 520px;
  display: block !important;
  overflow: visible;
}

.brand-carousel::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(44vw,500px);
  height: min(44vw,500px);
  border: 1px solid rgba(214,163,93,.22);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 90px rgba(214,163,93,.08);
  pointer-events: none;
}

.editorial-section.is-visible .brand-carousel .brand-card {
  position: absolute;
  left: 50%;
  top: 18px;
  width: min(370px,31vw);
  height: 360px;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 24px 25px;
  transform-origin: center center;
  transition: transform .8s cubic-bezier(.16,1,.3,1),opacity .55s ease,filter .55s ease,border-color .55s ease,box-shadow .55s ease;
  will-change: transform;
  overflow: hidden;
}

.editorial-section.is-visible .brand-carousel .brand-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.04) 15%,rgba(3,5,8,.9) 100%);
  pointer-events: none;
}

.editorial-section.is-visible .brand-carousel .brand-card>div,.editorial-section.is-visible .brand-carousel .brand-card>.detail-trigger {
  position: relative;
  z-index: 1;
}

.editorial-section.is-visible .brand-carousel .brand-card.is-featured {
  z-index: 5;
  opacity: 1;
  filter: none;
  transform: translateX(-50%) translateY(0) scale(1) rotateY(0);
  border-color: #e2b56d;
  box-shadow: 0 28px 70px rgba(0,0,0,.42),0 0 0 1px rgba(226,181,109,.14);
}

.editorial-section.is-visible .brand-carousel .brand-card.is-left {
  z-index: 3;
  opacity: .7;
  filter: saturate(.8);
  transform: translateX(calc(-50% - 285px)) translateY(22px) scale(.76) rotateY(14deg);
}

.editorial-section.is-visible .brand-carousel .brand-card.is-right {
  z-index: 3;
  opacity: .7;
  filter: saturate(.8);
  transform: translateX(calc(-50% + 285px)) translateY(22px) scale(.76) rotateY(-14deg);
}

.editorial-section.is-visible .brand-carousel .brand-card.is-far-left {
  z-index: 2;
  opacity: .32;
  filter: saturate(.6);
  transform: translateX(calc(-50% - 490px)) translateY(36px) scale(.56) rotateY(22deg);
}

.editorial-section.is-visible .brand-carousel .brand-card.is-far-right {
  z-index: 2;
  opacity: .32;
  filter: saturate(.6);
  transform: translateX(calc(-50% + 490px)) translateY(36px) scale(.56) rotateY(-22deg);
}

.brand-carousel .brand-card:not(.is-featured) .brand-desc,.brand-carousel .brand-card:not(.is-featured) .detail-trigger {
  opacity: 0;
  pointer-events: none;
}

.brand-carousel .brand-card.is-featured .brand-name {
  font-size: clamp(38px,3.8vw,58px);
  line-height: .92;
  text-shadow: 0 4px 24px rgba(0,0,0,.45);
}

.brand-carousel .brand-card.is-featured .brand-desc,.brand-carousel .brand-card.is-featured .detail-trigger {
  opacity: 1;
  pointer-events: auto;
}

.brand-carousel-nav {
  position: relative;
  z-index: 8;
  justify-content: center;
  margin-top: -165px;
}

.brand-carousel-nav::before {
  content: 'Selecciona un espacio';
  width: 100%;
  margin-bottom: 3px;
  color: #ffffff70;
  font-size: 9px;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width:800px) {
  #slide-1 .slide-title {
    font-size: clamp(42px,11vw,58px);
    max-width: 100%;
  }

  .service-accordion {
    grid-template-columns: 1fr !important;
  }

  .service-accordion .service-card.is-open {
    grid-column: auto;
  }

  .brand-carousel {
    height: 470px !important;
  }

  .brand-carousel::before {
    width: 340px;
    height: 340px;
  }

  .editorial-section.is-visible .brand-carousel .brand-card {
    width: calc(100vw - 76px);
    height: 360px;
    top: 12px;
  }

  .editorial-section.is-visible .brand-carousel .brand-card.is-featured {
    height: 360px !important;
    min-height: 360px !important;
  }

  .editorial-section.is-visible .brand-carousel .brand-card.is-left {
    opacity: .28;
    transform: translateX(calc(-50% - 70vw)) translateY(38px) scale(.68) rotateY(18deg);
  }

  .editorial-section.is-visible .brand-carousel .brand-card.is-right {
    opacity: .28;
    transform: translateX(calc(-50% + 70vw)) translateY(38px) scale(.68) rotateY(-18deg);
  }

  .editorial-section.is-visible .brand-carousel .brand-card.is-far-left,.editorial-section.is-visible .brand-carousel .brand-card.is-far-right {
    opacity: 0;
    transform: translateX(-50%) scale(.45);
  }

  .brand-carousel .brand-card.is-featured .brand-name {
    font-size: 48px;
  }

  .brand-carousel-nav {
    margin-top: -145px;
  }

  .route-carousel .experience-card:not(.is-featured) {
    display: flex;
  }

  .route-carousel {
    grid-template-columns: 1fr !important;
  }

  .service-showcase {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .service-showcase-list {
    order: 2;
  }

  .service-showcase-panel {
    order: 1;
    min-height: 300px;
  }

  .service-showcase-list .service-card.is-current {
    transform: none;
  }
}

/* Phase 3 hero: the first editorial section is the opening viewport. */

.editorial-content {
  padding-top: 0 !important;
}

@media (max-width:800px) {
  #somos .section-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #somos .section-grid>div:first-child,#somos .section-grid>.section-copy {
    grid-column: auto;
    justify-self: stretch;
  }

  .hero-contact,.value-section .hero-contact {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-contact .contact-line {
    grid-column: 1;
  }
}

@media (min-width:801px) {
  .main-header {
    padding-left: 40px;
    padding-right: 40px;
  }

  .editorial-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  #somos .section-copy {
    max-width: 600px;
  }

  #somos .principles {
    margin-left: 0;
    margin-right: 0;
  }

  .section-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 0;
    align-items: end;
  }

  .section-grid>.section-title {
    grid-column: 1 / span 2;
  }

  .section-grid>.section-copy {
    grid-column: 3 / span 2;
    justify-self: end;
    max-width: 600px;
    width: 100%;
  }

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

  .feature-strip>.feature-visual {
    grid-column: 1;
  }

  .feature-strip>.feature-copy {
    grid-column: 2 / span 3;
    justify-self: end;
    max-width: 600px;
    width: 100%;
  }

  .principles {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-contact {
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer {
    padding-left: 40px;
    padding-right: 40px;
  }

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

  .fact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .fact:first-child {
    padding-left: 0;
  }

  .fact:last-child {
    padding-right: 0;
  }

  #experiencias .route-carousel-nav {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    margin-top: 14px;
  }

  #experiencias .route-carousel-nav button {
    width: 100%;
    text-align: left;
  }

  #produccion .service-showcase {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 0 !important;
  }

  #produccion .service-showcase-list {
    grid-column: 1 / span 2;
    padding-right: 18px;
  }

  #produccion .service-showcase-panel {
    grid-column: 3 / span 2;
    min-width: 0;
  }

  #contacto {
    min-height: calc(100svh - 54px) !important;
  }

  #contacto .hero-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 24px auto 0;
    max-width: none;
  }

  #contacto .hero-contact .contact-line {
    width: auto;
    min-height: 0;
    padding: 12px 18px;
    border-radius: 999px;
    grid-column: auto;
  }

  #somos .hero-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 24px auto 0;
    max-width: 600px;
  }

  #somos .hero-contact .contact-line {
    width: auto;
    min-height: 0;
    padding: 12px 18px;
    border-radius: 999px;
    grid-column: auto;
  }

  .brand-carousel .detail-trigger,.brand-carousel .brand-card.is-featured .detail-trigger {
    align-self: center;
  }

  .page-controls {
    bottom: 72px;
  }
}

@media (max-width:800px) {
  #contacto {
    min-height: calc(100svh - 64px) !important;
  }

  #contacto .hero-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  #contacto .hero-contact .contact-line {
    width: auto;
    min-height: 0;
    padding: 12px 14px;
    border-radius: 999px;
  }

  #somos .hero-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }

  #somos .hero-contact .contact-line {
    width: auto;
    min-height: 0;
    padding: 12px 14px;
    border-radius: 999px;
  }

  .brand-carousel .detail-trigger,.brand-carousel .brand-card.is-featured .detail-trigger {
    align-self: center;
  }

  .page-controls {
    bottom: 64px;
  }
}

@media (min-width:801px) {
  #somos .hero-contact {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
  }

  #somos .hero-contact .contact-line {
    grid-column: auto;
    justify-self: start;
    width: auto;
  }

  #contacto .hero-contact {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
  }

  #contacto .hero-contact .contact-line {
    grid-column: auto;
    justify-self: center;
  }

  #contacto .hero-contact .contact-line:first-child {
    grid-column: 2;
  }

  #contacto .hero-contact .contact-line:last-child {
    grid-column: 3;
  }

  .page-controls {
    right: 24px;
    bottom: 52px;
  }
}

@media (max-width:800px) {
  .page-controls {
    right: 18px;
    bottom: 44px;
  }
}

.service-showcase-panel .panel-hint {
  display: none !important;
}

@media (min-width:801px) {
  #produccion .service-showcase-panel {
    min-height: 320px;
    padding: 28px 32px;
  }

  #produccion .service-showcase-panel h3 {
    font-size: clamp(30px,3.2vw,50px);
    margin-top: 16px;
  }

  #produccion .service-showcase-panel p {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 14px;
  }

  #produccion .service-showcase-list .service-card {
    min-height: 54px !important;
    padding: 12px 16px !important;
  }
}

@media (max-width:800px) {
  #produccion .service-showcase-panel {
    min-height: 260px;
    padding: 24px;
  }

  #produccion .service-showcase-panel h3 {
    font-size: 34px;
  }

  #produccion .service-showcase-panel p {
    font-size: 14px;
    line-height: 1.55;
  }
}

/* Modal editorial compacto: la ficha respira sin dominar la página. */

html:has(.detail-modal[open]),body:has(.detail-modal[open]) {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body:has(.detail-modal[open]) .cursor-inner,body:has(.detail-modal[open]) .cursor-outer {
  opacity: 0 !important;
}

.detail-modal {
  width: min(880px,calc(100% - 48px));
  max-width: 880px;
  max-height: calc(100svh - 72px);
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  border-color: #d6a35d99;
}

.detail-modal::backdrop {
  background: #000d;
  backdrop-filter: blur(10px);
}

.modal-layout {
  grid-template-columns: minmax(0,1fr) minmax(300px,.92fr);
  min-height: 0;
  height: min(540px,calc(100svh - 72px));
  max-height: calc(100svh - 72px);
}

.modal-gallery {
  grid-template-columns: 1.08fr .92fr;
  grid-template-rows: 1fr 1fr;
  min-height: 0;
  height: 100%;
  gap: 7px;
}

.modal-info {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 34px 38px 30px;
  justify-content: center;
}

.modal-info h3 {
  margin-top: 14px;
  font-size: clamp(36px,4.3vw,58px);
  line-height: .94;
}

.modal-info p {
  margin-top: 17px;
  font-size: 13px;
  line-height: 1.58;
}

.modal-map {
  margin-top: 22px;
  padding: 11px 13px;
  font-size: 9px;
  letter-spacing: 1.45px;
}

.modal-socials {
  gap: 8px;
  margin-top: 10px;
}

.modal-social {
  padding: 8px 11px;
  font-size: 8px;
  letter-spacing: 1.25px;
}

.modal-close-top {
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  font-size: 20px;
}

.modal-venue-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  background: #101114dd;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer !important;
  transition: border-color .25s,background .25s;
}

.modal-venue-control:hover {
  border-color: #d6a35d;
  background: #21180f;
}

.modal-venue-prev {
  left: 12px;
}

.modal-venue-next {
  right: 12px;
}

@media (max-width:800px) {
  .detail-modal {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
  }

  .modal-layout {
    display: block;
    height: auto;
    max-height: calc(100svh - 24px);
    overflow: hidden;
  }

  .modal-gallery {
    height: 220px;
    min-height: 220px;
  }

  .modal-info {
    max-height: calc(100svh - 244px);
    padding: 28px 22px 22px;
  }

  .modal-info h3 {
    font-size: 42px;
  }

  .modal-venue-prev {
    left: 8px;
  }

  .modal-venue-next {
    right: 8px;
  }
}

.detail-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  align-self: center;
  justify-self: center;
}

.modal-gallery {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.modal-gallery img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .65s ease;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.modal-gallery img.is-active {
  opacity: 1;
}

.modal-gallery.is-swiping {
  cursor: grabbing;
}

.modal-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,#0000 58%,#0008);
  pointer-events: none;
}

.modal-gallery-control {
  position: absolute;
  bottom: 16px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #0b0c0dcc;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer !important;
}

.modal-gallery-control:hover {
  border-color: #d6a35d;
  background: #17120eee;
}

.modal-gallery-prev {
  right: 52px;
}

.modal-gallery-next {
  right: 16px;
}

.modal-gallery-count {
  position: absolute;
  bottom: 24px;
  left: 16px;
  z-index: 2;
  color: #fff;
  font-size: 9px;
  letter-spacing: 2px;
}

#marcas {
  isolation: isolate;
}

#marcas:not(.is-visible) .brand-carousel .brand-card {
  visibility: hidden;
}

.brand-carousel .brand-card {
  backface-visibility: hidden;
}

#marcas .brand-carousel .brand-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  contain: layout;
  will-change: auto;
}

#marcas .brand-carousel .brand-card.is-featured,#marcas .brand-carousel .brand-card.is-left,#marcas .brand-carousel .brand-card.is-right,#marcas .brand-carousel .brand-card.is-far-left,#marcas .brand-carousel .brand-card.is-far-right {
  transition: none !important;
}

#evento .feature-visual {
  background-image: linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.46)),url('./Fotos/Coco/at-Coco_Fotos%20coco__A744682.jpg') !important;
  background-position: center;
  background-size: cover;
}

#historia .image-slot:nth-child(1) {
  background-image: linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.42)),url('./Fotos/Coco/at-noche-Coco_Fotos%20coco_IMG_4309.png') !important;
}

#historia .image-slot:nth-child(2) {
  background-image: linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.42)),url('./Fotos/Taco-King/at-_MG_1731.jpg') !important;
}

#historia .image-slot:nth-child(3) {
  background-image: linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.42)),url('./Fotos/Santo-Campo/Santo%20campo_Fotos_IMG_7292.JPG') !important;
}

#marcas .brand-carousel .brand-card:nth-child(3) {
  background-image: linear-gradient(145deg,rgba(108,118,130,.30),rgba(12,15,20,.68)),url('./Fotos/Santo-Campo/Santo%20campo_Fotos_IMG_7303.JPG') !important;
  background-position: center;
  background-size: cover;
}

body.is-page-paging #evento .feature-visual {
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Galerías curadas de cliente: interacción visual sin saturar la lectura. */

#somos .principles span[role="button"] {
  position: relative;
  display: flex;
  min-height: 136px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
  background-image: var(--principle-image);
  background-position: center;
  background-size: cover;
  transition: border-color .22s ease,background .22s ease,color .22s ease,transform .22s ease;
}

#somos .principles span[role="button"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.68));
  opacity: .74;
  transition: opacity .22s ease;
}

#somos .principles span[role="button"]::after {
  content: none;
}

#somos .principles span[role="button"] strong,#somos .principles span[role="button"] small {
  position: relative;
  z-index: 1;
}

#somos .principles span[role="button"] strong {
  font: inherit;
}

#somos .principles span[role="button"] small {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

#somos .principles span[role="button"]:hover,#somos .principles span[role="button"]:focus-visible {
  border-color: rgba(255,255,255,.56);
  color: #fff;
  transform: translateY(-2px);
}

#somos .principles span[role="button"]:hover::before,#somos .principles span[role="button"]:focus-visible::before {
  opacity: .52;
}

#somos .principles span[role="button"]:hover::after,#somos .principles span[role="button"]:focus-visible::after {
  transform: none;
}

#evento .feature-visual.is-carousel-ready {
  position: relative;
  overflow: hidden;
  background-image: var(--feature-image) !important;
  transition: background-image .4s ease;
}

#evento .feature-visual.is-carousel-ready::after {
  content: attr(data-slide);
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.38);
  color: rgba(255,255,255,.72);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.feature-gallery-trigger,.gallery-trigger {
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.34);
  color: #fff;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: border-color .2s ease,background .2s ease,transform .2s ease;
}

.feature-gallery-trigger {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 12px;
  backdrop-filter: blur(12px);
}

.gallery-trigger {
  align-self: flex-start;
  margin-top: 22px;
  padding: 11px 13px;
}

.service-mini-carousel {
  position: relative;
  width: min(360px,100%);
  height: 132px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.28);
  color: #fff;
  text-align: left;
}

.service-mini-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .55s ease;
}

.service-mini-carousel img.is-active {
  opacity: 1;
}

.service-mini-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.6));
}

.service-mini-count,.service-mini-cta {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.service-mini-count {
  left: 12px;
  bottom: 12px;
}

.service-mini-cta {
  right: 12px;
  bottom: 12px;
  padding: 8px 9px;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(0,0,0,.34);
}

.feature-gallery-trigger:hover,.feature-gallery-trigger:focus-visible,.gallery-trigger:hover,.gallery-trigger:focus-visible,.service-mini-carousel:hover,.service-mini-carousel:focus-visible {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.detail-modal.is-content-gallery .modal-map,.detail-modal.is-content-gallery .modal-socials,.detail-modal.is-content-gallery .modal-venue-control {
  display: none !important;
}

.detail-modal.is-content-gallery .modal-gallery img {
  object-position: center;
}

.detail-modal.is-content-gallery .modal-kicker {
  padding-right: 0;
}

/* El hero comparte una misma línea base para que ninguna diapositiva invada el header. */

.cinematic .slide {
  top: clamp(154px,29vh,236px);
  bottom: auto !important;
}

.brand-logo {
  width: 48px;
  height: 48px;
}

/* Ajuste editorial: historia, servicios y escalas con una presencia más contenida. */

#historia {
  min-height: 78svh;
  padding-top: clamp(56px,7vh,78px);
  padding-bottom: clamp(40px,5vh,58px);
}

#historia .image-mosaic {
  width: min(1000px,100%);
  max-height: none;
  margin: 50px auto 0;
  grid-template-columns: 1.08fr .96fr .96fr;
  grid-template-rows: 210px;
  gap: 9px;
}

#historia .image-slot {
  min-height: 210px !important;
  height: 210px !important;
}

#historia .image-slot.tall {
  grid-row: auto;
  min-height: 210px !important;
  height: 210px !important;
}

#produccion {
  min-height: 78svh;
  padding-top: clamp(56px,7vh,78px);
  padding-bottom: clamp(40px,5vh,58px);
}

#produccion .section-grid {
  margin-bottom: 4px;
}

#produccion .service-showcase {
  max-width: none;
  width: 100%;
  margin: 26px 0 0 !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 0 !important;
}

#produccion .service-showcase-list {
  grid-column: 1;
  padding-right: 18px;
}

#produccion .service-showcase-panel {
  grid-column: 3;
  min-height: 220px;
  padding: 22px 22px;
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
}

#produccion .service-showcase-panel h3 {
  font-size: clamp(28px,3vw,44px);
  margin-top: 14px;
}

#produccion .service-showcase-panel p {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 12px;
}

#produccion .service-showcase-list .service-card {
  min-height: 48px !important;
  padding: 10px 14px !important;
}

#formatos {
  min-height: 78svh;
  padding-top: clamp(56px,7vh,78px);
  padding-bottom: clamp(40px,5vh,58px);
}

#formatos .experience-grid {
  max-width: none;
  width: 100%;
  margin: 26px 0 0 !important;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}

#formatos .experience-card {
  min-height: 170px;
  padding: 16px 15px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
}

#formatos .experience-card:last-child {
  border-right: 0;
}

@media (min-width:801px) {
  #formatos {
    min-height: 100svh !important;
  }
}

@media (min-width:801px) {
  .editorial-section:not(#contacto) {
    justify-content: flex-start !important;
    padding-top: clamp(128px,16vh,154px) !important;
  }

  .editorial-section:not(#contacto) .section-kicker {
    margin-bottom: 26px;
  }

  .editorial-section:not(#contacto) .section-grid {
    align-items: start !important;
  }

  .editorial-section:not(#contacto) .section-title {
    margin-top: 0 !important;
  }

  #evento .feature-strip {
    align-items: start !important;
  }

  #evento .feature-copy {
    padding-top: 0 !important;
  }

  #somos {
    padding-top: clamp(174px,21vh,204px) !important;
    padding-bottom: 72px !important;
  }

  #somos .section-grid {
    align-items: start !important;
  }

  #somos .section-title {
    max-width: 660px;
  }

  #somos .section-copy {
    padding-top: 10px;
  }

  #somos .hero-contact {
    margin-top: 52px !important;
    gap: 18px !important;
  }

  #somos .principles {
    margin-top: clamp(66px,9vh,92px) !important;
  }
}

@media (max-width:800px) {
  #somos {
    padding-top: 124px !important;
    padding-bottom: 54px !important;
  }

  #somos .section-grid {
    gap: 30px !important;
  }

  #somos .hero-contact {
    margin-top: 36px !important;
    gap: 12px !important;
  }

  #somos .principles {
    margin-top: 44px !important;
  }
}

#formatos .experience-card h3 {
  font-size: 24px;
}

#formatos .experience-card ul {
  font-size: 11px;
  line-height: 1.5;
  padding: 12px 14px;
}

@media (max-width:800px) {
  #historia .image-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 112px 112px;
    gap: 7px;
    margin-top: 24px;
  }

  #historia .image-slot {
    min-height: 112px !important;
    height: 112px !important;
  }

  #historia .image-slot.tall {
    grid-row: span 2;
    min-height: 231px !important;
    height: 231px !important;
  }

  #historia,#produccion,#formatos {
    min-height: 0;
    padding-top: 68px;
    padding-bottom: 48px;
  }

  #produccion .service-showcase {
    grid-template-columns: 1fr !important;
  }

  #produccion .service-showcase-list,#produccion .service-showcase-panel {
    grid-column: auto;
    padding-right: 0;
  }

  #produccion .service-showcase {
    margin-top: 22px !important;
  }

  #produccion .service-showcase-panel {
    min-height: 230px;
    padding: 22px;
  }

  #formatos .experience-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 22px !important;
  }

  #formatos .experience-card {
    min-height: 145px;
    border-right: 1px solid rgba(255,255,255,.2);
  }

  #formatos .experience-card:nth-child(2) {
    border-right: 0;
  }

  #formatos .experience-card:nth-child(3),#formatos .experience-card:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.2);
  }

  .cinematic .slide {
    top: 148px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }
}

@media (max-width:360px) {
  #formatos .experience-grid {
    grid-template-columns: 1fr;
  }

  #formatos .experience-card {
    min-height: 126px;
  }

  #formatos .experience-card:nth-child(2),#formatos .experience-card:nth-child(3),#formatos .experience-card:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.2);
    border-right: 1px solid rgba(255,255,255,.2);
  }

  .page-controls {
    right: 14px;
  }
}

@media (max-width:800px) {
  #marcas .brand-carousel .brand-card.is-featured {
    height: 360px !important;
  }

  #marcas {
    min-height: 0 !important;
    overflow: visible !important;
  }

  #marcas .brand-carousel {
    height: auto !important;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    overflow: visible !important;
  }

  #marcas .brand-carousel::before {
    display: none;
  }

  #marcas .brand-carousel .brand-card,
  #marcas.editorial-section.is-visible .brand-carousel .brand-card {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 220px !important;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
  }

  #marcas .brand-carousel .brand-card.is-featured {
    min-height: 260px !important;
  }

  #marcas .brand-carousel .brand-card .brand-desc,
  #marcas .brand-carousel .brand-card .detail-trigger {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  #marcas .brand-carousel-nav {
    margin-top: 8px !important;
  }
}

/* Modo móvil compacto: cada módulo conserva una sola pantalla para el paginado por secciones. */

@media (max-width:800px) {
  .editorial-section {
    height: 100svh !important;
    min-height: 100svh !important;
    overflow: hidden !important;
    padding: 68px 22px 34px !important;
    justify-content: flex-start !important;
  }

  .editorial-section .section-kicker {
    margin-bottom: 14px !important;
  }

  .editorial-section .section-grid {
    gap: 14px !important;
  }

  .editorial-section .section-title {
    font-size: clamp(38px,10.6vw,52px) !important;
    line-height: .92 !important;
  }

  .editorial-section .section-copy {
    padding: 13px 15px !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
  }

  .editorial-section .section-copy p+p {
    margin-top: 10px !important;
  }

  #somos {
    padding-top: 102px !important;
    padding-bottom: 28px !important;
  }

  #somos .section-grid {
    gap: 16px !important;
  }

  #somos .section-title {
    font-size: clamp(42px,12vw,58px) !important;
  }

  #somos .hero-contact {
    margin-top: 18px !important;
    gap: 8px !important;
  }

  #somos .hero-contact .contact-line {
    padding: 10px 11px !important;
    font-size: 9px !important;
  }

  #somos .principles {
    margin-top: 24px !important;
  }

  #somos .principles span {
    padding-top: 10px !important;
    font-size: 16px !important;
  }

  #evento .feature-strip {
    gap: 10px !important;
  }

  #evento .feature-visual {
    order: 2;
    min-height: 82px !important;
    height: 82px !important;
  }

  #evento .feature-copy {
    order: 1;
  }

  #evento .feature-copy .section-title {
    font-size: clamp(40px,11vw,54px) !important;
    margin-bottom: 10px !important;
  }

  #evento .feature-copy .section-copy {
    padding: 11px 13px !important;
    font-size: 11.5px !important;
    line-height: 1.38 !important;
  }

  #evento .facts {
    margin-top: 8px !important;
    gap: 6px !important;
  }

  #evento .fact {
    padding: 7px 0 !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  #evento .fact strong {
    margin-bottom: 3px !important;
    font-size: 17px !important;
  }

  #experiencias .section-grid {
    gap: 12px !important;
  }

  #experiencias .route-carousel {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }

  #experiencias .route-carousel .experience-card {
    min-height: 174px !important;
    padding: 14px 12px !important;
  }

  #experiencias .route-carousel .experience-card h3 {
    font-size: 22px !important;
    line-height: .95 !important;
  }

  #experiencias .route-carousel .experience-card ul {
    padding: 9px 10px !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  #experiencias .route-carousel .detail-trigger {
    margin-top: 10px !important;
    padding: 7px 9px !important;
    font-size: 8px !important;
  }

  #experiencias .route-carousel-nav {
    grid-template-columns: repeat(2,minmax(0,1fr));
    display: grid !important;
    gap: 6px !important;
    margin-top: 7px !important;
  }

  #experiencias .route-carousel-nav button {
    padding: 7px 8px !important;
    font-size: 8px !important;
    letter-spacing: .8px !important;
  }

  #marcas {
    overflow: hidden !important;
  }

  #marcas .section-grid {
    gap: 10px !important;
  }

  #marcas .section-copy {
    padding: 9px 12px !important;
  }

  #marcas .brand-carousel {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
    height: auto !important;
    margin-top: 12px !important;
  }

  #marcas .brand-carousel .brand-card,
  #marcas.editorial-section.is-visible .brand-carousel .brand-card {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    height: 174px !important;
    min-height: 174px !important;
    padding: 13px 12px !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #marcas .brand-carousel .brand-card.is-featured {
    height: 174px !important;
    min-height: 174px !important;
  }

  #marcas .brand-carousel .brand-card .brand-type {
    font-size: 8px !important;
    letter-spacing: 1px !important;
  }

  #marcas .brand-carousel .brand-card .brand-name {
    font-size: 28px !important;
    line-height: .9 !important;
  }

  #marcas .brand-carousel .brand-card .brand-desc {
    font-size: 10px !important;
    line-height: 1.25 !important;
    margin-top: 9px !important;
  }

  #marcas .brand-carousel .brand-card .detail-trigger {
    margin-top: 8px !important;
    padding: 7px 8px !important;
    font-size: 8px !important;
  }

  #marcas .brand-carousel-nav {
    display: none !important;
  }

  #produccion .section-grid {
    gap: 10px !important;
  }

  #produccion .service-showcase {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  #produccion .service-showcase-panel {
    grid-column: 1/-1 !important;
    order: 1 !important;
    min-height: 132px !important;
    padding: 15px !important;
  }

  #produccion .service-showcase-panel h3 {
    font-size: 27px !important;
    margin-top: 8px !important;
  }

  #produccion .service-showcase-panel p {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-top: 8px !important;
  }

  #produccion .service-showcase-list {
    grid-column: 1/-1 !important;
    order: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px !important;
  }

  #produccion .service-showcase-list .service-card {
    min-height: 54px !important;
    padding: 9px 10px !important;
    grid-template-columns: 22px 1fr !important;
    gap: 6px !important;
  }

  #produccion .service-showcase-list .service-card h3 {
    font-size: 10px !important;
    letter-spacing: .03em !important;
  }

  #formatos {
    padding-top: 62px !important;
    padding-bottom: 24px !important;
  }

  #formatos .experience-grid {
    margin-top: 12px !important;
    gap: 0 !important;
  }

  #formatos .experience-card {
    min-height: 128px !important;
    padding: 11px 10px !important;
  }

  #formatos .experience-card h3 {
    font-size: 19px !important;
    line-height: .92 !important;
  }

  #formatos .experience-card ul {
    font-size: 9px !important;
    line-height: 1.3 !important;
    padding: 8px 9px !important;
  }

  #historia {
    padding-top: 62px !important;
    padding-bottom: 24px !important;
  }

  #historia .image-mosaic {
    margin-top: 16px !important;
  }

  #contacto {
    min-height: 100svh !important;
    height: 100svh !important;
  }
}

@media (max-width:360px) {
  #marcas .brand-carousel .brand-card,
  #marcas.editorial-section.is-visible .brand-carousel .brand-card,
  #marcas .brand-carousel .brand-card.is-featured {
    height: 160px !important;
    min-height: 160px !important;
    padding: 11px 10px !important;
  }

  #marcas .brand-carousel .brand-card .brand-name {
    font-size: 25px !important;
  }

  #marcas .brand-carousel .brand-card .brand-desc {
    font-size: 9px !important;
    line-height: 1.18 !important;
    margin-top: 6px !important;
  }

  #produccion .service-showcase-panel {
    min-height: 112px !important;
    padding: 12px !important;
  }

  #produccion .service-showcase-panel h3 {
    font-size: 24px !important;
    margin-top: 5px !important;
  }

  #produccion .service-showcase-panel p {
    font-size: 10px !important;
    margin-top: 5px !important;
  }

  #produccion .service-showcase-list .service-card {
    min-height: 48px !important;
    padding: 7px 8px !important;
  }

  #formatos .experience-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  #formatos .experience-card {
    min-height: 116px !important;
    padding: 9px 8px !important;
  }

  #formatos .experience-card h3 {
    font-size: 17px !important;
  }

  #formatos .experience-card ul {
    font-size: 8px !important;
    line-height: 1.2 !important;
    padding: 6px 7px !important;
  }
}

/* Refinamientos finales de composición móvil. */

@media (max-width:800px) {
  /* Hero con lectura amplia y CTAs anclados al pie de la sección. */

  #somos {
    position: relative !important;
    background: radial-gradient(circle at 50% 30%,rgba(177,111,54,.18),transparent 42%),transparent !important;
  }

  #somos .section-kicker {
    text-align: center !important;
    margin-bottom: 18px !important;
  }

  #somos .section-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 26px !important;
    margin-top: 20px !important;
    text-align: center !important;
  }

  #somos .section-grid>div:first-child {
    width: 100% !important;
  }

  #somos .section-title {
    max-width: 360px !important;
    margin: 0 auto !important;
    font-size: clamp(48px,14vw,66px) !important;
    line-height: .9 !important;
    letter-spacing: -1.2px !important;
  }

  #somos .section-title em {
    display: block !important;
    margin-top: 6px !important;
    font-size: .76em !important;
    line-height: .95 !important;
  }

  #somos .section-copy {
    width: min(100%,350px) !important;
    margin: 0 auto !important;
    text-align: left !important;
    padding: 17px 18px !important;
    font-size: 12.5px !important;
    line-height: 1.46 !important;
    background: linear-gradient(135deg,rgba(60,65,76,.28),rgba(18,20,25,.34)) !important;
  }

  #somos .hero-contact {
    position: absolute !important;
    left: 22px;
    right: 22px;
    bottom: 82px;
    margin: 0 !important;
    z-index: 4;
  }

  #somos .principles {
    position: absolute !important;
    left: 22px;
    right: 22px;
    bottom: 22px;
    margin: 0 !important;
  }

  /* En móvil la sección 02 queda dedicada a la idea y a sus cuatro capas. */

  #evento .feature-visual {
    display: none !important;
  }

  #evento .feature-strip {
    display: block !important;
  }

  /* Carrusel móvil: tarjeta central destacada y laterales translúcidos. */

  #marcas .brand-carousel {
    position: relative !important;
    display: block !important;
    height: 238px !important;
    margin-top: 12px !important;
    overflow: hidden !important;
  }

  #marcas .brand-carousel::before {
    display: block !important;
    left: 50%;
    top: 48%;
    width: 230px;
    height: 230px;
  }

  #marcas .brand-carousel .brand-card,
  #marcas.editorial-section.is-visible .brand-carousel .brand-card {
    position: absolute !important;
    inset: 8px auto auto 50% !important;
    width: calc(100vw - 128px) !important;
    height: 210px !important;
    min-height: 210px !important;
    margin: 0 !important;
    padding: 14px 13px !important;
    visibility: visible !important;
    transform-origin: center !important;
    transition: transform .55s ease,opacity .4s ease,filter .4s ease !important;
  }

  #marcas .brand-carousel .brand-card.is-featured {
    z-index: 5 !important;
    opacity: 1 !important;
    filter: none !important;
    transform: translateX(-50%) !important;
    border-color: #e2b56d !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.38) !important;
  }

  #marcas .brand-carousel .brand-card.is-left {
    z-index: 3 !important;
    opacity: .38 !important;
    filter: saturate(.65) !important;
    transform: translateX(calc(-50% - 142px)) scale(.72) !important;
  }

  #marcas .brand-carousel .brand-card.is-right {
    z-index: 3 !important;
    opacity: .38 !important;
    filter: saturate(.65) !important;
    transform: translateX(calc(-50% + 142px)) scale(.72) !important;
  }

  #marcas .brand-carousel .brand-card.is-far-left,#marcas .brand-carousel .brand-card.is-far-right {
    z-index: 2 !important;
    opacity: 0 !important;
    transform: translateX(-50%) scale(.6) !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-featured {
    transform: translateX(-50%) !important;
    opacity: 1 !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-left {
    transform: translateX(calc(-50% - 142px)) scale(.72) !important;
    opacity: .38 !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-right {
    transform: translateX(calc(-50% + 142px)) scale(.72) !important;
    opacity: .38 !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-far-left,#marcas.editorial-section.is-visible .brand-carousel .brand-card.is-far-right {
    transform: translateX(-50%) scale(.6) !important;
    opacity: 0 !important;
  }

  #marcas .brand-carousel .brand-card:not(.is-featured) .brand-desc,#marcas .brand-carousel .brand-card:not(.is-featured) .detail-trigger {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  #marcas .brand-carousel .brand-card.is-featured .brand-name {
    font-size: 34px !important;
    line-height: .9 !important;
  }

  #marcas .brand-carousel .brand-card.is-featured .brand-desc {
    font-size: 10px !important;
    line-height: 1.25 !important;
    margin-top: 8px !important;
    opacity: 1 !important;
  }

  #marcas .brand-carousel .brand-card.is-featured .detail-trigger {
    margin-top: 9px !important;
    padding: 7px 9px !important;
    font-size: 8px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  #marcas .brand-carousel-nav {
    display: none !important;
  }

  /* Historia: tres marcos equivalentes, sin una imagen dominante. */

  #historia .image-mosaic {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    grid-template-rows: 112px !important;
    gap: 7px !important;
    margin-top: 16px !important;
  }

  #historia .image-slot,#historia .image-slot.tall {
    grid-row: auto !important;
    min-height: 112px !important;
    height: 112px !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #111 !important;
  }
}

@media (max-width:360px) {
  #somos .hero-contact {
    bottom: 78px;
  }

  #somos .principles {
    bottom: 18px;
  }

  #evento .feature-visual {
    display: none !important;
  }

  #marcas .brand-carousel {
    height: 214px !important;
  }

  #marcas .brand-carousel::before {
    width: 205px;
    height: 205px;
  }

  #marcas .brand-carousel .brand-card,
  #marcas.editorial-section.is-visible .brand-carousel .brand-card {
    inset: 8px auto auto 50% !important;
    width: calc(100vw - 112px) !important;
    height: 188px !important;
    min-height: 188px !important;
  }

  #marcas .brand-carousel .brand-card.is-left {
    transform: translateX(calc(-50% - 118px)) scale(.68) !important;
  }

  #marcas .brand-carousel .brand-card.is-right {
    transform: translateX(calc(-50% + 118px)) scale(.68) !important;
  }

  #historia .image-mosaic {
    grid-template-rows: 96px !important;
  }

  #historia .image-slot,#historia .image-slot.tall {
    min-height: 96px !important;
    height: 96px !important;
  }
}

@media (max-width:800px) {
  /* Las secciones secundarias respiran centradas, como módulos editoriales completos. */

  .editorial-section:not(#somos) {
    justify-content: center !important;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  #somos {
    justify-content: flex-start !important;
  }

  #contacto {
    justify-content: center !important;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .hero-contact .contact-line span,.contact-line > span {
    display: none !important;
  }

  #marcas .brand-carousel .brand-card,
  #marcas.editorial-section.is-visible .brand-carousel .brand-card {
    width: min(240px,calc(100vw - 120px)) !important;
  }

  #marcas .brand-carousel .brand-card.is-left {
    transform: translateX(calc(-50% - 130px)) scale(.72) !important;
  }

  #marcas .brand-carousel .brand-card.is-right {
    transform: translateX(calc(-50% + 130px)) scale(.72) !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-left {
    transform: translateX(calc(-50% - 130px)) scale(.72) !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-right {
    transform: translateX(calc(-50% + 130px)) scale(.72) !important;
  }

  .editorial-section .section-copy {
    font-size: 13px !important;
    line-height: 1.48 !important;
  }

  #produccion .service-showcase-panel p {
    display: none !important;
  }

  #produccion .service-showcase-panel h3 {
    font-size: 30px !important;
    line-height: .94 !important;
  }

  #produccion .service-showcase-list .service-card h3 {
    font-size: 11px !important;
    line-height: 1.12 !important;
  }
}

@media (max-width:360px) {
  .editorial-section .section-copy {
    font-size: 12px !important;
  }

  #marcas .brand-carousel .brand-card,
  #marcas.editorial-section.is-visible .brand-carousel .brand-card {
    width: 200px !important;
  }

  #marcas .brand-carousel .brand-card.is-left {
    transform: translateX(calc(-50% - 116px)) scale(.68) !important;
  }

  #marcas .brand-carousel .brand-card.is-right {
    transform: translateX(calc(-50% + 116px)) scale(.68) !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-left {
    transform: translateX(calc(-50% - 116px)) scale(.68) !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-right {
    transform: translateX(calc(-50% + 116px)) scale(.68) !important;
  }

  #marcas .brand-carousel {
    height: 190px !important;
    margin-top: 8px !important;
  }

  #marcas .brand-carousel .brand-card,
  #marcas.editorial-section.is-visible .brand-carousel .brand-card {
    height: 165px !important;
    min-height: 165px !important;
  }

  #produccion .service-showcase-panel h3 {
    font-size: 26px !important;
  }

  #produccion .service-showcase-list .service-card h3 {
    font-size: 10px !important;
  }
}

/* Composición editorial premium: el paginado conserva una pantalla por sección. */

@media (min-width:801px) {
  .editorial-section:not(#contacto) {
    height: 100svh !important;
    min-height: 100svh !important;
    overflow: hidden !important;
  }

  #contacto {
    height: calc(100svh - 54px) !important;
    min-height: calc(100svh - 54px) !important;
  }

  #evento {
    padding-top: clamp(118px,14vh,148px) !important;
    padding-bottom: clamp(54px,7vh,72px) !important;
  }

  #evento .feature-strip {
    grid-template-columns: minmax(280px,.82fr) minmax(0,1.18fr) !important;
    gap: clamp(36px,7vw,100px) !important;
    align-items: center !important;
    height: 100% !important;
  }

  #evento .feature-visual {
    min-height: 390px !important;
    height: 55vh !important;
    max-height: 460px !important;
    position: relative !important;
    background-size: cover !important;
  }

  #evento .feature-visual::before {
    content: '02 / PRODUCCIÓN INTEGRAL';
    position: absolute;
    top: 18px;
    left: 18px;
    color: #f0b766;
    font: 500 9px Outfit,sans-serif;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 12px #000;
    z-index: 2;
  }

  #evento .feature-copy {
    max-width: 620px !important;
  }

  #evento .feature-copy .section-title {
    font-size: clamp(54px,6.2vw,92px) !important;
    margin-bottom: 20px !important;
  }

  #evento .feature-copy .section-copy {
    max-width: 540px !important;
    padding: 20px 22px !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  #evento .facts {
    grid-template-columns: repeat(4,1fr) !important;
    gap: 0 !important;
    margin-top: 26px !important;
    border-top: 1px solid rgba(255,255,255,.24);
  }

  #evento .fact {
    padding: 15px 14px 0 0 !important;
    border-top: 0 !important;
    border-right: 1px solid rgba(255,255,255,.18);
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  #evento .fact+.fact {
    padding-left: 14px !important;
  }

  #evento .fact:last-child {
    border-right: 0;
  }

  #evento .fact strong {
    font-size: 19px !important;
    margin-bottom: 6px !important;
  }

  #produccion {
    padding-top: clamp(118px,14vh,148px) !important;
    padding-bottom: clamp(54px,7vh,72px) !important;
  }

  #produccion .section-grid {
    grid-template-columns: minmax(260px,.78fr) minmax(0,1.22fr) !important;
    gap: clamp(30px,6vw,86px) !important;
  }

  #produccion .section-title {
    font-size: clamp(48px,5.4vw,76px) !important;
  }

  #produccion .section-copy {
    max-width: 520px !important;
    padding: 20px 22px !important;
    font-size: 14px !important;
  }

  #produccion .service-showcase {
    grid-column: 1/-1 !important;
    grid-template-columns: minmax(270px,.72fr) minmax(0,1.28fr) !important;
    gap: 18px !important;
    margin-top: 30px !important;
    align-items: stretch !important;
  }

  #produccion .service-showcase-list {
    grid-column: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 1px !important;
    background: rgba(255,255,255,.18) !important;
    padding: 0 !important;
  }

  #produccion .service-showcase-list .service-card {
    min-height: 112px !important;
    padding: 16px 15px !important;
    border: 0 !important;
    background: rgba(12,15,20,.55) !important;
  }

  #produccion .service-showcase-list .service-card h3 {
    font-size: 19px !important;
    line-height: 1 !important;
  }

  #produccion .service-showcase-list .service-card p,#produccion .service-showcase-list .service-card .detail-trigger {
    display: none !important;
  }

  #produccion .service-showcase-panel {
    grid-column: auto !important;
    min-height: 226px !important;
    padding: 30px 34px !important;
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(135deg,rgba(141,104,57,.23),rgba(19,23,30,.5)) !important;
    border: 1px solid rgba(214,163,93,.38) !important;
  }

  #produccion .service-showcase-panel h3 {
    font-size: clamp(30px,3.5vw,48px) !important;
    line-height: .94 !important;
  }

  #produccion .service-showcase-panel p {
    display: none !important;
  }

  #marcas {
    padding-top: clamp(104px,12vh,124px) !important;
    padding-bottom: 40px !important;
  }

  #marcas .brand-carousel {
    height: 238px !important;
    flex: 0 0 238px !important;
    position: relative !important;
    display: block !important;
  }

  #marcas .brand-carousel .brand-card {
    position: absolute !important;
    left: 50% !important;
    top: 10px !important;
    width: min(240px,calc(100vw - 120px)) !important;
    height: 210px !important;
    min-height: 210px !important;
    margin: 0 !important;
  }
}

@media (max-width:360px) {
  #marcas .brand-carousel {
    height: 190px !important;
    flex: 0 0 190px !important;
    margin-top: 8px !important;
  }

  #marcas .brand-carousel .brand-card {
    width: 200px !important;
    height: 165px !important;
    min-height: 165px !important;
  }
}

/* Último pase móvil: jerarquía, aire y una sola lectura por pantalla. */

@media (max-width:800px) {
  .editorial-section {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .editorial-section .section-kicker {
    letter-spacing: 3px !important;
  }

  .editorial-section .section-title {
    letter-spacing: -.9px !important;
  }

  .editorial-section .section-copy {
    box-shadow: 0 14px 34px rgba(0,0,0,.16) !important;
  }

  /* 01: el mensaje respira y las acciones funcionan como una firma editorial. */

  #somos .section-grid {
    gap: 22px !important;
    margin-top: 18px !important;
  }

  #somos .section-title {
    font-size: clamp(50px,14.8vw,68px) !important;
    line-height: .88 !important;
  }

  #somos .section-copy {
    width: min(100%,332px) !important;
    padding: 16px 17px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  #somos .section-copy p+p {
    display: none !important;
  }

  #somos .hero-contact {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    left: 22px !important;
    right: 22px !important;
    bottom: 92px !important;
  }

  #somos .hero-contact .contact-line {
    min-height: 42px !important;
    padding: 9px 8px !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 8px !important;
    letter-spacing: 1.1px !important;
    line-height: 1.15 !important;
  }

  #somos .principles {
    bottom: 20px !important;
  }

  /* Menos párrafo repetido; cada módulo conserva su idea principal. */

  #evento .section-copy p+p,#experiencias .section-copy p+p,#historia .section-copy p+p {
    display: none !important;
  }

  #evento .section-copy {
    margin-top: 4px !important;
  }

  #evento .facts {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 0 12px !important;
    margin-top: 14px !important;
  }

  #evento .fact {
    padding: 9px 0 !important;
    border-top: 1px solid rgba(255,255,255,.22) !important;
    border-right: 0 !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  #evento .fact+.fact {
    padding-left: 0 !important;
  }

  #evento .fact strong {
    font-size: 16px !important;
  }

  #experiencias .section-grid {
    gap: 14px !important;
  }

  #experiencias .route-carousel {
    margin-top: 18px !important;
  }

  #produccion .section-copy {
    display: none !important;
  }

  #produccion .service-showcase {
    margin-top: 20px !important;
    gap: 10px !important;
  }

  #produccion .service-showcase-panel {
    min-height: 108px !important;
    padding: 17px !important;
  }

  #produccion .service-showcase-panel h3 {
    font-size: 28px !important;
  }

  #produccion .service-showcase-list {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 5px !important;
  }

  #produccion .service-showcase-list .service-card {
    min-height: 58px !important;
    padding: 8px 7px !important;
    display: block !important;
  }

  #produccion .service-showcase-list .service-card h3 {
    font-size: 9px !important;
    line-height: 1.1 !important;
  }

  #formatos .section-copy {
    display: none !important;
  }

  #formatos .experience-grid {
    margin-top: 22px !important;
  }

  #historia .section-copy {
    padding: 15px 16px !important;
  }

  #contacto .value-copy {
    max-width: 330px !important;
    font-size: 12.5px !important;
    line-height: 1.48 !important;
  }

  #contacto .hero-contact {
    margin-top: 28px !important;
  }
}

@media (max-width:360px) {
  #somos .hero-contact {
    bottom: 84px !important;
  }

  #somos .hero-contact .contact-line {
    font-size: 7.5px !important;
  }

  #produccion .service-showcase-list .service-card h3 {
    font-size: 8px !important;
  }
}

@media (max-width:800px) {
  /* Hero: CTAs centrados como un bloque único, separado del manifiesto inferior. */

  #somos .hero-contact {
    left: 0 !important;
    right: 0 !important;
    bottom: 94px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 9px !important;
    transform: none !important;
  }

  #somos .hero-contact .contact-line {
    width: auto !important;
    min-width: 178px !important;
    min-height: 0 !important;
    padding: 10px 15px !important;
    white-space: nowrap !important;
  }

  /* Valores: cuatro ideas con ritmo simétrico, sin quedar pegadas a los bordes. */

  #somos .principles {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    place-items: center !important;
    text-align: center !important;
  }

  #somos .principles span {
    width: 100% !important;
    padding: 8px 6px !important;
    border-right: 1px solid rgba(255,255,255,.2) !important;
    border-bottom: 1px solid rgba(255,255,255,.2) !important;
    font-size: 15px !important;
    line-height: 1 !important;
  }

  #somos .principles span:nth-child(2n) {
    border-right: 0 !important;
  }

  #somos .principles span:nth-child(n+3) {
    border-bottom: 0 !important;
  }

  /* Restaurante: tarjeta principal más fina y laterales más legibles. */

  #marcas .brand-carousel {
    height: 224px !important;
    touch-action: pan-y !important;
  }

  #marcas .brand-carousel .brand-card,
  #marcas.editorial-section.is-visible .brand-carousel .brand-card {
    width: 212px !important;
    height: 194px !important;
    min-height: 194px !important;
    padding: 13px 12px !important;
  }

  #marcas .brand-carousel .brand-card.is-left {
    transform: translateX(calc(-50% - 122px)) scale(.7) !important;
  }

  #marcas .brand-carousel .brand-card.is-right {
    transform: translateX(calc(-50% + 122px)) scale(.7) !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-left {
    transform: translateX(calc(-50% - 122px)) scale(.7) !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-right {
    transform: translateX(calc(-50% + 122px)) scale(.7) !important;
  }

  #marcas .brand-carousel .brand-card.is-featured .brand-name {
    font-size: 31px !important;
  }
}

@media (max-width:360px) {
  #somos .hero-contact {
    bottom: 86px !important;
  }

  #somos .hero-contact .contact-line {
    min-width: 166px !important;
    font-size: 7.5px !important;
  }

  #marcas .brand-carousel {
    height: 204px !important;
  }

  #marcas .brand-carousel .brand-card,
  #marcas.editorial-section.is-visible .brand-carousel .brand-card {
    width: 188px !important;
    height: 176px !important;
    min-height: 176px !important;
  }

  #marcas .brand-carousel .brand-card.is-left {
    transform: translateX(calc(-50% - 108px)) scale(.66) !important;
  }

  #marcas .brand-carousel .brand-card.is-right {
    transform: translateX(calc(-50% + 108px)) scale(.66) !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-left {
    transform: translateX(calc(-50% - 108px)) scale(.66) !important;
  }

  #marcas.editorial-section.is-visible .brand-carousel .brand-card.is-right {
    transform: translateX(calc(-50% + 108px)) scale(.66) !important;
  }
}

.mobile-credit {
  display: none;
}

@media (max-width:800px) {
  #somos .hero-contact {
    bottom: 284px !important;
  }

  #somos .principles {
    bottom: 88px !important;
  }

  #somos .principles span[role="button"] {
    min-height: 86px !important;
  }

  #somos .principles span[role="button"]::after {
    right: 10px;
    top: 9px;
    width: 24px;
    height: 24px;
  }

  #somos .principles span[role="button"] small {
    font-size: 8px;
    letter-spacing: .1em;
  }

  .page-controls {
    bottom: 44px !important;
  }

  #contacto:not(.is-visible) .mobile-credit {
    display: none !important;
  }

  #contacto.is-visible .mobile-credit {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 31;
    margin: 0;
    text-align: center;
    color: rgba(244,238,231,.48);
    font-size: 8px;
    letter-spacing: 1.1px;
    line-height: 1.2;
    text-transform: none;
    pointer-events: auto;
  }

  #contacto .mobile-credit a {
    color: rgba(244,238,231,.62);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}

@media (max-width:360px) {
  #somos .hero-contact {
    bottom: 262px !important;
  }

  #somos .principles {
    bottom: 78px !important;
  }

  .page-controls {
    bottom: 42px !important;
  }

  #contacto .mobile-credit {
    bottom: 8px;
    font-size: 7px;
  }
}

/* El carrusel de venues debe conservar su composición aunque la sección aún esté entrando. */

@media (min-width:801px) {
  #marcas .brand-carousel {
    height: 520px !important;
    flex: 0 0 520px !important;
    display: block !important;
    overflow: visible !important;
  }

  #marcas .brand-carousel .brand-card {
    position: absolute !important;
    left: 50% !important;
    top: 18px !important;
    width: min(370px,31vw) !important;
    height: 360px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 24px 25px !important;
    transform-origin: center center;
    overflow: hidden;
  }

  #marcas .brand-carousel .brand-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(0,0,0,.04) 15%,rgba(3,5,8,.9) 100%);
    pointer-events: none;
  }

  #marcas .brand-carousel .brand-card>div,#marcas .brand-carousel .brand-card>.detail-trigger {
    position: relative;
    z-index: 1;
  }

  #marcas .brand-carousel .brand-card.is-featured {
    z-index: 5;
    opacity: 1;
    filter: none;
    transform: translateX(-50%) translateY(0) scale(1);
    border-color: #e2b56d;
    box-shadow: 0 28px 70px rgba(0,0,0,.42),0 0 0 1px rgba(226,181,109,.14);
  }

  #marcas .brand-carousel .brand-card.is-left {
    z-index: 3;
    opacity: .7;
    filter: saturate(.8);
    transform: translateX(calc(-50% - 285px)) translateY(22px) scale(.76) rotateY(14deg);
  }

  #marcas .brand-carousel .brand-card.is-right {
    z-index: 3;
    opacity: .7;
    filter: saturate(.8);
    transform: translateX(calc(-50% + 285px)) translateY(22px) scale(.76) rotateY(-14deg);
  }

  #marcas .brand-carousel .brand-card.is-far-left {
    z-index: 2;
    opacity: .32;
    filter: saturate(.6);
    transform: translateX(calc(-50% - 490px)) translateY(36px) scale(.56) rotateY(22deg);
  }

  #marcas .brand-carousel .brand-card.is-far-right {
    z-index: 2;
    opacity: .32;
    filter: saturate(.6);
    transform: translateX(calc(-50% + 490px)) translateY(36px) scale(.56) rotateY(-22deg);
  }

  #marcas .brand-carousel .brand-card.is-featured .brand-desc,#marcas .brand-carousel .brand-card.is-featured .detail-trigger {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Baseline QA: fallback, tap ergonomics and mobile composition. */

body.no-webgl::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 15% 12%,rgba(214,163,93,.34),transparent 30%),radial-gradient(circle at 85% 72%,rgba(108,143,190,.28),transparent 34%),linear-gradient(135deg,#160c06 0%,#08090c 48%,#101b2a 100%);
  pointer-events: none;
}

body.no-webgl .grid-lines,body.no-webgl .grid-horizontal-line {
  opacity: .58;
}

.contact-line,.detail-trigger,.modal-map,.modal-social,.route-carousel-nav button,.brand-carousel-nav button,.page-controls button {
  text-decoration: none;
}

.contact-line {
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  text-underline-offset: 0;
}

.contact-line:hover,.detail-trigger:hover,.modal-map:hover,.modal-social:hover {
  filter: brightness(1.06);
}

.header-nav .nav-link {
  position: relative;
  padding: 8px 0;
}

.header-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: #d6a35d;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.header-nav .nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width:800px) {
  * {
    cursor: auto !important;
  }

  .cursor-inner,.cursor-outer {
    display: none !important;
  }

  .brand-logo {
    width: 46px !important;
    height: 46px !important;
  }

  .main-header {
    background: linear-gradient(180deg,rgba(0,0,0,.42),transparent) !important;
  }

  .section-index {
    right: 10px !important;
  }

  .page-controls button {
    width: 34px !important;
    height: 34px !important;
    background: rgba(10,12,16,.58) !important;
    backdrop-filter: blur(10px);
  }

  #produccion,#formatos {
    padding-left: 28px !important;
    padding-right: 34px !important;
  }

  #produccion .section-title,#formatos .section-title {
    max-width: 100% !important;
    font-size: clamp(35px,10.4vw,45px) !important;
    line-height: .98 !important;
    letter-spacing: -.6px !important;
  }

  #produccion .section-title em,#formatos .section-title em {
    font-size: .74em !important;
  }

  #produccion .service-showcase {
    gap: 12px !important;
  }

  #produccion .service-showcase-panel {
    min-height: 116px !important;
  }

  #produccion .service-showcase-list .service-card {
    min-height: 62px !important;
  }

  #formatos .experience-grid {
    gap: 6px !important;
    border: 0 !important;
  }

  #formatos .experience-card {
    min-height: 124px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
  }

  #formatos .experience-card h3 {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  #formatos .experience-card ul {
    font-size: 8.5px !important;
    line-height: 1.28 !important;
  }

  #marcas .brand-carousel .brand-card.is-left,#marcas.editorial-section.is-visible .brand-carousel .brand-card.is-left {
    opacity: .2 !important;
    transform: translateX(calc(-50% - 116px)) scale(.68) !important;
  }

  #marcas .brand-carousel .brand-card.is-right,#marcas.editorial-section.is-visible .brand-carousel .brand-card.is-right {
    opacity: .2 !important;
    transform: translateX(calc(-50% + 116px)) scale(.68) !important;
  }

  .detail-modal {
    width: calc(100% - 24px) !important;
    max-height: calc(100svh - 24px) !important;
  }

  .modal-info {
    position: relative;
    padding: 34px 22px 24px !important;
  }

  .modal-kicker {
    display: block;
    padding-right: 48px;
  }

  .modal-venue-control {
    display: none !important;
  }

  .modal-venue-prev {
    left: 18px !important;
  }

  .modal-venue-next {
    right: 18px !important;
  }

  .modal-map {
    width: 100%;
    justify-content: space-between;
  }

  .modal-socials {
    padding-right: 46px;
  }
}

@media (max-width:360px) {
  #produccion,#formatos {
    padding-left: 24px !important;
    padding-right: 30px !important;
  }

  #produccion .section-title,#formatos .section-title {
    font-size: clamp(31px,9.8vw,38px) !important;
  }

  #formatos .experience-card h3 {
    font-size: 16px !important;
  }

  #formatos .experience-card ul {
    font-size: 8px !important;
  }
}

@media (max-width:800px) {
  #evento .feature-visual.is-carousel-ready {
    display: block !important;
    min-height: 142px !important;
    height: 18vh !important;
    max-height: 176px !important;
    margin: 0 0 22px !important;
    border: 1px solid rgba(255,255,255,.16);
  }

  #evento .feature-visual.is-carousel-ready::before {
    display: none !important;
  }

  #evento .feature-visual.is-carousel-ready::after {
    left: 12px;
    bottom: 11px;
    padding: 7px 8px;
    font-size: 9px;
  }

  .feature-gallery-trigger {
    right: 12px;
    bottom: 11px;
    padding: 8px 9px;
    font-size: 9px;
  }

  .gallery-trigger {
    margin-top: 16px;
  }
}

/* Cierre móvil de sección 01 y galería. */

@media (max-width:800px) {
  #somos {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 100svh !important;
    height: auto !important;
    padding-top: clamp(68px,9svh,92px) !important;
    padding-bottom: 70px !important;
    overflow-y: auto !important;
  }

  #somos .section-kicker {
    margin-bottom: 10px !important;
  }

  #somos .section-grid {
    width: 100% !important;
    align-items: center !important;
    gap: clamp(12px,2svh,18px) !important;
    margin-top: clamp(8px,1.4svh,14px) !important;
  }

  #somos .section-title {
    max-width: 330px !important;
    font-size: clamp(38px,11.4vw,54px) !important;
    line-height: .9 !important;
    letter-spacing: 0 !important;
  }

  #somos .section-title em {
    margin-top: 4px !important;
  }

  #somos .section-copy {
    width: min(100%,320px) !important;
    padding: 12px 14px !important;
    font-size: 11.2px !important;
    line-height: 1.35 !important;
  }

  #somos .hero-contact {
    position: static !important;
    width: min(100%,320px) !important;
    margin: clamp(10px,2svh,16px) auto 0 !important;
    align-self: center !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
  }

  #somos .hero-contact .contact-line {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 8px 7px !important;
    font-size: 7.4px !important;
    line-height: 1.12 !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: normal !important;
  }

  #somos .principles {
    position: static !important;
    width: min(100%,336px) !important;
    margin: clamp(10px,2svh,15px) auto 0 !important;
    align-self: center !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 6px !important;
  }

  #somos .principles span[role="button"] {
    min-height: clamp(58px,11svh,74px) !important;
    padding: 8px !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    background-position: center !important;
    background-size: cover !important;
    box-sizing: border-box !important;
  }

  #somos .principles span {
    font-size: 13px !important;
  }

  #somos .principles span[role="button"] small {
    font-size: 7px !important;
  }

  .modal-gallery-control {
    display: grid !important;
    place-items: center !important;
    bottom: 12px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    border-color: rgba(255,255,255,.48) !important;
    background: rgba(8,10,13,.72) !important;
    color: transparent !important;
    font-size: 0 !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .modal-gallery-control::before {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }

  .modal-gallery-prev {
    right: 58px !important;
  }

  .modal-gallery-next {
    right: 14px !important;
  }

  .modal-gallery-prev::before {
    margin-left: 3px;
    transform: rotate(-135deg);
  }

  .modal-gallery-next::before {
    margin-right: 3px;
    transform: rotate(45deg);
  }

  .modal-gallery-count {
    bottom: 22px !important;
    left: 14px !important;
    letter-spacing: 1.4px !important;
  }

  .page-controls {
    bottom: 16px !important;
  }
}

@media (max-width:390px) {
  #somos .section-title {
    font-size: clamp(36px,11vw,48px) !important;
  }

  #somos .section-copy {
    padding: 11px 13px !important;
    font-size: 10.8px !important;
  }

  #somos .hero-contact .contact-line {
    min-height: 36px !important;
    font-size: 7px !important;
  }

  #somos .principles span[role="button"] {
    min-height: 56px !important;
  }
}

@media (max-width:360px) {
  #somos {
    padding-top: 64px !important;
  }

  #somos .section-title {
    font-size: 38px !important;
  }

  #somos .section-copy {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  #somos .principles {
    gap: 5px !important;
  }

  #somos .principles span[role="button"] {
    min-height: 50px !important;
  }
}
