/* =====================================================================
   Brandgger — componentes de la actualización de nov-2026
   (home con video, hero de hospitality / real estate, Market Journal,
   casos de estudio, artículos, fotografía y hub de branded residences)
   Se carga después de style.css.
   ===================================================================== */

/* ---------- Hero con video de fondo ---------- */
.hero-video {
  position: relative; margin-top: var(--header-h);
  min-height: 64vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 5%; overflow: hidden;
  background: #1B1B1B center / cover no-repeat;
  color: var(--white);
}
.hero-video--tall { min-height: 88vh; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video__inner { position: relative; z-index: 2; width: 100%; }
.hero-video__title {
  font-family: var(--serif); font-size: 104px; font-weight: 500; line-height: 107px; letter-spacing: -2.9px;
  color: var(--white); padding: 6% 20% 3%;
}
.hero-video__title em { font-style: italic; }
.hero-video__sub {
  padding: 0 30% 6%; font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; line-height: 1.2rem; color: var(--white);
}
.hero-video--re .hero-video__title { font-size: 80px; line-height: 0.9em; letter-spacing: 0; padding: 0; }
.hero-video--re .hero-video__sub { padding: 3% 30% 6%; }
.hero-video--hosp .hero-video__sub { padding: 0 25% 6%; }

/* ---------- Home: About, Trusted by, What we do ---------- */
.about { margin-top: 15%; min-height: 0; }
.about p { padding: 0 25% 6%; }
.home-logos { margin-top: 5%; padding: 0 4%; }
.home-logos .label { margin-bottom: 0; }
.home-logos .logo-carousel { padding: 0 25% 5%; }

.what { margin-top: 4%; text-align: center; padding: 0; }
.what > .label { font-weight: 600; letter-spacing: 2px; }
.what__grid { display: flex; flex-wrap: wrap; gap: 30px; padding: 5%; }
.what__card {
  flex: 1 1 calc(50% - 15px); min-height: 50vh;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--gray); text-align: left; background: transparent;
}
.what__media { overflow: hidden; }
.what__media img, .what__media video { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.what__body { min-height: 19vh; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 10% 5% 5%; }
.what__body h3 { font-size: 0.8em; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; line-height: 1.2em; color: var(--gray); }
.what__body p { font-size: 0.9rem; line-height: 1.5rem; letter-spacing: 1px; color: var(--gray); }
.what__foot { min-height: 7vh; display: flex; align-items: center; border-top: 1px solid var(--gray); padding-left: 2%; }

/* ---------- Brandgger films (banner) ---------- */
.films {
  position: relative; min-height: 544px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 5% 4%;
  border-top: 1px solid var(--black); border-bottom: 1px solid var(--black);
  background: #000 url("../uploads/2026/03/Faena-Tulum-X-Brandgger-49-2.jpg") center left / cover no-repeat fixed;
  color: var(--white);
}
.films::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .41); }
.films > * { position: relative; z-index: 1; }
.films__title { font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 0.9em; color: var(--white); padding: 0 25%; }
.films__title em { font-style: italic; }
.films__sub { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; line-height: 1.4em; color: var(--white); padding: 18px 25% 2%; }
.films .btn { margin-top: 6%; font-size: 0.6rem; font-weight: 500; letter-spacing: 3px; }

/* Casos con títulos centrados (home) */
.cases--center .case-card__title { text-align: center; letter-spacing: 2px; font-size: 0.8rem; }
.cases--mixed .case-card:nth-child(n+3) .case-card__title { letter-spacing: 2px; font-size: 11px; }
.cases--left .case-card__title { text-align: left; }

/* ---------- Market Journal ---------- */
.journal { padding: 5%; }
.journal__label { text-align: center; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 6px; line-height: 1.1em; color: var(--gray); margin-bottom: 3%; }
.journal-card { display: block; text-align: left; }
.journal-card__fig { position: relative; display: block; height: 550px; overflow: hidden; }
.journal-card__fig img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--gray); transition: transform 1s var(--ease); }
.journal-card:hover .journal-card__fig img { transform: scale(1.03); }
.journal-card__badge { position: absolute; top: 20px; right: 20px; background: #363636; color: var(--white); border-radius: 3%; font-family: var(--serif); font-size: 0.7em; text-transform: uppercase; padding: 6px 14px; }
.journal-card__body { display: block; padding: 2em; }
.journal-card__title { font-family: var(--serif); font-size: 1.4em; font-weight: 500; line-height: 1.3; color: var(--gray); margin-bottom: 8px; }
.journal-card__text { font-size: 0.9em; color: var(--gray); margin-bottom: 18px; }
.journal-card__btn { display: inline-block; padding: 9px; font-size: 0.7em; font-weight: 600; text-transform: uppercase; letter-spacing: 0.21em; border: 1px solid var(--gray); color: var(--gray); background: var(--cream); }
.journal-card:hover .journal-card__btn { background: var(--gray); color: var(--cream); }

/* ---------- Hospitality / Real estate ---------- */
.split-acc__text .logos { margin-top: 40px; text-align: center; }
.split-acc__text .logo-carousel { padding: 0 10% 0 0; }
.re-intro { background: var(--cream); padding: 10% 4% 0; margin-bottom: 60px; text-align: center; }
.re-intro p { padding: 0 25%; margin-bottom: 1em; font-size: 15px; line-height: 1.8em; color: var(--gray); }
.re-intro p:last-of-type { padding-bottom: 5%; margin-bottom: 0; }

/* ---------- Casos de estudio (project.php) ---------- */
.project-hero { padding: calc(var(--header-h) + 3%) 4% 0; text-align: center; }
.project-hero .page-hero__title { padding: 3% 20%; }
.project-label { text-align: center; font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: 2px; color: var(--gray); padding: 6% 0 2%; }
.project-text { padding: 0 29% 6%; text-align: center; font-size: 13px; line-height: 1.65; color: var(--gray); }
.project-text p { margin-bottom: 1em; }
.project-text a { text-decoration: underline; }
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 8% 8%; }
.project-gallery__item { margin: 0; background: var(--beige-2); overflow: hidden; }
.project-gallery__item img, .project-gallery__item video { width: 100%; height: auto; display: block; }
.project-gallery__item figcaption { padding: 14px 10px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 3px; color: #252525; background: var(--cream); text-align: center; }
.project-more { text-align: center; padding: 0 4% 8%; }

/* ---------- Artículos (Market Journal) ---------- */
.article-head { padding-top: calc(var(--header-h) + 2%); text-align: center; }
.article-head__label { background: #080808; color: var(--white); padding: 3%; font-size: 0.8em; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3em; }
.article-head__kicker { padding: 7% 3% 1%; font-size: 0.8em; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gray); }
.article-head h1 { font-family: var(--serif); font-size: 2.8em; font-weight: 600; line-height: 1.1em; letter-spacing: -0.8px; color: var(--gray); padding: 0 20%; }
.article-head__intro { padding: 2% 25% 1%; font-size: 1em; font-weight: 500; line-height: 2.2em; color: var(--gray); }
.article-share { padding: 2% 3% 1%; font-size: 0.7em; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gray-4); }
.article-share__row { display: flex; justify-content: center; gap: 10px; padding: 0 4% 4%; }
.article-share__row a { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 3.9em; padding: 0 14px; background: #2b2b2b; color: var(--white); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.article-share__row a:hover { background: var(--black); }
.article-hero { min-height: 100vh; background: #000 center / cover no-repeat; }
.article-body { padding-bottom: 6%; }
.article-body p { margin: 5% 0 0; padding: 0 19%; text-align: justify; font-size: 1em; line-height: 2.2em; color: var(--gray); }
.article-body > p:first-child { margin-top: 5%; }
.article-body ul { list-style: disc; margin: 3% 0 0; padding: 0 19% 0 calc(19% + 24px); font-size: 1em; line-height: 2.2em; color: var(--gray); }
.article-body h2 { padding: 3% 3% 0; margin-top: 3%; text-align: center; font-size: 1.1em; font-weight: 600; letter-spacing: 0; color: var(--gray-4); line-height: 1.4; }
.article-body figure { padding: 5% 19%; margin: 0; }
.article-body figure img { width: 100%; height: auto; }
.article-logos { background: var(--cream); padding: 0 4% 4%; }
.article-logos .label { text-align: center; margin-bottom: 0; }

/* ---------- Fotografía ---------- */
.photo-hero {
  position: relative; margin-top: var(--header-h); min-height: 100vh;
  display: flex; align-items: center; padding: 0 100px;
  background: #000 center / cover no-repeat; color: var(--beige);
}
.photo-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.photo-hero__col { position: relative; z-index: 1; width: 62%; padding-right: 70px; }
.photo-hero__kicker { font-size: 0.8em; font-weight: 400; text-transform: uppercase; letter-spacing: 1.1px; color: var(--beige); }
.photo-hero__rule { width: 6%; min-width: 40px; height: 1px; background: var(--beige); border: 0; margin: 15px 0; opacity: .8; }
.photo-hero h2 { font-family: var(--serif); font-size: 3em; font-weight: 400; line-height: 1.2em; color: var(--beige); }
.photo-hero h2 em { font-style: italic; }
.photo-about { display: grid; grid-template-columns: 60% 40%; padding: 10% 5% 10% 7%; }
.photo-about__text { padding-right: 60px; text-align: justify; font-size: 15px; line-height: 1.5em; color: var(--gray-4); }
.photo-about__text p { margin-bottom: 1em; }
.photo-about__list h2 { font-size: 0.8em; font-weight: 600; text-transform: uppercase; line-height: 1em; letter-spacing: 0.4em; color: var(--gray-4); }
.photo-about__list ul { margin-top: 10%; }
.photo-about__list li { font-family: var(--serif); font-size: 15px; color: var(--gray-4); padding: 3.5px 0; }
.divider-title { padding: 2% 0 2% 100px; margin: 2% 0; }
.divider-title--spaced { margin-top: 5%; }
.divider-title h4 { font-weight: 200; }
.cards-carousel { position: relative; padding: 0 100px; }
.cards-carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
.cards-carousel__track::-webkit-scrollbar { display: none; }
.cards-carousel__card { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.cards-carousel__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.cards-carousel__title { margin-top: 14px; font-size: 0.9em; font-weight: 600; text-transform: uppercase; line-height: 1.2em; letter-spacing: 1.9px; color: var(--gray-4); }
.cards-carousel__sub { font-size: 0.7em; font-weight: 500; color: var(--gray-4); margin-top: 4px; }
.cards-carousel__btn { position: absolute; top: 40%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: #212121; font-size: 22px; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.18); z-index: 2; }
.cards-carousel__btn--prev { left: 60px; }
.cards-carousel__btn--next { right: 60px; }
.films-feature { padding: 0 100px; }
.films-feature .video-embed { max-width: 1140px; margin: 0 auto; }
.video-grid--photo { padding: 2% 2% 0; margin-top: 30px; }
.spacer-6 { height: 6vh; }

/* ---------- Hub: Branded residences ---------- */
.hub-hero {
  position: relative; margin-top: var(--header-h); min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: #000 center / cover no-repeat; color: var(--white);
}
.hub-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .46); }
.hub-hero > * { position: relative; z-index: 1; }
.hub-hero h1 { font-size: 1em; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; line-height: 1em; color: var(--white); }
.hub-hero h2 { padding: 0 20% 3%; font-family: var(--serif); font-size: 5.3em; font-weight: 500; line-height: 100px; letter-spacing: -2.9px; color: var(--white); margin-top: 20px; }
.hub-intro { background: var(--cream); padding: 0 4%; margin-bottom: 60px; text-align: center; }
.hub-intro .label { font-size: 14px; padding-top: 6%; margin-bottom: 20px; }
.hub-intro__text { padding: 0 25% 3%; font-size: 1.3em; line-height: 1.8em; color: var(--gray); }
.hub-intro .logo-carousel { padding: 0 25%; }
.hub-intro__btn { display: inline-block; padding: 5% 0 3%; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 3px; color: #000; }
.hub-intro__btn span { border-bottom: 1px solid #000; padding-bottom: 4px; }
.hub-row { display: grid; align-items: center; padding: 0 4% 5%; }
.hub-row--a { grid-template-columns: 34.46% 65.54%; }
.hub-row--b { grid-template-columns: 54.39% 45.61%; }
.hub-row figure { margin: 0; }
.hub-row figure img { width: 100%; object-fit: cover; display: block; }
.hub-row--a figure img { height: 53vh; }
.hub-row--b figure img { height: 81vh; }
.hub-row figcaption { margin-top: 30px; font-size: 12px; font-weight: 500; text-transform: uppercase; line-height: 26px; letter-spacing: 3px; color: #252525; }
.hub-row__text { padding: 10%; text-align: center; font-size: 15px; line-height: 1.8em; color: var(--gray); }
.hub-row--text-first > :first-child { order: 2; }
.hub-row--a figure { margin-right: 55px; margin-top: 130px; }

/* ---------- Form lead ---------- */
.form-lead { padding: calc(var(--header-h) + 4%) 4% 6%; display: flex; justify-content: center; }
.form-lead iframe { width: 100%; max-width: 600px; min-height: 700px; border: 0; }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 1024px) {
  .hero-video { min-height: 100vh; padding: 0 6%; }
  .hero-video--tall { min-height: 88vh; }
  .hero-video__title { font-size: 90px; line-height: 1em; padding: 0; }
  .hero-video__sub { font-size: 11px; padding: 2% 5% 0; }
  .hero-video--re .hero-video__title { font-size: 64px; }
  .about { margin-top: 10%; }
  .about p { padding: 0 10% 6%; font-size: 13px; line-height: 1.6em; }
  .home-logos .logo-carousel { padding: 14%; }
  .what__grid { padding: 10% 5%; }
  .what__body { min-height: 40vh; }
  .what__body h3 { font-size: 11px; }
  .what__body p { font-size: 13px; }
  .films { min-height: 100vh; margin-top: 16%; }
  .films__title { font-size: 2.5em; padding: 0; }
  .films__sub { padding: 10px 0 0; font-size: 11px; }
  .cases--center .case-card__title, .cases--mixed .case-card .case-card__title { font-size: 10px; letter-spacing: 2.7px; padding: 5% 5% 3%; }
  .journal { padding: 6%; }
  .journal__label { font-size: 12px; }
  .project-text { padding: 0 15% 8%; }
  .project-gallery { padding: 0 5% 8%; }
  .article-head h1 { padding: 0 8%; }
  .article-head__intro { padding: 2% 10% 1%; }
  .article-body p, .article-body figure { padding-left: 8%; padding-right: 8%; }
  .article-body ul { padding-right: 8%; padding-left: calc(8% + 24px); }
  .photo-hero { padding: 0 25px; }
  .photo-hero__col { width: 100%; padding-right: 25px; }
  .photo-hero h2 { font-size: 2em; }
  .photo-about { grid-template-columns: 1fr; padding: 100px 25px; }
  .photo-about__text { padding-right: 0; font-size: 14px; }
  .photo-about__list { margin-top: 40px; }
  .divider-title { padding-left: 50px; }
  .cards-carousel { padding: 0 50px; }
  .cards-carousel__card { flex-basis: calc((100% - 20px) / 2); }
  .films-feature { padding: 0 20px; }
  .hub-hero h2 { font-size: 3.4em; line-height: 1.1em; padding: 0 10%; }
  .hub-intro__text { padding: 0 10% 3%; font-size: 1.1em; }
  .hub-row--a, .hub-row--b { grid-template-columns: 1fr; }
  .hub-row--a figure { margin: 0; }
  .hub-row--a figure img, .hub-row--b figure img { height: 50vh; }
  .hub-row--text-first > :first-child { order: 0; }
  .re-intro p { padding: 0 10%; font-size: 13px; line-height: 1.6em; }
  .re-intro p:last-of-type { padding-bottom: 5%; }
}

/* ---------- Responsive: móvil ---------- */
@media (max-width: 767px) {
  .hero-video { min-height: 86vh; padding: 0 2%; }
  .hero-video__title { font-size: 54px; line-height: 1em; letter-spacing: -1px; word-spacing: .1em; }
  .hero-video__sub { font-size: 0.6rem; line-height: 1rem; letter-spacing: 1px; padding: 6% 0 0; }
  .hero-video--re .hero-video__title { font-size: 40px; }
  .about { margin-top: 15%; }
  .about p { padding: 0 3%; font-size: 0.9rem; }
  .home-logos .logo-carousel { padding: 0 30%; }
  .what__grid { flex-direction: column; padding: 10% 5%; }
  .what__card { flex-basis: auto; }
  .what__body { min-height: 35vh; }
  .what__body p { line-height: 1.6em; }
  .films { margin: 16% 0 14%; padding: 0 8%; min-height: 86vh; background-attachment: scroll; }
  .films__title { font-size: 2.1em; }
  .films__sub { font-size: 0.6em; letter-spacing: 1.9px; padding: 0 10px; margin-bottom: 20%; }
  .films .btn { margin-top: 0; font-size: 0.6em; }
  .cases--center .case-card__title, .cases--mixed .case-card .case-card__title { font-size: 11px; line-height: 47px; letter-spacing: 2.3px; padding: 0; }
  .journal { padding: 7%; margin-top: 10%; }
  .journal-card__fig { height: 320px; }
  .journal-card__badge { border-radius: 0; }
  .project-hero .page-hero__title { padding: 6% 0 4%; }
  .project-text { padding: 0 6% 8%; }
  .project-gallery { grid-template-columns: 1fr; padding: 0 4% 8%; }
  .article-head h1 { font-size: 2em; padding: 0 5%; }
  .article-head__intro { padding: 4% 6% 1%; }
  .article-hero { min-height: 45vh; }
  .article-body p, .article-body figure { padding-left: 6%; padding-right: 6%; }
  .article-body ul { padding-right: 6%; padding-left: calc(6% + 22px); }
  .photo-hero h2 { font-size: 1.8em; }
  .photo-hero__kicker { line-height: 1.4em; }
  .divider-title { padding: 6% 5% 4%; }
  .cards-carousel { padding: 0 20px; }
  .cards-carousel__card { flex-basis: 85%; }
  .cards-carousel__btn--prev { left: 6px; }
  .cards-carousel__btn--next { right: 6px; }
  .hub-hero h1 { font-size: .8em; padding: 6% 6% 0; }
  .hub-hero h2 { font-size: 2.2em; padding: 0 6%; }
  .hub-intro__text { padding: 0 3% 3%; font-size: 1em; }
  .hub-intro .logo-carousel { padding: 0 15%; }
  .hub-row__text { padding: 8% 4%; }
  .form-lead iframe { min-height: 640px; }
}
