/* Inter Display — used only for h1/h2 headings now (gilroymedium everywhere else) */
@font-face { font-family: "Inter Display"; src: url("https://framerusercontent.com/assets/bHYNJqzTyl2lqvmMiRRS6Y16Es.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("https://framerusercontent.com/assets/iwWTDc49ENF2tCHbqlNARXw6Ug.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("https://framerusercontent.com/assets/PfdOpgzFf7N2Uye9JX7xRKYTgSc.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("https://framerusercontent.com/assets/qITWJ2WdG0wrgQPDb8lvnYnTXDg.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

.ast-container > .branderie-page {
  width: 100%;
  flex: 1 1 100%;
}

.branderie-page .noise {
  position: fixed;
  z-index: 9000;
  pointer-events: none;
  top: 0;
  opacity: 0.55;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url(../noise-bg.png);
  background-repeat: repeat;
  background-position: top left;
}

.branderie-page {
  --bg: #f7f8f3;
  --text: #1e1e1e;
  --muted: #656565;
  --line: #e8e8e8;
  --panel: #eef0f6;
  --brand: #b03700;
  --blue: #014aad;
  --yellow: #f2a62c;
  --radius: 10px;
  --page-x: 60px;
  --max: 1520px;
  background: var(--bg);
  color: var(--text);
  font-family: "gilroymedium", Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.4;
  overflow: clip;
}

.branderie-page *, .branderie-page *::before, .branderie-page *::after { box-sizing: border-box; }
.branderie-page :where(h1,h2,h3,p,figure,blockquote) { margin: 0; }
.branderie-page :where(img) { display: block; max-width: 100%; }
.branderie-page :where(a) { color: inherit; text-decoration: none; }
.branderie-page :where(button,input) { font: inherit; }
.branderie-page .section-shell { width: min(100%, calc(var(--max) + var(--page-x) * 2)); margin-inline: auto; padding-inline: var(--page-x); }
.branderie-page .eyebrow,
.branderie-page .social-links,
.branderie-page time { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 14px; line-height: 1.22; }

/* Navigation */
.branderie-page .site-nav { position: sticky; top: 0; z-index: 50; width: 100%; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(30,30,30,.08); }
.branderie-page .site-nav__inner { width: min(100%, calc(var(--max) + var(--page-x) * 2)); min-height: 72px; margin: auto; padding: 12px var(--page-x); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.branderie-page .site-nav__brand { width: 126px; flex: 0 0 auto; }
.branderie-page .site-nav__brand img { width: 100%; height: auto; }
.branderie-page .site-nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.branderie-page .site-nav__links a { display: flex; gap: 7px; align-items: baseline; font-weight: 500; }
.branderie-page .site-nav__links a span { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 10px; color: var(--muted); }
.branderie-page .site-nav__links a:hover { text-decoration: underline; text-underline-offset: 4px; }


/* Progressive bottom blur — reconstructed 1:1 from the 8 Framer layers.
   Original height: 20vh desktop, 15vh tablet, 10vh mobile. */
.branderie-page .progressive-blur {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20vh;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  background: none;
  opacity: 1;
  transition: opacity 220ms ease;
}
.branderie-page .progressive-blur.is-over-footer { opacity: 0; }
.branderie-page .progressive-blur__layer { position: absolute; inset: 0; pointer-events: none; }
.branderie-page .progressive-blur__layer--1 { backdrop-filter: blur(0.234375px); -webkit-backdrop-filter: blur(0.234375px); mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 12.5%,rgba(0,0,0,1) 25%,rgba(0,0,0,0) 37.5%); -webkit-mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 12.5%,rgba(0,0,0,1) 25%,rgba(0,0,0,0) 37.5%); }
.branderie-page .progressive-blur__layer--2 { backdrop-filter: blur(0.46875px); -webkit-backdrop-filter: blur(0.46875px); mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 12.5%,rgba(0,0,0,1) 25%,rgba(0,0,0,1) 37.5%,rgba(0,0,0,0) 50%); -webkit-mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 12.5%,rgba(0,0,0,1) 25%,rgba(0,0,0,1) 37.5%,rgba(0,0,0,0) 50%); }
.branderie-page .progressive-blur__layer--3 { backdrop-filter: blur(0.9375px); -webkit-backdrop-filter: blur(0.9375px); mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 25%,rgba(0,0,0,1) 37.5%,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 62.5%); -webkit-mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 25%,rgba(0,0,0,1) 37.5%,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 62.5%); }
.branderie-page .progressive-blur__layer--4 { backdrop-filter: blur(1.875px); -webkit-backdrop-filter: blur(1.875px); mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 37.5%,rgba(0,0,0,1) 50%,rgba(0,0,0,1) 62.5%,rgba(0,0,0,0) 75%); -webkit-mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 37.5%,rgba(0,0,0,1) 50%,rgba(0,0,0,1) 62.5%,rgba(0,0,0,0) 75%); }
.branderie-page .progressive-blur__layer--5 { backdrop-filter: blur(3.75px); -webkit-backdrop-filter: blur(3.75px); mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 50%,rgba(0,0,0,1) 62.5%,rgba(0,0,0,1) 75%,rgba(0,0,0,0) 87.5%); -webkit-mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 50%,rgba(0,0,0,1) 62.5%,rgba(0,0,0,1) 75%,rgba(0,0,0,0) 87.5%); }
.branderie-page .progressive-blur__layer--6 { backdrop-filter: blur(7.5px); -webkit-backdrop-filter: blur(7.5px); mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 62.5%,rgba(0,0,0,1) 75%,rgba(0,0,0,1) 87.5%,rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 62.5%,rgba(0,0,0,1) 75%,rgba(0,0,0,1) 87.5%,rgba(0,0,0,0) 100%); }
.branderie-page .progressive-blur__layer--7 { backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 75%,rgba(0,0,0,1) 87.5%,rgba(0,0,0,1) 100%,rgba(0,0,0,0) 112.5%); -webkit-mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 75%,rgba(0,0,0,1) 87.5%,rgba(0,0,0,1) 100%,rgba(0,0,0,0) 112.5%); }
.branderie-page .progressive-blur__layer--8 { backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 87.5%,rgba(0,0,0,1) 100%,rgba(0,0,0,1) 112.5%,rgba(0,0,0,0) 125%); -webkit-mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 87.5%,rgba(0,0,0,1) 100%,rgba(0,0,0,1) 112.5%,rgba(0,0,0,0) 125%); }

/* Intro: full-height hero with background video */
.branderie-page .intro {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 0;
  background-color: var(--bg);
}
.branderie-page .intro__video {
  position: absolute;
  top: 100px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  width: calc(100% - 60px);
  height: calc(100% - 110px);
  object-fit: cover;
  border-radius: 25px;
  z-index: 0;
}
.branderie-page .intro__overlay {
  position: absolute;
  top: 100px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  width: calc(100% - 60px);
  height: calc(100% - 110px);
  border-radius: 25px;
  background: rgba(0,0,0,.5);
  z-index: 1;
}
.branderie-page .intro__content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.branderie-page .intro h1 { max-width: 820px; font-size: clamp(42px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; text-wrap: balance; color: #fff; }
.branderie-page .intro__lead { max-width: 600px; font-family: "gilroymedium", Arial, sans-serif !important; font-size: 18px; line-height: 1.4; color: #fff; }

/* Hero CTA buttons */
.branderie-page .hero-cta-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }

.branderie-page .lets-talk-btn {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: max-content;
  height: 56px;
  padding: 16px 25px;
  gap: 16px;
  background: var(--brand);
  border: 0;
  border-radius: 100vw;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: gap 0.4s cubic-bezier(0.44, 0, 0.56, 1);
}
.branderie-page .lets-talk-btn span {
  white-space: nowrap;
  font-family: "gilroymedium", Arial, sans-serif !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}
.branderie-page .lets2 {
  background: transparent;
  border: 1px solid grey;
  color: #1e1e1e;
}
.branderie-page .lets2 span {
  color: #1e1e1e;
}
.branderie-page .lets2 .lets-talk-btn__arrow {
  background-color: #1e1e1e;
}
.branderie-page .lets-talk-btn__arrow {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  background-color: #fff;
  -webkit-mask-image: url(../arrowwhite.svg);
  mask-image: url(../arrowwhite.svg);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: transform 0.4s cubic-bezier(0.44, 0, 0.56, 1), background-color .25s ease;
}
.branderie-page .lets-talk-btn:hover { gap: 48px; }

/* Project logos ticker: infinite auto-scrolling marquee, right below the hero video. */
.branderie-page .project-ticker-section { padding-bottom: 92px; background-color: var(--bg); }
.branderie-page .project-ticker {
  width: 100%; height: 90px; overflow: hidden; display: flex; align-items: center;
  -webkit-mask: linear-gradient(90deg, #0000 0%, #000 11.0705% 84.8683%, #0000 100%);
  mask: linear-gradient(90deg, #0000 0%, #000 11.0705% 84.8683%, #0000 100%);
}
.branderie-page .project-ticker__track {
  display: flex; align-items: center; width: max-content; gap: 80px; flex: none;
  transform: translate3d(0,0,0);
}
.branderie-page .project-ticker__track.is-marquee-ready { animation: branderie-project-ticker var(--marquee-duration,50s) linear infinite; }
.branderie-page .project-ticker__item { flex: 0 0 auto; height: 27px; display: grid; place-items: center; }
.branderie-page .project-ticker__item img { width: auto; max-width: 125px; height: 45px; object-fit: contain; opacity: .65; }
@keyframes branderie-project-ticker { to { transform: translate3d(calc(-1 * var(--marquee-distance)),0,0); } }
@media (max-width: 809px) {
  .branderie-page .project-ticker__track { gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .branderie-page .project-ticker__track { animation: none !important; }
}

/* Services panel: the six services, iconised, inside a white rounded panel. */
.branderie-page .services-panel-section { padding-top: 20px; padding-bottom: 20px; }
.branderie-page .services-panel { background: #fff; border-radius: 32px; padding: clamp(32px, 4vw, 40px); }
.branderie-page .services-panel__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px 40px; }
.branderie-page .service-tile { display: flex; flex-direction: column; }
.branderie-page .service-tile__link {
  display: block; flex: 1; padding: 25px; margin: -16px; border-radius: 24px;
  transition: background-color .3s ease;
}
.branderie-page .service-tile__link:hover,
.branderie-page .service-tile__link:focus-visible { background-color: var(--brand); }
.branderie-page .service-tile__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: color-mix(in srgb, var(--text) 6%, var(--bg));
  display: grid; place-items: center; margin-bottom: 28px;
  transition: background-color .3s ease;
}
.branderie-page .service-tile__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s ease; }
.branderie-page .service-tile__link:hover .service-tile__icon,
.branderie-page .service-tile__link:focus-visible .service-tile__icon { background-color: rgba(255,255,255,.16); }
.branderie-page .service-tile__link:hover .service-tile__icon svg,
.branderie-page .service-tile__link:focus-visible .service-tile__icon svg { stroke: #fff; }
.branderie-page .service-tile h3 { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 12px; color: var(--text); transition: color .3s ease; }
.branderie-page .service-tile p { font-size: 16px; line-height: 1.4; color: var(--muted); max-width: 340px; transition: color .3s ease; }
.branderie-page .service-tile__link:hover h3,
.branderie-page .service-tile__link:focus-visible h3,
.branderie-page .service-tile__link:hover p,
.branderie-page .service-tile__link:focus-visible p { color: #fff; }
@media (max-width: 1199px) {
  .branderie-page .services-panel__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 809px) {
  .branderie-page .services-panel { padding: 28px; border-radius: 28px; }
  .branderie-page .services-panel__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Shared headings */
.branderie-page .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.branderie-page .section-heading h2 { font-size: clamp(34px, 3.5vw, 56px) !important; line-height: 1.05 !important; letter-spacing: -.03em; font-weight: 500; color: #000; }
.branderie-page .text-link { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

/* Projects */
.branderie-page .projects { padding-top: 92px; padding-bottom: 40px; position: relative; background-color: var(--bg); }
.branderie-page .projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--page-x);
  right: var(--page-x);
  border-top: 1px solid var(--line);
}
.branderie-page .projects .section-heading { margin-bottom: 50px; }
.branderie-page #projects-title { color: #000; font-size: clamp(34px, 3.5vw, 56px) !important; line-height: 1.08 !important; }
.branderie-page .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px 24px; }
.branderie-page .project-card a { display: flex; flex-direction: column; height: 100%; }
.branderie-page .project-card__media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: #e7e7e2; }
.branderie-page .project-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.44,0,.56,1), filter .35s ease; }
.branderie-page .project-card__logo { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(175px, 35%); max-height: 100px; object-fit: contain; opacity: 0; transform: scale(.92); transition: opacity .3s ease, transform .3s ease; z-index: 2; }
.branderie-page .project-card__logo--white { filter: brightness(0) invert(1); }
.branderie-page .project-card a[aria-label="La Boxdeguita"] .project-card__logo,
.branderie-page .project-card a[aria-label="Nutramus"] .project-card__logo {
  width: min(205px, 40%);
  max-height: 115px;
}
.branderie-page .project-card a[aria-label="Yataipan"] .project-card__logo {
  width: min(150px, 30%);
  max-height: 85px;
}
.branderie-page .project-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.10); opacity: 0; transition: opacity .3s ease; }
.branderie-page .project-card a:hover .project-card__image { transform: scale(1.10); filter: blur(8px); }
.branderie-page .project-card a:hover .project-card__logo { opacity: 1; transform: scale(1); }
.branderie-page .project-card a:hover .project-card__media::after { opacity: 1; }
.branderie-page .project-card__footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-weight: 500; color: var(--muted); }
.branderie-page .project-card__footer span:last-child { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 14px; }

/* Services */
.branderie-page .services { padding-top: 32px; padding-bottom: 128px; }
.branderie-page .services-grid { display: grid; grid-template-columns: repeat(4, minmax(260px, 1fr)); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; }
.branderie-page .service-card { min-height: 520px; border-radius: 40px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; scroll-snap-align: start; }
.branderie-page .service-card--brand,
.branderie-page .service-card--social { background: var(--brand); color: var(--bg); }
.branderie-page .service-card--web,
.branderie-page .service-card--google-ads { background: var(--blue); color: var(--bg); }
.branderie-page .service-card--seo,
.branderie-page .service-card--social-ads { background: var(--yellow); color: var(--text); }
.branderie-page .service-card h3 { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 22px; margin-bottom: 16px; font-weight: 500; text-transform: capitalize; color: #fff; }
.branderie-page #services-title { color: #3e3e3e; }
.branderie-page #testimonials-title { color: #3e3e3e; }
.branderie-page #events-title { color: #000; }
.branderie-page #team-title { color: #000; }
.branderie-page #horeca-title { color: #3e3e3e; }
.branderie-page #faq-title { color: black; margin-bottom: 32px; }
@media (max-width: 809px) {
  .branderie-page #faq-title { font-size: 32px !important; }
}
.branderie-page .service-card div > p { font-size: 18px; line-height: 1.35; font-weight: 500; }

/* Metrics */
.branderie-page .metrics { padding-top: 32px; padding-bottom: 32px; }
.branderie-page .metrics-panel { background: #fff; border-radius: 40px; padding: 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.branderie-page .metrics-panel__image { overflow: hidden; border-radius: 24px; min-height: 620px; }
.branderie-page .metrics-panel__image img { width: 100%; height: 100%; object-fit: cover; }
.branderie-page .metrics-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.branderie-page .metrics-grid article { background: var(--panel); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; }
.branderie-page .metric-value { font-size: clamp(52px, 5.5vw, 88px); line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.branderie-page .metric-value span { font-size: .45em; letter-spacing: -.02em; }
.branderie-page .metrics-grid article > p:last-child { color: var(--muted); max-width: 220px; }

/* Testimonials */
.branderie-page .testimonials { padding-top: 92px; padding-bottom: 92px; position: relative; }
@media (max-width: 809px) {
  .branderie-page .testimonials { padding-top: 52px; padding-bottom: 52px; }
}
.branderie-page .testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--page-x);
  right: var(--page-x);
  border-top: 1px solid var(--line);
}
.branderie-page .ti-widget.ti-goog .ti-review-item > .ti-inner { background-color: #fff !important; }
.branderie-page .ti-widget.ti-goog .ti-load-more-reviews-container .ti-load-more-reviews-button { background-color: #fff; }
.branderie-page .testimonials__heading { text-align: center; display: grid; justify-items: center; gap: 20px; }
.branderie-page .testimonials__heading-text { display: grid; justify-items: center; gap: 20px; margin-bottom: 56px; }
.branderie-page .testimonials__heading h2 { max-width: 780px; font-size: clamp(38px, 4vw, 58px); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; text-wrap: balance; }
.branderie-page .testimonials__heading p { max-width: 560px; font-family: "gilroymedium", Arial, sans-serif !important; font-size: 18px; line-height: 1.3; color: var(--muted); }

/* Testimonials columns: three vertical tracks, each looping forever.
   Every track's card list is rendered twice back to back in the markup
   (see template-home.php) and the track animates translateY from 0 to
   exactly -50% — the halfway point lands precisely on the seam between
   the first and second copy, so the loop reset is invisible. Column
   widths/padding/radius/shadow below are ported 1:1 from the Tailwind
   values of the source component (max-w-xs, p-10, rounded-3xl, shadow-lg),
   not approximated; only the colors are swapped for this site's own
   tokens since Tailwind's were theme-dependent to begin with. */
.branderie-page .testimonials-columns {
  /* Full-bleed: break out of .section-shell's centered max-width so this
     strip spans the full viewport edge to edge, while .testimonials__head
     above it stays inside the normal container. padding-inline reuses the
     same --page-x the container itself pads with, so the edge cards still
     sit at the site's usual inset instead of touching the true edge. */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  padding-inline: var(--page-x);
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  max-height: 740px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.branderie-page .testimonials-column {
  flex: 0 1 375px;
  min-width: 0;
}
.branderie-page .testimonials-column--1,
.branderie-page .testimonials-column--2 { display: none; }
@media (min-width: 768px) {
  .branderie-page .testimonials-column--1 { display: block; }
}
@media (min-width: 1024px) {
  .branderie-page .testimonials-column--2 { display: block; }
}
.branderie-page .testimonials-column__track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
  animation: testimonials-scroll linear infinite;
  animation-duration: var(--tc-duration, 15s);
  will-change: transform;
}
@keyframes testimonials-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.branderie-page .testimonial-card {
  position: relative;
  width: 100%;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.branderie-page .testimonial-card__stars {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-bottom: 12px;
}
.branderie-page .testimonial-card__star { width: 17px; height: 17px; }
.branderie-page .testimonial-card__verified {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 6px;
  background: url("https://cdn.trustindex.io/assets/icon/ti-verified.svg") center / contain no-repeat;
  cursor: help;
}
.branderie-page .testimonial-card__platform {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 20px;
  height: 20px;
}
.branderie-page .testimonial-card__platform img { display: block; width: 100%; height: 100%; }
.branderie-page .testimonial-card__text {
  margin: 0;
  max-height: 90px;
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}
.branderie-page .testimonial-card__more {
  display: inline-block;
  margin-top: 8px;
  font-family: "gilroymedium", Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.branderie-page .testimonial-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.branderie-page .testimonial-card__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--line);
}
.branderie-page .testimonial-card__who { display: flex; flex-direction: column; }
.branderie-page .testimonial-card__name { font-family: "gilroymedium", Arial, sans-serif !important; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; color: var(--text); }
.branderie-page .testimonial-card__role { font-family: "gilroymedium", Arial, sans-serif !important; letter-spacing: -.01em; line-height: 1.25; color: var(--muted); opacity: .8; font-size: 14px; }
@media (max-width: 809px) {
  .branderie-page .testimonials-columns { max-height: 560px; margin-top: 24px; }
  .branderie-page .testimonial-card { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .branderie-page .testimonials-column__track { animation: none; }
}
/* Stack: a tall scroll runway with a sticky viewport-height window; each
   card slides up from below to cover the previous one (JS-driven). Shared
   base for every .stack-scroll section (Testimonials, Audience). */
.branderie-page .stack-scroll { position: relative; }
.branderie-page .stack-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.branderie-page .testimonials-stack .testimonials-list { display: grid; width: 100%; gap: 0; }
.branderie-page .testimonials-stack .testimonial { grid-column: 1; grid-row: 1; width: 100%; }

.branderie-page .testimonials-list { display: grid; gap: 16px; }
.branderie-page .testimonial { display: grid; grid-template-columns: 1fr 1fr; min-height: 530px; border-radius: 32px; overflow: hidden; background: #fff; }
.branderie-page .testimonial > img { width: 100%; height: 100%; object-fit: cover; min-height: 530px; }
.branderie-page .testimonial__content { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.branderie-page .testimonial p { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -.025em; font-weight: 500; }
.branderie-page .testimonial .testimonial__footer { display: grid; gap: 4px; }
.branderie-page .testimonial .testimonial__footer span { color: var(--muted); }

/* Per-card brand colors on the text panel. */
.branderie-page .testimonial:nth-child(1) .testimonial__content { background: #b03700; color: #fff; }
.branderie-page .testimonial:nth-child(1) .testimonial__content .testimonial__footer span { color: rgba(255,255,255,.7); }
.branderie-page .testimonial:nth-child(2) .testimonial__content { background: #f2a62c; color: #fff; }
.branderie-page .testimonial:nth-child(2) .testimonial__content .testimonial__footer span { color: rgba(255,255,255,.7); }
.branderie-page .testimonial:nth-child(3) .testimonial__content { background: #014aad; color: #fff; }
.branderie-page .testimonial:nth-child(3) .testimonial__content .testimonial__footer span { color: rgba(255,255,255,.7); }

/* Audience: readable cards in document flow; JS pins each card only after
   its bottom is visible, then scales the article inside its stable wrapper. */
.branderie-page .audience {
  --audience-top: 80px;
  --audience-bottom: 24px;
  --audience-gap: 24px;
  padding-bottom: 40px;
  background-color: var(--bg);
}
.branderie-page .audience-stack__sticky {
  position: relative;
  top: auto;
  height: auto;
  display: block;
  overflow: visible;
}
.branderie-page .audience-stack .audience-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: var(--audience-gap);
}
.branderie-page .audience-list > * { flex: none; min-width: 0; }
.branderie-page .audience-slide { position: relative; width: 100%; }
.branderie-page .audience-card {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--audience-top) - var(--audience-bottom));
  min-height: calc(100svh - var(--audience-top) - var(--audience-bottom));
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  isolation: isolate;
  background: #30251d;
  transform-origin: center bottom;
}
.branderie-page .audience-card__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: inherit; z-index: 0; transform: translateZ(0);
}
.branderie-page .audience-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,16,14,.1), rgba(20,16,14,.45));
}
.branderie-page .audience-card__content {
  position: relative; z-index: 2; width: 100%; max-width: 560px;
  padding: clamp(28px, 4vw, 48px); border-radius: 15px; text-align: center;
  background: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.branderie-page .audience-card__content h3 { font-family: "Inter Display", Arial, sans-serif; font-size: 36px; line-height: 1.15; font-weight: 500; color: black; padding-bottom: 12px; }
.branderie-page .audience-card__who { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 13px; line-height: 1.4; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); margin-bottom: 16px; }
.branderie-page .audience-card__body { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 18px; line-height: 1.45; color: #3e3e3e; }
.branderie-page .audience-card__content .lets-talk-btn { margin-top: 20px; max-width: 100%; height: auto; min-height: 56px; }
.branderie-page .audience-card__content .lets-talk-btn > span:first-child { min-width: 0; white-space: normal; }
@media (max-width: 809px) {
  .branderie-page .audience { --audience-top: 80px; --audience-bottom: 16px; --audience-gap: 16px; }
  .branderie-page .audience-card { padding: 48px 16px; border-radius: 24px; }
  .branderie-page .audience-card__content { padding: 28px; }
  .branderie-page .audience-card__content h3 { font-size: 32px; padding-bottom: 20px; }
  .branderie-page .audience-card__body { font-size: 17px; line-height: 1.5; }
}
@media (max-width: 599px) {
  .branderie-page .audience.section-shell { padding-inline: 16px; }
  .branderie-page .audience-card { padding: 48px 12px; border-radius: 20px; }
  .branderie-page .audience-card__content { padding: 24px 20px; }
  .branderie-page .audience-card__content h3 { font-size: 32px !important; }
  .branderie-page .audience-card__content .lets-talk-btn { gap: 12px; }
}

/* FAQ accordion icon toggle — copied verbatim from Elementor's own
   plugins/elementor/assets/css/widget-nested-accordion.min.css. Real
   Elementor pages get this for free from that stylesheet; home-v2 doesn't
   load it (it's not a real Elementor-rendered widget), so it's re-declared
   here scoped to .branderie-page. Pure CSS, no JS: native <details open>
   drives which icon shows via the [open] attribute selector. */
.branderie-page .elementor-widget-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon .e-opened { display: none; }
.branderie-page .elementor-widget-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon .e-closed { display: flex; }
.branderie-page .elementor-widget-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title .e-n-accordion-item-title-icon .e-opened { display: flex; }
.branderie-page .elementor-widget-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title .e-n-accordion-item-title-icon .e-closed { display: none; }
/* The inline SVGs have no width/height attribute (only viewBox); Elementor's
   real stylesheet sizes them via a --n-accordion-icon-size var we don't
   have here, so without an explicit size they render at 0×0. */
.branderie-page .elementor-widget-n-accordion .e-n-accordion-item-title-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}
/* Overrides style.css's brand-orange text/borders for this page only —
   kept as-is on every other page using this widget. */
.branderie-page .elementor-widget-n-accordion summary[aria-expanded="true"] .e-n-accordion-item-title-header {
  background-color: transparent;
  color: black;
}
.branderie-page .elementor-widget-n-accordion .e-n-accordion-item-title-header {
  color: black;
  border: 1px solid var(--line);
}
/* style.css's global `h3 { color: #b03700; }` otherwise wins over the
   inherited black above, since it targets the element directly. */
.branderie-page .elementor-widget-n-accordion .e-n-accordion-item-title-text {
  color: black;
}
.branderie-page .elementor-widget-n-accordion .elementor-widget-text-editor .Textbody {
  color: black;
  border: 1px solid var(--line);
  font-size: 17px;
}
.branderie-page .elementor-widget-n-accordion .e-n-accordion-item-title-icon,
.branderie-page .elementor-widget-n-accordion summary[aria-expanded="true"] .e-n-accordion-item-title-icon,
.branderie-page .elementor-widget-n-accordion summary:hover .e-n-accordion-item-title-icon {
  border: 1px solid var(--line);
}
/* The icon SVGs set their own stroke color via an inline <style class="cls-1">
   (#993700/#a13700) baked into each <svg>; !important is needed to win over
   that embedded rule. */
.branderie-page .elementor-widget-n-accordion .e-n-accordion-item-title-icon .cls-1 {
  stroke: black !important;
}

/* Blog */
.branderie-page .blog { padding-top: 92px; padding-bottom: 92px; position: relative; }
.branderie-page .blog::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--page-x);
  right: var(--page-x);
  border-top: 1px solid var(--line);
}
.branderie-page .blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.branderie-page .blog-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 25px; transition: transform .45s ease; }
.branderie-page .blog-card a { display: grid; gap: 18px; }
.branderie-page .blog-card time { color: var(--muted); display: block; margin-bottom: 10px; font-size: 16px; }
.branderie-page .blog-card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.015em; font-weight: 500; }

/* Footer */
.branderie-page .site-footer { background: var(--brand); color: #fff; }
.branderie-page .site-footer__inner { padding-top: 72px; padding-bottom: 28px; }
.branderie-page .site-footer__top { display: grid; grid-template-columns: 1.35fr .65fr; gap: 72px; align-items: end; padding-bottom: 96px; }
.branderie-page .footer-kicker { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 14px; margin-bottom: 18px; }
.branderie-page .site-footer__top h2 { max-width: 800px; font-size: clamp(40px, 4.5vw, 68px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.branderie-page .footer-email { display: inline-block; margin-top: 28px; font-size: 22px; text-decoration: underline; text-underline-offset: 5px; }
.branderie-page .newsletter { display: grid; gap: 8px; }
.branderie-page .newsletter label { font-size: 22px; font-weight: 500; }
.branderie-page .newsletter p { opacity: .75; }
.branderie-page .newsletter__row { display: flex; border-bottom: 1px solid rgba(255,255,255,.6); margin-top: 16px; }
.branderie-page .newsletter input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 14px 0; background: transparent; color: #fff; }
.branderie-page .newsletter input::placeholder { color: rgba(255,255,255,.6); }
.branderie-page .newsletter button { border: 0; background: transparent; color: #fff; font-family: "gilroymedium", Arial, sans-serif !important; cursor: pointer; }
.branderie-page .site-footer__bottom { border-top: 1px solid rgba(255,255,255,.35); padding-top: 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; font-family: "gilroymedium", Arial, sans-serif !important; font-size: 14px; }
.branderie-page .social-links--light { color: #fff; }
.branderie-page .footer-nav { display: flex; gap: 24px; }
.branderie-page .footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.branderie-page .site-footer__bottom > p { text-align: right; }

@media (max-width: 1199px) {
  .branderie-page { --page-x: 24px; }
  .branderie-page .site-nav__links a span { display: none; }
  .branderie-page .projects-grid { grid-template-columns: 1fr; }
  .branderie-page .metrics-panel { grid-template-columns: 1fr; }
  .branderie-page .metrics-panel__image { min-height: 440px; }
  .branderie-page .blog-grid { grid-template-columns: repeat(2,1fr); }
  .branderie-page .blog-card:last-child { grid-column: span 2; max-width: calc(50% - 12px); }
}

@media (max-width: 809px) {
  .branderie-page { --page-x: 30px; }
  .branderie-page .site-nav__inner { min-height: 64px; }
  .branderie-page .site-nav__brand { width: 105px; }
  .branderie-page .site-nav__links { max-width: 65vw; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .branderie-page .site-nav__links::-webkit-scrollbar { display:none; }
  .branderie-page .site-nav__links a { font-size: 13px; white-space: nowrap; }
  .branderie-page .services { padding-top: 32px; padding-bottom: 80px; }
  .branderie-page .projects { padding-top: 52px; padding-bottom: 80px; }
  .branderie-page .blog { padding-top: 52px; padding-bottom: 52px; }
  .branderie-page .section-heading { margin-bottom: 32px; }
  .branderie-page .section-heading--stack-mobile { align-items: flex-start; flex-direction: column; gap: 16px; }
  .branderie-page .service-card { min-height: 500px; }
  .branderie-page .metrics { padding-top: 40px; padding-bottom: 16px; }
  .branderie-page .metrics-panel { padding: 16px; border-radius: 28px; }
  .branderie-page .metrics-panel__image { min-height: 390px; border-radius: 18px; }
  .branderie-page .metrics-grid { grid-template-columns: 1fr; }
  .branderie-page .metrics-grid article { min-height: 220px; }
  .branderie-page .testimonial { grid-template-columns: 1fr; min-height: 0; }
  .branderie-page .testimonial > img { min-height: 360px; max-height: 480px; }
  .branderie-page .testimonial__content { min-height: 360px; }
  .branderie-page .blog-grid { grid-template-columns: 1fr; }
  .branderie-page .blog-card:last-child { grid-column: auto; max-width: none; }
  .branderie-page .site-footer__top { grid-template-columns: 1fr; gap: 56px; padding-bottom: 72px; }
  .branderie-page .site-footer__bottom { grid-template-columns: 1fr; }
  .branderie-page .footer-nav { flex-wrap: wrap; }
  .branderie-page .site-footer__bottom > p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .branderie-page *, .branderie-page *::before, .branderie-page *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* === TYPOGRAPHY FROM ORIGINAL FRAMER SOURCE === */
/* Inter Display is the main family in the source; everything else uses gilroymedium. */
.branderie-page .intro h1 { font-family:"Inter Display",Arial,sans-serif; font-size:48px; line-height:1.1em; letter-spacing:-.02em; font-weight:500; max-width:900px; }
.branderie-page .section-heading h2 { font-family:"Inter Display",Arial,sans-serif; font-size:60px; line-height:1.1em; letter-spacing:-.02em; font-weight:500; }
.branderie-page .text-link { font-family: "gilroymedium", Arial, sans-serif !important; font-size:17.6px; line-height:1.3em; letter-spacing:-.02em; font-weight:500; }
.branderie-page .project-card__footer,
.branderie-page .project-card__footer span:last-child { font-family: "gilroymedium", Arial, sans-serif !important; font-size:14px; line-height:1.3em; letter-spacing:0; font-weight:500; }
.branderie-page .service-card div > p { font-family: "gilroymedium", Arial, sans-serif !important; font-size:14.08px; line-height:1.4em; letter-spacing:0; font-weight:400; }
.branderie-page .testimonials__heading h2 { font-family:"Inter Display",Arial,sans-serif; font-size: clamp(34px, 3.5vw, 56px) !important; line-height:1.1em !important; letter-spacing:-.02em; font-weight:500; color:#000 !important; }
.branderie-page .metric-value { font-family: "gilroymedium", Arial, sans-serif !important; font-size:40px; line-height:1em; letter-spacing:-.07em; font-weight:500; }
.branderie-page .metric-value span { font-size:1em; letter-spacing:inherit; }
.branderie-page .metrics-grid article > p:last-child { font-family: "gilroymedium", Arial, sans-serif !important; font-size:17.6px; line-height:1.5em; letter-spacing:0; font-weight:400; }
.branderie-page .testimonial p { font-family: "gilroymedium", Arial, sans-serif !important; font-size:20px; line-height:1.1em; letter-spacing:-.01em; font-weight:500; }
.branderie-page .testimonial .testimonial__footer { font-family: "gilroymedium", Arial, sans-serif !important; font-size:16px; line-height:1.4em; }
.branderie-page .testimonial .testimonial__footer strong { font-weight:500; }
.branderie-page #blog-title { color: black; font-size: clamp(34px, 3.5vw, 56px) !important; }
.branderie-page .blog-card h3 { font-family: "gilroymedium", Arial, sans-serif !important; font-size:18px; line-height:1.3em; letter-spacing:-.01em; font-weight:500; color: var(--text); }
.branderie-page .site-footer .footer-kicker,
.branderie-page .site-footer__top h2,
.branderie-page .footer-email { font-family: "gilroymedium", Arial, sans-serif !important; font-size:32px; line-height:1.1em; letter-spacing:-.01em; font-weight:500; }
.branderie-page .site-footer .footer-kicker { margin-bottom:0; }
.branderie-page .newsletter label { font-family: "gilroymedium", Arial, sans-serif !important; font-size:48px; line-height:1.1em; letter-spacing:-.02em; font-weight:500; }
.branderie-page .newsletter > p { font-family:"gilroymedium", Arial, sans-serif !important; font-size:14px; line-height:1.22em; font-weight:400; }

@media (max-width:809px) {
  .branderie-page .project-ticker-section { padding-bottom: 52px; }
  .branderie-page .intro { min-height: 95svh; }
  .branderie-page .intro__content { min-height: 95svh; gap: 20px; }
  .branderie-page .intro__lead { max-width: 300px; line-height: 1.2; }
  .branderie-page .lets-talk-btn span { font-size: 15px; }
  .branderie-page .intro h1 { font-size: 2em !important; line-height:1.1em; }
  .branderie-page .testimonials__heading h2 { font-size:32px !important; line-height:1.1em; }
  .branderie-page .section-heading h2 { font-size:40px; line-height:40px; }
  .branderie-page #blog-title { font-size:32px !important; line-height:40px; }
  .branderie-page .progressive-blur { height:10vh; }
  /* Bump every 16px paragraph/label up to 17px on mobile. */
  .branderie-page .service-tile p,
  .branderie-page .testimonial .testimonial__footer,
  .branderie-page .one-decision__footer > p > span,
  .branderie-page .brd-card__text,
  .branderie-page .axis__cta-lead,
  .branderie-page .final-cta__btn,
  .branderie-page .team-card p { font-size: 17px; }
}
@media (min-width:810px) and (max-width:1199px) {
  .branderie-page .progressive-blur { height:15vh; }
}
/* === END ORIGINAL TYPOGRAPHY === */

/* === FRAMER MOTION FIDELITY PATCH === */

/* Exact spring curves sampled from the Framer animator in the source export. */
.branderie-page {
  --framer-spring-b02-1000: linear(0, 0.034, 0.1167, 0.2253, 0.3435, 0.4604, 0.5691, 0.6657, 0.7484, 0.817, 0.8724, 0.9158, 0.9487, 0.973, 0.9902, 1.0018, 1.0091, 1.0131, 1.0149, 1.0151, 1.0142, 1.0128, 1.0111, 1.0093, 1.0076, 1.006, 1.0046, 1.0034, 1.0024, 1.0017, 1.0011, 1.0006, 1);
  --framer-spring-b06-1400: linear(0, 0.0496, 0.178, 0.3547, 0.5517, 0.7456, 0.9186, 1.0592, 1.1614, 1.2246, 1.2518, 1.2487, 1.2227, 1.1816, 1.1328, 1.0827, 1.0363, 0.9973, 0.9676, 0.9479, 0.9377, 0.9358, 0.9404, 0.9497, 0.9615, 0.9743, 0.9865, 0.9972, 1.0057, 1.0116, 1.0151, 1.0163, 1.0157, 1.0138, 1.0109, 1.0077, 1.0046, 1.0017, 0.9993, 0.9975, 0.9964, 0.9959, 0.9959, 0.9963, 0.9969, 0.9977, 1);
  --framer-spring-b02-2000: linear(0, 0.0086, 0.0321, 0.0671, 0.1108, 0.1607, 0.2148, 0.2714, 0.3291, 0.3866, 0.4431, 0.4978, 0.5502, 0.5998, 0.6463, 0.6896, 0.7296, 0.7663, 0.7997, 0.8298, 0.8569, 0.8811, 0.9025, 0.9214, 0.9378, 0.9521, 0.9644, 0.9749, 0.9837, 0.9911, 0.9971, 1.0021, 1.006, 1.0091, 1.0114, 1.0131, 1.0142, 1.0148, 1.0151, 1.0151, 1.0149, 1.0144, 1.0138, 1.0131, 1.0123, 1.0114, 1.0105, 1.0097, 1.0088, 1.008, 1.0072, 1.0064, 1.0057, 1.005, 1.0043, 1.0038, 1.0032, 1.0028, 1.0023, 1.002, 1.0016, 1.0013, 1.001, 1.0008, 1.0006, 1.0004, 1);
}


/* Shared entrance rhythm: one visual unit, a short downward settle, no bounce. */
.branderie-page {
  --reveal-duration: 700ms;
  --reveal-y: -24px;
  --reveal-easing: cubic-bezier(.22, 1, .36, 1);
}
.branderie-page [data-reveal] {
  --reveal-delay: 0ms;
  --reveal-stagger: 0ms;
  opacity: 1;
  transform: none;
  transition: none;
}
/* Preparing the hidden state is immediate; only the entrance transitions. */
.branderie-page [data-reveal].is-reveal-pending.is-visible {
  transition:
    opacity var(--reveal-duration) var(--reveal-easing) calc(var(--reveal-delay) + var(--reveal-stagger)),
    transform var(--reveal-duration) var(--reveal-easing) calc(var(--reveal-delay) + var(--reveal-stagger));
}
/* Content stays readable if JavaScript is unavailable. */
.branderie-page [data-reveal].is-reveal-pending:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0);
  will-change: transform, opacity;
}
.branderie-page [data-reveal]:focus-within {
  opacity: 1;
  transform: none;
  transition: none;
}
/* The heading enters as a sentence; the lead and buttons follow it. */
.branderie-page .word-reveal { display: inline-block; }
@media (max-width: 809px) {
  .branderie-page {
    --reveal-duration: 550ms;
    --reveal-y: -16px;
  }
  .branderie-page [data-reveal].is-reveal-pending.is-visible {
    transition-delay: calc(var(--reveal-delay) / 2);
  }
}

/* Scroll-linked motion preserved from the source attributes. */
.branderie-page [data-scroll-link] {
  opacity: var(--scroll-linked-opacity,1);
  transform: translate3d(0,var(--scroll-linked-y,0px),0);
  will-change: transform,opacity;
}

/* Original text CTA behavior: line grows 15% -> 100%, gap opens on hover. */
.branderie-page .text-link--animated {
  position:relative; display:inline-flex; align-items:center; gap:16px;
  padding:0 0 4px; overflow:hidden; text-decoration:none;
  font-family: "gilroymedium", Arial, sans-serif !important;
  color: var(--text);
  transition:gap 300ms cubic-bezier(.16,1,.3,1);
}
.branderie-page .text-link--animated::after {
  content: "";
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask-image: url(../arrowwhite.svg);
  mask-image: url(../arrowwhite.svg);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.branderie-page .text-link--animated::before { content:""; position:absolute; left:0; bottom:0; width:15%; height:1px; background:currentColor; transition:width 300ms cubic-bezier(.16,1,.3,1); }
.branderie-page .text-link--animated:hover { gap:80px; }
.branderie-page .text-link--animated:hover::before { width:100%; }

/* PROJECTS: Framer hover variant enlarges media to 110%. */
.branderie-page .project-card__image { transition:transform 1200ms cubic-bezier(.16,1,.3,1),filter 1200ms ease; }
.branderie-page .project-card a:hover .project-card__image { transform:scale(1.10); filter:blur(8px); }
.branderie-page .project-card__logo { transition:opacity 300ms ease,transform 300ms cubic-bezier(.16,1,.3,1); }

/* SERVICES: genuine horizontal carousel from the original source. */
.branderie-page .services { padding-top:32px; padding-bottom:0; }
.branderie-page .services .section-heading { margin-bottom:24px; max-width:750px; margin-inline:auto; text-align:center; justify-content:center; }
.branderie-page .services-intro { display:grid; max-width:750px; margin-inline:auto; gap:16px; margin-bottom:35px; text-align:center; }
.branderie-page .services-intro p { font-family: "gilroymedium", Arial, sans-serif !important; font-size:18px; line-height:1.15; color:var(--muted); }
.branderie-page .services-carousel { width:100%; height:400px; position:relative; }

/* Services: an open menu with every description visible. */
.branderie-page .one-decision {
  background-color: var(--bg);
}
.branderie-page .one-decision__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  padding-block: clamp(48px, 5vw, 80px);
  border-block: 1px solid var(--line);
}
.branderie-page .one-decision__top {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(32px, 5vw, 80px);
}
.branderie-page .one-decision__heading {
  margin: 0;
  font-family: "awesome_serifextra_tall", sans-serif !important;
  font-size: clamp(34px, 3.5vw, 56px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em;
  font-weight: 400;
  color: #000;
  text-wrap: balance;
}
.branderie-page .one-decision__intro { max-width: 380px; padding-bottom: 4px; }
.branderie-page .one-decision__intro p {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  color: var(--muted);
}
.branderie-page .one-decision__intro p + p { margin-top: 12px; }
.branderie-page .one-decision__tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
/* Matches the .servicios__list / .elementor-widget-n-tabs treatment used for this same icon-box component elsewhere on the site; that page-specific Elementor CSS isn't loaded on this template, so it's re-scoped here. */
.branderie-page .one-decision__tiles .hover-group.e-con-full {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  row-gap: 24px;
}
.branderie-page .one-decision__tiles .elementor-widget-icon-box {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 45px 140px 45px 40px !important;
  background-color: #fff;
  transition: background-color .3s ease;
}
.branderie-page .one-decision__tiles .elementor-widget-icon-box:hover {
  background-color: #b03700;
}
.branderie-page .one-decision__tiles .elementor-widget-icon-box:hover .elementor-icon-box-title,
.branderie-page .one-decision__tiles .elementor-widget-icon-box:hover .elementor-icon-box-title a,
.branderie-page .one-decision__tiles .elementor-widget-icon-box:hover .elementor-icon-box-description,
.branderie-page .one-decision__tiles .elementor-widget-icon-box.is-touched .elementor-icon-box-title,
.branderie-page .one-decision__tiles .elementor-widget-icon-box.is-touched .elementor-icon-box-title a,
.branderie-page .one-decision__tiles .elementor-widget-icon-box.is-touched .elementor-icon-box-description {
  color: #fff !important;
}
/* Reserve on the right so the text — even after style.css's translateX(130px) hover-shift —
   never reaches the arrow button's zone (right:20px, 65px wide). Fixed at all times, so it
   never has to animate. */
.branderie-page .one-decision__tiles .elementor-icon-box-content {
  width: 100%;
  box-sizing: border-box;
  padding-right: 53px;
}
.branderie-page .one-decision__tiles .elementor-icon-box-icon {
  left: -15px;
}
.branderie-page .one-decision__tiles .custom-icon-right {
  right: 25px;
  opacity: .5;
  /* style.css's base .custom-icon-right sets transform 0.3s ease — too
     quick to actually register the rotate, so slow it down just here. */
  transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
@media (min-width: 992px) {
  .branderie-page .one-decision__tiles .elementor-widget-icon-box:hover .elementor-icon-box-content {
    transform: translateX(100px) !important;
  }
}
/* Dead widget from the original Elementor export (no matching CSS/JS anywhere) — hidden so it doesn't take a 3rd grid column. */
.branderie-page .one-decision__tiles .elementor-widget-html {
  display: none;
}
@media (max-width: 809px) {
  .branderie-page .one-decision__tiles .hover-group.e-con-full {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    row-gap: 10px;
  }
  .branderie-page .one-decision__tiles .custom-icon-right {
    opacity: 1;
  }
  .branderie-page .one-decision__tiles .elementor-icon-box-content {
    padding-right: 0;
  }
  .branderie-page .one-decision__tiles .elementor-icon-box-description {
    display: none;
  }
  .branderie-page .one-decision__tiles .elementor-widget-icon-box {
    padding: 20px !important;
  }
  /* .is-touched mirrors :hover, driven by scroll position instead of the mouse
     (see the IntersectionObserver in branderie-home.js). */
  .branderie-page .one-decision__tiles .elementor-widget-icon-box.is-touched {
    background-color: #b03700;
  }
  .branderie-page .one-decision__tiles .elementor-widget-icon-box.is-touched .custom-icon-right {
    transform: translateY(-50%) rotate(45deg);
  }
}
.branderie-page .one-decision__tiles .elementor-icon-box-title,
.branderie-page .one-decision__tiles .elementor-icon-box-title a {
  font-size: clamp(28px, 3.2vw, 39px) !important;
}
.branderie-page .one-decision__tiles .elementor-icon-box-description {
  font-size: 19px !important;
}
/* Overrides the SVGs' own inline <style> (stroke:#a13700 / #F7F8F3). */
.branderie-page .one-decision__tiles .custom-icon-right .icon-normal .cls-1 {
  stroke: #1e1e1e !important;
}
.branderie-page .one-decision__tiles .custom-icon-right .icon-hover .st0 {
  stroke: #f7f8f3 !important;
}
/* The circular button itself (style.css sets border:#b03700 on icon-normal; icon-hover's border is already #f7f8f3). */
.branderie-page .one-decision__tiles .custom-icon-right .icon-normal {
  border-color: var(--muted);
  background-color: #fff;
}
.branderie-page .one-decision__tiles .elementor-widget-icon-box:hover .custom-icon-right {
  transform: translateY(-50%) rotate(45deg);
}
/* style.css dims siblings on .hover-group:hover, which also fires over the grid gap (no box hovered). Re-scope the dimming to only fire while an actual icon-box is hovered. */
.branderie-page .one-decision__tiles .hover-group.e-con-full:hover .elementor-widget-icon-box:not(:hover) {
  opacity: 1;
}
/* Keep link metrics stable against the theme's global hover styles. */
.branderie-page .one-decision a,
.branderie-page .one-decision a:hover,
.branderie-page .brd-team__foot a,
.branderie-page .brd-team__foot a:hover {
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}
.branderie-page .one-decision__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.branderie-page .one-decision__footer > p {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--text);
}
.branderie-page .one-decision__footer > p > span {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  letter-spacing: normal;
  color: var(--muted);
}
.branderie-page .one-decision .lets-talk-btn,
.branderie-page .brd-team__foot .lets-talk-btn {
  max-width: 100%;
  height: auto;
  min-height: 56px;
  flex: 0 1 auto;
}
.branderie-page .one-decision .lets-talk-btn > span:first-child,
.branderie-page .brd-team__foot .lets-talk-btn > span:first-child { min-width: 0; white-space: normal; }
.branderie-page .one-decision .lets-talk-btn:focus-visible,
.branderie-page .brd-team__foot .lets-talk-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
@media (max-width: 1099px) {
  .branderie-page .one-decision__top { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 809px) {
  .branderie-page .one-decision__grid { gap: 32px; }
  .branderie-page .one-decision__top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .branderie-page .one-decision__title-group,
  .branderie-page .one-decision__intro,
  .branderie-page .one-decision__footer { align-items: center; text-align: center; }
  .branderie-page .one-decision__heading { max-width: 620px; margin-inline: auto; font-size: 32px !important; text-align: center; }
  .branderie-page .one-decision__intro { max-width: 520px; margin-inline: auto; padding-bottom: 0; }
  .branderie-page .one-decision__footer { flex-direction: column; }
  .branderie-page .projects #projects-title { text-align: center; font-size: 32px !important; }
  .branderie-page #team-title,
  .branderie-page #events-title { font-size: 32px !important; }
  .branderie-page .projects .lets-talk-btn.lets2 { margin-inline: auto; }
  .branderie-page .hit h2 { font-size: 32px !important; }
  .branderie-page .audience { --audience-top: 80px; }
  .branderie-page .audience-card__body { font-size: 17px; line-height: 1.3em; }
}
@media (max-width: 599px) {
  .branderie-page .one-decision__heading { font-size: 32px !important; }
  .branderie-page .audience.section-shell { padding-inline: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .branderie-page .one-decision *,
  .branderie-page .one-decision *::before,
  .branderie-page .one-decision *::after { transition: none !important; animation: none !important; }
}

/* Why Branderie: a typographic opening and three full-width editorial rows. */
.branderie-page .why-us {
  --why-surface: #f7f6f2;
  --why-line: #deddd5;
  padding-bottom: clamp(64px, 6vw, 96px);
  background: var(--bg);
}
.branderie-page .why-us__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 5vw, 80px);
}
/* Three graphic posters follow the reading position without taking over scroll. */
.branderie-page .why-us__symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.branderie-page .why-us__story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(48px, 6vw, 96px);
  position: relative;
  isolation: isolate;
}
.branderie-page .why-us__visual {
  position: sticky;
  top: 104px;
  height: clamp(440px, calc(100svh - 160px), 620px);
  border-radius: 28px;
  isolation: isolate;
  box-shadow: 0 24px 48px -36px rgba(84, 34, 13, .5);
}
.branderie-page .why-us__scene {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background-color: var(--poster-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.branderie-page .why-us__scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.branderie-page .why-us__poster--connection { --poster-bg: #b03700; --poster-ink: #f7f8f3; }
.branderie-page .why-us__poster--craft { --poster-bg: #eaddc8; --poster-ink: #8d300c; }
.branderie-page .why-us__poster--taste { --poster-bg: #61270f; --poster-ink: #f2dfbb; }
/* One distinct photo per scene index (not per poster class, since --connection and --craft
   are each reused across two scenes). */
.branderie-page .why-us__scene[data-why-scene="0"] { background-image: url('https://branderie.es/wp-content/uploads/2026/09/home-br6-scaled.jpg'); background-color: transparent; }
.branderie-page .why-us__scene[data-why-scene="1"] { background-image: url('https://branderie.es/wp-content/uploads/2026/09/home-br-8-scaled.jpg'); }
.branderie-page .why-us__scene[data-why-scene="2"] { background-image: url('https://branderie.es/wp-content/uploads/2026/09/branderie-br-15.png'); }
.branderie-page .why-us__scene[data-why-scene="3"] { background-image: url('https://branderie.es/wp-content/uploads/2026/09/queso-pimenton.jpg'); }
.branderie-page .why-us__scene[data-why-scene="4"] { background-image: url('https://branderie.es/wp-content/uploads/2026/09/branderie-br-9.jpg'); }
.branderie-page .why-us__scene[data-state="active"] { opacity: 1; z-index: 1; }
.branderie-page .why-us__art {
  display: block;
  width: 100%;
  max-width: 330px;
  height: 100%;
  max-height: 330px;
  overflow: visible;
  transform-origin: center;
}
.branderie-page .why-us__art--connection { transform: rotate(var(--why-rotation, 0deg)); }
.branderie-page .why-us__art--craft { transform: rotate(var(--why-sketch-rotation, -5deg)); }
.branderie-page .why-us__art--taste { transform: rotate(calc(var(--why-rotation, 0deg) * -1)); }
.branderie-page .why-us__drawing-guides { stroke-dashoffset: calc(var(--why-progress, 0) * -40px); }
.branderie-page .why-us__visual-progress {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  right: 28px;
  display: flex;
  gap: 6px;
}
.branderie-page .why-us__visual-progress > span { width: 20px; height: 2px; background: #fff; opacity: .35; transition: opacity .4s ease, width .4s ease; }
.branderie-page .why-us__story[data-active="0"] .why-us__visual-progress > span:nth-child(1),
.branderie-page .why-us__story[data-active="1"] .why-us__visual-progress > span:nth-child(2),
.branderie-page .why-us__story[data-active="2"] .why-us__visual-progress > span:nth-child(3),
.branderie-page .why-us__story[data-active="3"] .why-us__visual-progress > span:nth-child(4),
.branderie-page .why-us__story[data-active="4"] .why-us__visual-progress > span:nth-child(5) { opacity: 1; width: 40px; }
.branderie-page .why-us__list { min-width: 0; }
.branderie-page .why-us__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 64px 0;
  gap: 24px;
  border-bottom: 1px solid var(--why-line);
  position: relative;
}
.branderie-page .why-us__item:first-child { border-top: 1px solid var(--why-line); }
.branderie-page .why-us__item.is-revealed.is-current:last-child { border-bottom: 0; }
.branderie-page .why-us__item > h3 {
  max-width: 26ch;
  margin: 0;
  font-family: "awesome_serifextra_tall", sans-serif !important;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #000;
  text-wrap: pretty;
}
.branderie-page .why-us__body { min-width: 0; }
.branderie-page .why-us__body > p { max-width: 62ch; margin: 0; line-height: 1.3; color: var(--muted); }
.branderie-page .why-us__body > p + p { margin-top: 20px; }
.branderie-page .why-us__mobile-scene { display: none; }
.branderie-page .why-us__story.is-motion-ready .why-us__item > h3,
.branderie-page .why-us__story.is-motion-ready .why-us__body {
  transform: translateY(var(--reveal-y));
  transition: transform var(--reveal-duration) var(--reveal-easing);
}
.branderie-page .why-us__story.is-motion-ready .why-us__body { transition-delay: .08s; }
.branderie-page .why-us__story.is-motion-ready .why-us__item.is-revealed > h3,
.branderie-page .why-us__story.is-motion-ready .why-us__item.is-revealed .why-us__body { transform: none; }
@media (max-width: 1099px) {
  .branderie-page .why-us__story { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; }
  .branderie-page .why-us__scene { padding: 28px; padding-bottom: 52px; }
  .branderie-page .why-us__item { padding-block: 48px; }
  .branderie-page .why-us__body > p { font-size: 17px; }
}
@media (max-width: 899px) {
  .branderie-page .why-us { padding-top: 35px; }
  .branderie-page .why-us__story { grid-template-columns: minmax(0, 1fr); }
  .branderie-page .why-us__visual { display: none; }
  .branderie-page .why-us__item { min-height: 0; padding-block: 40px; gap: 24px; }
  .branderie-page .why-us__item:first-child { padding-top: 0; border-top: 0; }
  .branderie-page .why-us__item > h3 { max-width: 30ch; font-size: 32px; }
  .branderie-page .why-us__mobile-scene {
    display: block;
    width: 100%;
    height: clamp(240px, 58vw, 380px);
    border-radius: 24px;
    overflow: hidden;
    background: var(--poster-bg);
  }
  .branderie-page .why-us__mobile-scene > img,
  .branderie-page .why-us__mobile-scene > video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 599px) {
  .branderie-page .why-us__item > h3 { font-size: 32px !important; }
  .branderie-page .why-us__mobile-scene { height: 400px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .branderie-page .why-us__scene { transform: none; }
  .branderie-page .why-us__art,
  .branderie-page .why-us__story.is-motion-ready .why-us__item > h3,
  .branderie-page .why-us__story.is-motion-ready .why-us__body { transform: none !important; }
}

.branderie-page .why-us__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding: 40px;
  border: 1px solid var(--why-line);
  border-radius: 20px;
  background: var(--why-surface);
}
.branderie-page .why-us__cta > p {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--text);
}
.branderie-page .why-us .lets-talk-btn {
  flex: 0 1 auto;
  max-width: 100%;
  min-height: 56px;
  height: auto;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  transition: background-color .25s ease;
}
.branderie-page .why-us .lets-talk-btn > span:first-child { min-width: 0; white-space: normal; }
.branderie-page .why-us .lets-talk-btn:hover { gap: 16px; background: #8f2c00; }
.branderie-page .why-us .lets-talk-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
@media (max-width: 809px) {
  .branderie-page .why-us__layout { gap: 40px; }
  .branderie-page .why-us__cta { margin-top: 40px; padding: 25px; border-radius: 16px; flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 599px) {
  .branderie-page .why-us__item > h3 { font-size: 32px !important; }
  .branderie-page .why-us__cta .lets-talk-btn { width: 100%; padding-inline: 20px; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .branderie-page .why-us *,
  .branderie-page .why-us *::before,
  .branderie-page .why-us *::after { transition: none !important; }
}

/* Distributed team: shared Branderie type, colours and page gutters. */
.branderie-page .brd-team { padding-block: 32px 92px; }
.branderie-page .brd-team__head.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(32px, 6vw, 96px);
  margin-bottom: 48px;
}
.branderie-page .brd-team__head h2 { max-width: 760px; text-wrap: balance; }
.branderie-page .brd-team__intro { max-width: 500px; font-size: 18px; line-height: 1.4; color: var(--muted); }
.branderie-page .brd-team__stage { position: relative; }
.branderie-page .brd-team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.branderie-page .brd-card {
  --text: #fff;
  --muted: #e9e7e2;
  min-width: 0;
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 24px;
  color: var(--text);
}
.branderie-page .brd-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,18,17,.62), rgba(15,18,17,.3) 45%, rgba(15,18,17,.84)); pointer-events: none; }
.branderie-page .brd-card__compact,
.branderie-page .brd-card__expanded { position: relative; z-index: 2; }
.branderie-page .brd-card__compact { display: none; }
.branderie-page .brd-card__expanded { display: flex; flex-direction: column; height: 100%; min-height: 360px; padding: 32px 28px; }
.branderie-page .brd-card__place {
  margin: 0;
  padding: 0;
  font-family: "awesome_serifextra_tall", sans-serif !important;
  font-size: clamp(30px, 2.7vw, 42px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text);
}
.branderie-page .brd-card__tag { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; }
.branderie-page .brd-card__text { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.4; text-wrap: pretty; }
/* White cards, dark text, no background photo — centered product image
   instead, zooming/rotating in on hover. */
.branderie-page .brd-team__grid .brd-card { --text: #1e1e1e; --muted: #656565; }
.branderie-page .brd-team__grid .brd-card::before { display: none; }
.branderie-page .brd-team__grid .brd-card .brd-card__expanded {
  background: #fff;
  border-radius: 25px;
  border: 1px solid var(--line);
  transition: box-shadow .4s ease;
}
.branderie-page .brd-team__grid .brd-card:hover .brd-card__expanded { box-shadow: 0 20px 40px -12px rgba(0,0,0,.08); }
.branderie-page .brd-team__grid .brd-card .brd-card__center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 50%;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.branderie-page .brd-team__grid .brd-card:hover .brd-card__center-image {
  transform: translate(-50%, -50%) scale(1.12) rotate(3deg);
}
.branderie-page .brd-team__grid .brd-card:nth-child(4) .brd-card__center-image { max-width: 65%; }
.branderie-page .brd-team__grid .brd-card:nth-child(1) .brd-card__center-image { max-width: 56%; }
.branderie-page .brd-team__grid .brd-card:nth-child(2) .brd-card__center-image { max-width: 58%; }
.branderie-page .brd-team__grid .brd-card:nth-child(3) .brd-card__center-image { max-width: 42%; }
.branderie-page .brd-team__foot { margin-top: 32px; }
@media (min-width: 810px) and (prefers-reduced-motion: no-preference) {
  .branderie-page .brd-team.is-reveal-ready .brd-card { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--brd-index) * 80ms); }
  .branderie-page .brd-team.is-reveal-ready.is-visible .brd-card { opacity: 1; transform: none; }
}
@media (min-width: 810px) and (max-width: 1099px) {
  .branderie-page .brd-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branderie-page .brd-card__expanded { min-height: 300px; }
}
@media (max-width: 809px) {
  .branderie-page .brd-team { padding-block: 16px 52px; }
  .branderie-page .brd-team__head.section-heading { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; margin-bottom: 32px; text-align: center; }
  .branderie-page .brd-team__head h2 { font-size: 32px !important; }
  .branderie-page .brd-team__intro { font-size: 17px; }
  .branderie-page .brd-team__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .branderie-page .brd-card { width: 100%; max-width: 400px; margin-inline: auto; border-radius: 20px; }
  .branderie-page .brd-card__expanded { min-height: 195px; padding: 28px 24px; }
  /* Smaller card on mobile: the center image moves to a small corner accent
     instead of a big centered hero, matching the reduced height above. */
  .branderie-page .brd-team__grid .brd-card:nth-child(1) .brd-card__center-image {
    max-width: 50%;
    top: 25%;
  }
  .branderie-page .brd-team__grid .brd-card:nth-child(2) .brd-card__center-image {
    max-width: 46%;
    top: 25%;
  }
  .branderie-page .brd-team__grid .brd-card .brd-card__center-image,
  .branderie-page .brd-team__grid .brd-card:nth-child(4) .brd-card__center-image {
    top: 30%;
    left: 80%;
    max-width: 46%;
  }
  .branderie-page .brd-team__grid .brd-card:hover .brd-card__center-image {
    transform: translate(-50%, -50%) scale(1.12) rotate(3deg);
  }
}
/* Progressive enhancement: keep all copy in flow without JS, with reduced
   motion, or when the viewport is too short for the mobile stack. */
@media (max-width: 809px) and (prefers-reduced-motion: no-preference) {
  .branderie-page .brd-team.is-stack-ready { --brd-card-height: 320px; }
  .branderie-page .brd-team.is-stack-ready .brd-team__grid { position: relative; display: block; overflow: hidden; height: calc(var(--brd-card-height) + var(--brd-stack-top, 59px) + var(--brd-stack-bottom, 59px)); }
  .branderie-page .brd-team.is-stack-ready .brd-card {
    position: absolute;
    left: 50%;
    top: calc(var(--brd-stack-top, 59px) + var(--brd-card-height) / 2);
    width: min(90%, 340px);
    height: 48px;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(calc(var(--brd-card-height) / 2 + 112px));
    /* Width/height/opacity/transform are driven every scroll frame by JS
       (see branderie-home.js render()) so motion tracks the scrollbar 1:1
       instead of auto-playing; only the boundary recentre (top) still eases. */
    transition: top .6s cubic-bezier(.22,.82,.24,1);
  }
  .branderie-page .brd-team.is-stack-ready .brd-card__expanded { position: absolute; inset: 0; height: auto; opacity: 0; }
  .branderie-page .brd-team.is-stack-ready .brd-card__compact { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 20px; }
  .branderie-page .brd-card__compact strong { font-family: "awesome_serifextra_tall", sans-serif !important; font-size: 20px; font-weight: 500; }
  .branderie-page .brd-card__compact span { color: var(--muted); font-size: 10px; text-align: right; text-transform: uppercase; }
  .branderie-page .brd-team.is-stack-ready .brd-card:not(.is-active)::before { background: rgba(15,18,17,.7); }
  .branderie-page .brd-team.is-stack-ready .brd-card.is-active { width: min(100%, 400px); height: var(--brd-card-height); opacity: 1; z-index: 3; transform: translate(-50%, -50%); }
  .branderie-page .brd-team.is-stack-ready .brd-card.is-active .brd-card__expanded { opacity: 1; }
  .branderie-page .brd-team.is-stack-ready .brd-card.is-active .brd-card__compact { opacity: 0; }
  .branderie-page .brd-team.is-stack-ready .brd-card.is-prev,
  .branderie-page .brd-team.is-stack-ready .brd-card.is-next { opacity: 1; z-index: 2; }
  .branderie-page .brd-team.is-stack-ready .brd-card.is-prev { transform: translate(-50%, -50%) translateY(calc(-1 * (var(--brd-card-height) / 2 + 35px))); }
  .branderie-page .brd-team.is-stack-ready .brd-card.is-next { transform: translate(-50%, -50%) translateY(calc(var(--brd-card-height) / 2 + 35px)); }
  .branderie-page .brd-team.is-stack-ready .brd-card.is-far-prev { transform: translate(-50%, -50%) translateY(calc(-1 * (var(--brd-card-height) / 2 + 112px))); }
}

/* AXIS: badge + headline grande centrado + 3 tarjetas de color (una por sede),
   reutilizando el mapeo caoba/azul/amarillo = Canarias/Portugal/Madrid ya usado en el sitio. */
.branderie-page .axis { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.branderie-page .axis__heading { max-width: 800px; margin-inline: auto; margin-bottom: 56px; }
.branderie-page .axis__badge {
  display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px;
  background: #1e1e1e; color: #fff; font-family: "gilroymedium", Arial, sans-serif !important; font-size: 13px;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 24px;
}
.branderie-page .axis__heading h2 {
  font-family: "Inter Display", Arial, sans-serif; font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.12; letter-spacing: -.03em; font-weight: 500; color: #3e3e3e;
  margin-bottom: 18px; text-wrap: balance;
}
.branderie-page .axis__heading p { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 18px; line-height: 1.5; color: var(--muted); }
.branderie-page .axis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; margin-bottom: 40px; }
.branderie-page .axis__card {
  position: relative; border-radius: 28px; padding: 28px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between; color: #fff;
  background-image: linear-gradient(180deg, rgba(20,16,14,.15), rgba(20,16,14,.6)), var(--axis-img, none);
  background-size: cover; background-position: center;
}
.branderie-page .axis__card-label {
  align-self: flex-start; font-family: "gilroymedium", Arial, sans-serif !important; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.2);
}
.branderie-page .axis__card h3 { font-family: "Inter Display", Arial, sans-serif; font-size: 32px; font-weight: 500; letter-spacing: -.02em; margin: 24px 0 12px; color: #fff; }
.branderie-page .axis__card p { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.85); }
/* Color de marca como relleno temporal (queda debajo del degradado); en cuanto
   tengamos las fotos, se pasan por --axis-img inline en cada .axis__card y las sustituyen. */
.branderie-page .axis__card--canarias { background-color: var(--brand); }
.branderie-page .axis__card--portugal { background-color: var(--blue); }
.branderie-page .axis__card--madrid { background-color: var(--yellow); }
.branderie-page .axis__cta { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.branderie-page .axis__cta-lead { font-family: "gilroymedium", Arial, sans-serif !important; font-size: 16px; color: var(--muted); }
@media (max-width: 809px) {
  .branderie-page .axis { padding-top: 64px; padding-bottom: 64px; }
  .branderie-page .axis__heading { margin-bottom: 32px; }
  .branderie-page .axis__grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .branderie-page .axis__card { min-height: 200px; }
}

/* FINAL CTA: cierre de página, fondo caoba, botón claro para contraste (al
   revés que .lets-talk-btn, que es oscuro y se perdería sobre este fondo). */
.branderie-page .final-cta {
  background: var(--brand); padding: 96px 32px 0;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.branderie-page .final-cta h2 {
  font-family: "Inter Display", Arial, sans-serif; font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 500; color: #fff;
  max-width: 820px; margin-bottom: 24px; text-wrap: balance;
}
.branderie-page .final-cta__lead {
  font-family: "gilroymedium", Arial, sans-serif !important; font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,.75); max-width: 640px;
}
.branderie-page .final-cta__lead + .final-cta__lead { margin-top: 8px; }
.branderie-page .final-cta__btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 40px; padding: 18px 32px; border-radius: 12px;
  background: var(--bg); color: #1e1e1e; font-family: "gilroymedium", Arial, sans-serif !important;
  font-size: 16px; font-weight: 500; text-decoration: none;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.branderie-page .final-cta__btn:hover { transform: scale(1.03); }
.branderie-page .final-cta__contact {
  display: flex; align-items: center; gap: 14px; margin-top: 28px;
  font-family: "gilroymedium", Arial, sans-serif !important; font-size: 14px; color: rgba(255,255,255,.75);
}
.branderie-page .final-cta__contact a { color: inherit; }
.branderie-page .final-cta__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.branderie-page .final-cta__contact span { color: rgba(255,255,255,.4); }
@media (max-width: 809px) {
  .branderie-page .final-cta { padding: 64px 24px 0; }
  .branderie-page .final-cta__contact { flex-direction: column; gap: 8px; }
}

/* Fundido de bordes con capas superpuestas en vez de mask-image: un
   degradado hacia el color de fondo, animado por opacity (esto sí se
   transiciona de forma fiable en todos los navegadores). */
.branderie-page .services-viewport { width:100%; height:100%; overflow:hidden; position:relative; }
.branderie-page .services-viewport::before,
.branderie-page .services-viewport::after {
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:12.5%;
  z-index:2;
  pointer-events:none;
  transition:opacity 350ms ease;
}
.branderie-page .services-viewport::before {
  left:0; opacity:0;
  background:linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.branderie-page .services-viewport::after {
  right:0; opacity:1;
  background:linear-gradient(to left, var(--bg) 0%, transparent 100%);
}
.branderie-page .services-viewport[data-mask-state="middle"]::before,
.branderie-page .services-viewport[data-mask-state="end"]::before { opacity:1; }
.branderie-page .services-viewport[data-mask-state="end"]::after { opacity:0; }
.branderie-page .services-viewport .swiper-wrapper { align-items:center; }
.branderie-page .services-slide { width:auto; }
.branderie-page .service-card {
  width:400px; height:400px; min-height:0; padding:32px; border-radius:40px;
  display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end;
  gap:0; overflow:visible;
}
.branderie-page .service-card > div:last-child { width:100%; display:flex; flex-direction:column; gap:10px; align-items:flex-start; }
.branderie-page .service-card h3 { margin:0; font-family: "gilroymedium", Arial, sans-serif !important; font-size:22px; line-height:1.22; font-weight:500; text-transform:capitalize; color:#fff; }
.branderie-page .service-card div > p { max-width:280px; margin:0; color:#fff; }
.branderie-page .services-controls { position:absolute; inset:0; z-index:5; border:0; margin:0; padding:32px; display:flex; justify-content:space-between; align-items:center; pointer-events:none; }
.branderie-page .services-arrow {
  width:50px; height:50px; margin:0; padding:0; border:0; border-radius:500px;
  display:grid; place-items:center; overflow:hidden; background:rgba(0,0,0,.18);
  pointer-events:auto; cursor:pointer; opacity:1; transition:opacity 180ms ease,transform 180ms ease;
}
.branderie-page .services-arrow:hover { transform:scale(1.04); }
.branderie-page .services-arrow img { width:50px; height:50px; }
.branderie-page .services-arrow.is-disabled { opacity:0; pointer-events:none; cursor:default; }

/* TEAM: same swiper mechanism as services, portrait cards instead. */
.branderie-page .team { padding-top:92px; padding-bottom:92px; position: relative; }
.branderie-page .team::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--page-x);
  right: var(--page-x);
  border-top: 1px solid var(--line);
}
.branderie-page .team .section-heading {
  flex-direction:column; align-items:center; text-align:center;
  max-width:700px; margin-inline:auto; gap:0;
}
.branderie-page .team .section-heading p { margin-top:16px; font-family:"gilroymedium",Arial,sans-serif !important; font-size:18px; line-height:1.3; color:var(--muted); }
.branderie-page .team-carousel { width:100%; height:480px; position:relative; }
.branderie-page .team-viewport { width:100%; height:100%; overflow:hidden; position:relative; }
.branderie-page .team-viewport::before,
.branderie-page .team-viewport::after {
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:12.5%;
  z-index:2;
  pointer-events:none;
  transition:opacity 350ms ease;
}
.branderie-page .team-viewport::before {
  left:0; opacity:0;
  background:linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.branderie-page .team-viewport::after {
  right:0; opacity:1;
  background:linear-gradient(to left, var(--bg) 0%, transparent 100%);
}
.branderie-page .team-viewport[data-mask-state="middle"]::before,
.branderie-page .team-viewport[data-mask-state="end"]::before { opacity:1; }
.branderie-page .team-viewport[data-mask-state="end"]::after { opacity:0; }
.branderie-page .team-viewport .swiper-wrapper { align-items:flex-start; }
.branderie-page .team-slide { width:auto; }
/* Arrows center on the photo (top item in the card), not the card+text block. */
.branderie-page .team-carousel .services-controls { align-items:flex-start; padding-top:175px; }
.branderie-page .team-card {
  width:400px; display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:10px;
}
.branderie-page .team-card__media {
  width:400px; height:400px; flex-shrink:0; border-radius:25px; overflow:hidden;
}
.branderie-page .team-card__photo {
  width:100%; height:100%; object-fit:cover;
  background:var(--panel);
  transition:transform 350ms ease;
}
.branderie-page .team-card:hover .team-card__photo,
.branderie-page .team-card__photo:hover { transform:scale(1.06); }
.branderie-page .team-card__photo[alt="Aida Correa"] { filter: sepia(0.15); }
.branderie-page .team-card h3 { margin:0; padding-top:10px; font-family: "gilroymedium", Arial, sans-serif !important; font-size:22px; line-height:1.22; font-weight:500; text-transform:capitalize; color:#3e3e3e; }
.branderie-page .team-card p { font-family:"gilroymedium", Arial, sans-serif !important; font-size:16px; color:var(--muted); }
@media (max-width:809px) {
  .branderie-page .team { padding-top: 52px; padding-bottom: 52px; }
  .branderie-page .team-carousel { height:420px; }
  .branderie-page .team-card { width:320px; }
  .branderie-page .team-card__media { width:320px; height:320px; border-radius:20px; }
  .branderie-page .team-carousel .services-controls { padding-top:135px; }
}

/* EVENTS: swiper — 1/2 + 1 + 1 + 1 + 1/2 slide widths, first card flush left.
   Every box in the height chain below uses an explicit px height (no %),
   so the slide's rendered height always matches the card exactly — that's
   what keeps the prev/next arrows (centered on the carousel box) lined up
   with the actual visible card instead of some taller, invisible slide box. */
.branderie-page .events {
  padding-top:92px;
  padding-bottom:92px;
  /* background-color: #fff; */
  position: relative;
  overflow: hidden;
}
.branderie-page .events::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--page-x);
  right: var(--page-x);
  border-top: 1px solid var(--line);
  z-index: 1;
}
.branderie-page .events > * { position: relative; z-index: 1; }
.branderie-page .events .section-heading {
  flex-direction:column; align-items:center; text-align:center;
  max-width:700px; margin-inline:auto; gap:0;
}
.branderie-page .events-intro { margin-top:16px; font-family:"gilroymedium",Arial,sans-serif !important; font-size:18px; line-height:1.3; color:var(--muted); }
.branderie-page .events-carousel { width:100%; max-width:calc(4 * 320px + 4 * 16px); height:380px; position:relative; margin-bottom:32px; }
.branderie-page .events-viewport { width:100%; height:380px; overflow:hidden; position:relative; }
.branderie-page .events-viewport::before,
.branderie-page .events-viewport::after {
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:12.5%;
  z-index:2;
  pointer-events:none;
  transition:opacity 350ms ease;
}
.branderie-page .events-viewport::before {
  left:0; opacity:0;
  background:linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.branderie-page .events-viewport::after {
  right:0; opacity:1;
  background:linear-gradient(to left, var(--bg) 0%, transparent 100%);
}
.branderie-page .events-viewport[data-mask-state="middle"]::before,
.branderie-page .events-viewport[data-mask-state="end"]::before { opacity:1; }
.branderie-page .events-viewport[data-mask-state="end"]::after { opacity:0; }
.branderie-page .events-viewport .swiper-wrapper { align-items:stretch; }
/* The ticker's autoplay chains one transition straight into the next with
   no gap, but Swiper's default per-slide easing still decelerates at the
   end of each step and re-accelerates for the next — which reads as a
   stutter even though there's no pause. Forcing a linear timing function
   makes every step run at the same constant speed as the one before it,
   so back-to-back they read as one continuous motion instead of ticks. */
.branderie-page .events-viewport .swiper-wrapper { transition-timing-function: linear !important; }
.branderie-page .events-slide { width:320px; height:380px; }
.branderie-page .event-card { display:block; position:relative; width:100%; height:380px; background:#fff; border-radius:25px; border: 1px solid var(--line); overflow:hidden; }
.branderie-page .event-card__media { position:relative; width:100%; height:260px; background:var(--panel); overflow:hidden; border-radius: 0 0 25px 25px; }
.branderie-page .event-card__media img { width:100%; height:100%; object-fit:cover; transition:transform 300ms ease; }
.branderie-page .event-card:hover .event-card__media img { transform:scale(1.05); }
.branderie-page .event-card__date {
  position:absolute; top:16px; left:16px; z-index:1;
  background:#fff; color:var(--text); border-radius:999px; padding:6px 14px;
  font-family:"gilroymedium", Arial, sans-serif !important; font-size:13px; text-transform:uppercase;
}
.branderie-page .event-card__info { height:120px; padding:20px; overflow:hidden; background-color: #fff; }
.branderie-page .event-card__info h3 { font-family:"gilroymedium",Arial,sans-serif !important; font-size:18px; font-weight:500; color:var(--text); margin-bottom:4px; }
.branderie-page .event-card__info p { font-family:"gilroymedium", Arial, sans-serif !important; font-size:13px; color:var(--muted); }
.branderie-page .events-empty { font-family:"gilroymedium",Arial,sans-serif !important; color:var(--muted); }
@media (max-width:809px) {
  .branderie-page .events { padding-top: 52px; padding-bottom: 52px; }
  .branderie-page .events-carousel { height:340px; }
  .branderie-page .events-viewport { height:340px; }
  .branderie-page .events-slide { width:260px; height:340px; }
  .branderie-page .event-card { height:340px; }
  .branderie-page .event-card__media { height:220px; }
}

/* METRICS: cursor-follow play pill from the original media block. */
.branderie-page .metrics-panel__image { position:relative; cursor:pointer; }
.branderie-page .metrics-cursor {
  position:absolute; left:50%; top:50%; width:120px; height:70px; border-radius:100px;
  display:grid; place-items:center; background:rgba(255,255,255,.9); pointer-events:none;
  opacity:0; transform:translate(-50%,-50%) scale(.96); z-index:2;
  transition:opacity 150ms ease,width 260ms cubic-bezier(.16,1,.3,1),height 260ms cubic-bezier(.16,1,.3,1),transform 150ms ease;
  will-change:left,top,width,height,transform,opacity;
}
.branderie-page .metrics-panel__image:hover .metrics-cursor { opacity:1; width:120px; height:120px; transform:translate(-50%,-50%) scale(1); }
.branderie-page .metrics-cursor__play { font-size:28px; transform:translateX(2px); color:var(--text); }

/* TESTIMONIALS: source animates image (2s) and copy independently. */
.branderie-page .testimonial { overflow:hidden; }

/* BLOG: original hover grows image to 105%, not shrinks it. */
.branderie-page .blog-heading__content { width:100%; display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }
.branderie-page .blog-card { overflow:hidden; border-radius:25px; background:#fff; border: 1px solid var(--line); }
.branderie-page .blog-card a { gap:0; }
.branderie-page .blog-card img { aspect-ratio:1.152; border-radius:25px; transition:transform 300ms ease; }
.branderie-page .blog-card a:hover img { transform:scale(1.05); }
.branderie-page .blog-card > a > div { padding:20px; }

@media (max-width:809px) {
  .branderie-page .services-carousel { height:400px; }
  .branderie-page .service-card { width:400px; height:400px; min-height:0; }
  .branderie-page .services-controls { padding:32px 16px; }
  .branderie-page .blog-heading__content { align-items:center; flex-direction:column; gap:16px; text-align:center; }
  .branderie-page .text-link--animated:hover { gap:32px; }
  .branderie-page .metrics-cursor { width:80px; height:80px; }
}

@media (prefers-reduced-motion: reduce) {
  .branderie-page [data-reveal],
  .branderie-page .word-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}
/* === END FRAMER MOTION FIDELITY PATCH === */

/* Discard captured scroll values without overriding the shared entrances. */
.branderie-page .projects .section-heading,
.branderie-page .project-card {
  --scroll-linked-y: 0px;
  --scroll-linked-opacity: 1;
}

/* === NAVBAR: menú centrado en desktop (solo Home V2) === */
/* Nota: este bloque vive fuera de .branderie-page porque la navbar se
   pinta en header.php, compartido por todo el sitio. El scoping a esta
   plantilla lo da la clase .navbar--home-v2 (añadida condicionalmente
   en header.php vía is_page_template()). */

/* Layout swap (menú centrado <-> logo+hamburguesa) al cruzar .scrolled:
   animación aparte (no "transition") para no pisar la transición de
   height/padding que ya trae .navbar__inner desde el SCSS global. */
@keyframes navbar-inner-swap {
  0% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 1; transform: translateY(0); }
}
.navbar--home-v2 .navbar__inner.is-swapping { animation: navbar-inner-swap 300ms ease; }
.navbar--home-v2 .navbar__inner { padding: 0 30px 16px !important; }
.navbar--home-v2.scrolled .navbar__inner { padding: 0 20px !important; }
@media (max-width: 991px) {
  .navbar--home-v2 .navbar__inner { height: 120px; }
  .navbar--home-v2.scrolled .navbar__inner { padding: 0 16px !important; }
}

.navbar--home-v2 .navbar__menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 32px;
}
.navbar--home-v2 .navbar__menu a {
  font-family: "gilroymedium", Arial, sans-serif !important;
  font-size: 17px;
  font-weight: 500;
  color: #3e3e3e;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease;
}
.navbar--home-v2 .navbar__menu a:hover { color: #b03700; }
.navbar--home-v2 .logo--full { display: none; }

/* Dropdown "Marketing Digital": solo vive dentro de .navbar__menu, que ya está
   display:none salvo en el estado centrado sin scroll — no hace falta ningún
   guard extra para que desaparezca al hacer scroll o en móvil. */
.navbar--home-v2 .navbar__has-dropdown { position: relative; }
.navbar--home-v2 .navbar__menu-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer; line-height: inherit;
  font-family: "gilroymedium", Arial, sans-serif !important;
  font-size: 17px; font-weight: 500; color: #3e3e3e; white-space: nowrap;
  transition: color .25s ease;
}
.navbar--home-v2 .navbar__has-dropdown:hover .navbar__menu-trigger,
.navbar--home-v2 .navbar__has-dropdown:focus-within .navbar__menu-trigger { color: #b03700; }
.navbar--home-v2 .navbar__caret {
  width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.navbar--home-v2 .navbar__has-dropdown:hover .navbar__caret,
.navbar--home-v2 .navbar__has-dropdown:focus-within .navbar__caret { transform: rotate(180deg); }

.navbar--home-v2 .navbar__dropdown {
  position: absolute; top: 100%; left: 0;
  width: 225px; padding-top: 10px;
  transform: translateY(-6px) scale(.97);
  transform-origin: top left;
  opacity: 0; pointer-events: none;
  transition: opacity .28s cubic-bezier(.16,1,.3,1), transform .28s cubic-bezier(.16,1,.3,1);
  z-index: 60;
}
.navbar--home-v2 .navbar__has-dropdown:hover .navbar__dropdown,
.navbar--home-v2 .navbar__has-dropdown:focus-within .navbar__dropdown {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.navbar--home-v2 .navbar__dropdown-panel {
  background: #fff; border-radius: 24px; padding: 25px;
  box-shadow: 0 24px 60px rgba(20,16,14,.16), 0 4px 18px rgba(20,16,14,.08);
}
.navbar--home-v2 .navbar__dropdown-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.navbar--home-v2 .navbar__dropdown-item {
  display: flex; align-items: center; border-radius: 16px;
  opacity: 0; transform: translateY(8px); text-decoration: none;
  transition: opacity .3s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1);
  transition-delay: 0s;
}
.navbar--home-v2 .navbar__has-dropdown:hover .navbar__dropdown-item,
.navbar--home-v2 .navbar__has-dropdown:focus-within .navbar__dropdown-item { opacity: 1; transform: translateY(0); }
.navbar--home-v2 .navbar__dropdown-item:hover .navbar__dropdown-text { color: #b03700; }
.navbar--home-v2 .navbar__dropdown-item:nth-child(1) { transition-delay: .02s; }
.navbar--home-v2 .navbar__dropdown-item:nth-child(2) { transition-delay: .06s; }
.navbar--home-v2 .navbar__dropdown-item:nth-child(3) { transition-delay: .10s; }
.navbar--home-v2 .navbar__dropdown-item:nth-child(4) { transition-delay: .14s; }
.navbar--home-v2 .navbar__dropdown-item:nth-child(5) { transition-delay: .18s; }
.navbar--home-v2 .navbar__dropdown-item:nth-child(6) { transition-delay: .22s; }
.navbar--home-v2 .navbar__dropdown-text {
  font-family: "gilroymedium", Arial, sans-serif !important;
  font-size: 16.5px; font-weight: 500; color: #1e1e1e; line-height: 1.25;
  transition: color .25s ease;
}

.navbar--home-v2.scrolled .navbar__brand { color: #3e3e3e; }

/* Solo arriba del todo (sin hacer scroll): menú centrado nuevo.
   En cuanto se activa .scrolled, todo esto deja de aplicarse y la
   navbar cae de vuelta en las reglas globales (logo pequeño + hamburguesa). */
@media (min-width: 992px) {
  .navbar--home-v2:not(.scrolled) .navbar__inner {
    height: 100px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 32px;
  }
  .navbar--home-v2:not(.scrolled) .navbar__menu { display: flex; }
  .navbar--home-v2 .navbar__menu--left { justify-content: flex-end; }
  .navbar--home-v2 .navbar__menu--right { justify-content: flex-start; }
  .navbar--home-v2:not(.scrolled) .navbar__brand { margin: 0; justify-self: center; }
  .navbar--home-v2:not(.scrolled) .logo--default,
  .navbar--home-v2:not(.scrolled) .logo--white { display: none; }
  .navbar--home-v2:not(.scrolled) .logo--full { display: block; width: 165px; height: auto; }
  .navbar--home-v2:not(.scrolled) .navbar__toggle { display: none; }
}

@media (max-width: 991px) {
  .branderie-page .hit--first .stage {
    height: 550px;
  }
}

/* Mobile: logo completo (logo--full) mientras la navbar no está scrolled,
   igual que ya pasa en desktop dentro del bloque min-width:992px de arriba. */
@media (max-width: 991px) {
  .navbar--home-v2:not(.scrolled) .logo--default,
  .navbar--home-v2:not(.scrolled) .logo--white { display: none; }
  .navbar--home-v2:not(.scrolled) .logo--full { display: block; }
}
