:root {
  --cf-graphite: #1c1c1c;
  --cf-paper: #f5f3ee;
  --cf-stone: #8a8680;
}

@media (min-width: 992px) {
  body[data-cf-page="about"] .about-legacy .al-heading {
    font-size: clamp(2.75rem, 3.3vw, 3.25rem);
    line-height: 1.08;
    max-width: 26rem;
  }
}

body[data-cf-page="about"] .about-legacy .al-heading-number._1 {
  top: 0;
}

.cf-maintenance-banner {
  align-items: center;
  background: var(--cf-paper);
  border-bottom: 1px solid rgba(28, 28, 28, 0.18);
  color: var(--cf-graphite);
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  position: relative;
  text-align: center;
  z-index: 200;
}

.cf-maintenance-banner__marker {
  background: var(--cf-graphite);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 0.4rem;
  width: 0.4rem;
}

.cf-maintenance-banner p {
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.hh-heading-wrapper,
.hh-mask {
  width: 100%;
}

.hh-heading-wrapper {
  min-width: 0;
}

.hh-heading._1 {
  font-size: min(230px, 16vw);
}

.hh-heading._2 {
  font-size: min(170px, 15vw);
}

.cf-language-switcher {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  margin-left: 1rem;
  position: relative;
  z-index: 20;
}

.cf-language-switcher a {
  color: inherit;
  font-family: Manrope, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.55;
  text-decoration: none;
}

.cf-language-switcher a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.nav-brand-logo {
  height: auto;
  max-height: 3.25rem;
  object-fit: contain;
  width: clamp(2.6rem, 4vw, 3.25rem);
}

.cf-footer-logo {
  display: block;
  height: auto;
  margin-inline: auto;
  max-width: min(42rem, 88vw);
  object-fit: contain;
  width: 100%;
}

.bcn-logo {
  height: auto;
  object-fit: contain;
}

.text-field.w-input,
select.text-field.w-input {
  border-radius: 0;
}

.form-status {
  font-size: 0.75rem;
  margin-top: 1rem;
}

.cf-whatsapp-button {
  align-items: center;
  background: var(--cf-graphite);
  border: 1px solid rgba(245, 243, 238, 0.35);
  bottom: 1.5rem;
  color: var(--cf-paper);
  display: flex;
  font-family: Manrope, sans-serif;
  font-size: 0.65rem;
  gap: 0.6rem;
  letter-spacing: 0.08em;
  padding: 0.8rem 1rem;
  position: fixed;
  right: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
  z-index: 90;
  cursor: pointer;
}

.cf-whatsapp-button:hover,
.cf-whatsapp-button:focus-visible {
  background: var(--cf-paper);
  color: var(--cf-graphite);
  transform: translateY(-0.2rem);
}

.cf-whatsapp-button svg {
  fill: currentColor;
  height: 1.1rem;
  width: 1.1rem;
}

.cf-sr-only,
.cf-lead-honeypot {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.cf-lead-modal[hidden],
.cf-lead-success[hidden],
.cf-lead-step[hidden],
.cf-lead-whatsapp-continue[hidden] {
  display: none !important;
}

.cf-lead-modal-active {
  overflow: hidden;
}

.cf-lead-modal {
  align-items: center;
  animation: cf-lead-fade-in 220ms ease both;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(1rem, 4vw, 4rem);
  position: fixed;
  z-index: 1000;
}

.cf-lead-modal.is-closing {
  animation: cf-lead-fade-out 180ms ease both;
}

.cf-lead-modal__backdrop {
  backdrop-filter: blur(10px);
  background: rgba(17, 17, 17, 0.74);
  border: 0;
  cursor: pointer;
  inset: 0;
  padding: 0;
  position: absolute;
}

.cf-lead-modal__panel {
  animation: cf-lead-panel-in 280ms cubic-bezier(.22, 1, .36, 1) both;
  background: var(--cf-paper);
  color: var(--cf-graphite);
  max-height: min(90dvh, 56rem);
  max-width: 58rem;
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
  width: 100%;
  z-index: 1;
}

[data-cf-whatsapp-modal] .cf-lead-modal__panel {
  max-width: 42rem;
}

.cf-lead-modal__close {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(28, 28, 28, 0.3);
  border-radius: 50%;
  color: inherit;
  cursor: pointer;
  display: flex;
  font-size: 1.4rem;
  height: 2.5rem;
  justify-content: center;
  line-height: 1;
  padding: 0 0 0.12rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 2.5rem;
  z-index: 2;
}

.cf-lead-modal__close:hover,
.cf-lead-modal__close:focus-visible {
  background: var(--cf-graphite);
  color: var(--cf-paper);
  transform: rotate(8deg);
}

.cf-lead-form {
  color: var(--cf-graphite);
  font-family: Manrope, Arial, sans-serif;
}

.cf-lead-intro {
  border-bottom: 1px solid rgba(28, 28, 28, 0.2);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0 3.5rem 1.5rem 0;
}

.cf-lead-intro > span,
.cf-article-lead > span {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.65rem;
}

.cf-lead-intro h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.cf-lead-intro p {
  color: #56524d;
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0;
  max-width: 65ch;
}

.cf-lead-step {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.cf-lead-grid {
  display: grid;
  gap: 1.15rem 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf-lead-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  min-width: 0;
}

.cf-lead-field > span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cf-lead-field--wide,
.cf-lead-consents {
  grid-column: 1 / -1;
}

.cf-lead-field .text-field.w-input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 28, 28, 0.4);
  color: inherit;
  font-family: inherit;
  font-size: 0.88rem;
  height: 3rem;
  margin: 0;
  padding: 0.55rem 0;
  width: 100%;
}

.cf-lead-field select.text-field.w-input {
  appearance: auto;
  cursor: pointer;
}

.cf-lead-field textarea.text-field.w-input {
  height: 7rem;
  line-height: 1.55;
  resize: vertical;
}

.cf-lead-field .text-field.w-input:focus {
  border-bottom-color: var(--cf-graphite);
  box-shadow: 0 2px 0 var(--cf-graphite);
  outline: none;
}

.cf-lead-progress {
  align-items: center;
  display: grid;
  font-size: 0.62rem;
  font-weight: 700;
  gap: 1rem;
  grid-template-columns: auto minmax(5rem, 1fr);
  letter-spacing: 0.08em;
  margin-bottom: 1.6rem;
  text-transform: uppercase;
}

.cf-lead-progress__track {
  background: rgba(28, 28, 28, 0.16);
  display: block;
  height: 2px;
  overflow: hidden;
}

.cf-lead-progress__track i {
  background: var(--cf-graphite);
  display: block;
  height: 100%;
  transition: width 220ms ease;
}

.cf-lead-consents {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.cf-lead-checkbox {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-size: 0.72rem;
  gap: 0.7rem;
  line-height: 1.45;
  margin: 0;
}

.cf-lead-checkbox input {
  accent-color: var(--cf-graphite);
  flex: 0 0 auto;
  height: 1rem;
  margin: 0.12rem 0 0;
  width: 1rem;
}

.cf-lead-actions {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  justify-content: flex-end;
  margin-top: 1.6rem;
}

.cf-lead-next,
.cf-lead-submit,
.cf-lead-back,
.cf-lead-whatsapp-continue,
.cf-article-lead button {
  border: 1px solid var(--cf-graphite);
  cursor: pointer;
  display: inline-flex;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.09em;
  padding: 0.9rem 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.cf-lead-next,
.cf-lead-submit,
.cf-lead-whatsapp-continue,
.cf-article-lead button {
  background: var(--cf-graphite);
  color: var(--cf-paper);
}

.cf-lead-back {
  background: transparent;
  color: var(--cf-graphite);
}

.cf-lead-next:hover,
.cf-lead-submit:hover,
.cf-lead-whatsapp-continue:hover,
.cf-article-lead button:hover {
  transform: translateY(-0.15rem);
}

.cf-lead-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.cf-lead-form .form-status {
  color: #7c3027;
  min-height: 1.2rem;
}

.cf-lead-success {
  animation: cf-lead-success-in 420ms cubic-bezier(.22, 1, .36, 1) both;
  max-width: 40rem;
  padding: 1rem 0;
}

.cf-lead-success__icon {
  align-items: center;
  border: 1px solid var(--cf-graphite);
  border-radius: 50%;
  display: flex;
  font-size: 1.3rem;
  height: 3rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 3rem;
}

.cf-lead-success h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 400;
  margin: 0 0 0.8rem;
}

.cf-lead-success p {
  color: #56524d;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 0.8rem;
}

.cf-lead-success strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin: 1rem 0;
  text-transform: uppercase;
}

.cf-article-lead {
  background: var(--cf-graphite);
  color: var(--cf-paper);
  margin: clamp(3rem, 8vw, 7rem) 0 1rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.cf-article-lead h2 {
  color: inherit;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.9rem;
}

.cf-article-lead p {
  color: rgba(245, 243, 238, 0.76);
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0 0 1.35rem;
  max-width: 56ch;
}

.cf-article-lead button {
  background: var(--cf-paper);
  border-color: var(--cf-paper);
  color: var(--cf-graphite);
}

.blog-cms-rich > h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  margin: clamp(2.75rem, 6vw, 5rem) 0 1rem;
  overflow-wrap: anywhere;
}

.blog-cms-rich > h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.15;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0.85rem;
}

.cf-article-related {
  border-bottom: 1px solid rgba(245, 243, 238, 0.28);
  border-top: 1px solid rgba(245, 243, 238, 0.28);
  margin: clamp(3rem, 7vw, 5.5rem) 0;
  padding: clamp(1.75rem, 4vw, 3rem) 0;
}

.cf-article-related > span {
  color: #d4ad88;
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.cf-article-related h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  margin: 0 0 0.9rem;
  max-width: 22ch;
}

.cf-article-related p {
  line-height: 1.6;
  margin: 0;
  max-width: 62ch;
}

.cf-article-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cf-article-related__links a {
  align-items: center;
  border: 1px solid rgba(245, 243, 238, 0.5);
  color: inherit;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 1rem;
  justify-content: space-between;
  letter-spacing: 0.06em;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.cf-article-related__links a:hover,
.cf-article-related__links a:focus-visible {
  background: var(--cf-paper);
  color: var(--cf-graphite);
  transform: translateY(-0.12rem);
}

@keyframes cf-lead-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cf-lead-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes cf-lead-panel-in {
  from { opacity: 0; transform: translateY(1.25rem) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cf-lead-success-in {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: translateY(0); }
}

.cf-lightbox-active {
  overflow: hidden;
}

.cf-form-active {
  overflow: hidden;
}

/* The captured Webflow form panel inherits the full document height. Keep the
   page locked while giving the fixed panel its own reachable scroll area. */
[data-cf-form-panel] {
  height: 100dvh !important;
  inset: 0 !important;
  max-height: 100dvh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  position: fixed !important;
  width: 100% !important;
  -webkit-overflow-scrolling: touch;
}

[data-cf-form-panel] .form-open-wrapper {
  align-items: flex-start !important;
  box-sizing: border-box;
  box-shadow: 0 100dvh 0 var(--cf-paper), 0 200dvh 0 var(--cf-paper);
  height: auto !important;
  min-height: 100dvh !important;
  padding-bottom: clamp(2rem, 8vh, 6.25rem) !important;
  padding-top: clamp(2rem, 8vh, 6.25rem) !important;
}

[data-cf-form-panel] .form-open-button {
  align-self: flex-start;
  position: sticky !important;
  top: 0;
}

[data-cf-form-panel] .form-block,
[data-cf-form-panel] .cf-lead-form {
  height: auto !important;
  min-height: 0 !important;
}

.cf-menu-active {
  overflow: hidden;
}

[data-cf-menu-panel] {
  transition: opacity 220ms ease;
}

[data-cf-menu-panel] .menu-wrapper {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-cf-menu-close] {
  transition: opacity 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Keep every portfolio cover inside the image area, regardless of its aspect ratio. */
body[data-cf-page="portfolio"] .cf-project-card .psc-image {
  height: 52% !important;
  max-height: 52% !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (max-width: 991px) {
  body[data-cf-page="portfolio"] .collection-item-projects-cards {
    height: 580px !important;
  }

  body[data-cf-page="portfolio"] .cf-project-card .psc-image {
    height: 43% !important;
    max-height: 43% !important;
  }
}

.cf-lightbox[hidden] {
  display: none;
}

.cf-lightbox {
  color: var(--cf-paper);
  display: grid;
  inset: 0;
  opacity: 0;
  padding: 1.5rem;
  place-items: center;
  pointer-events: none;
  position: fixed;
  transition: opacity 280ms ease;
  z-index: 120;
}

.cf-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cf-lightbox-backdrop {
  background: rgba(10, 10, 10, 0.96);
  border: 0;
  cursor: zoom-out;
  inset: 0;
  padding: 0;
  position: absolute;
}

.cf-lightbox-panel {
  background: #151515;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: min(54rem, calc(100dvh - 3rem));
  max-width: 92rem;
  overflow: hidden;
  position: relative;
  transform: translateY(1.25rem) scale(0.985);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
  z-index: 1;
}

.cf-lightbox.is-open .cf-lightbox-panel {
  transform: translateY(0) scale(1);
}

.cf-lightbox-header {
  align-items: center;
  border-bottom: 1px solid rgba(245, 243, 238, 0.16);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  min-width: 0;
  padding: 1.25rem 1.5rem;
}

.cf-lightbox-header > div:first-child {
  min-width: 0;
}

.cf-lightbox-eyebrow {
  color: var(--cf-stone);
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 0 0.3rem;
  text-transform: uppercase;
}

.cf-lightbox-title {
  color: var(--cf-paper);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

.cf-lightbox-header-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 1rem;
}

.cf-lightbox-counter {
  color: var(--cf-stone);
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  min-width: 4.3rem;
  text-align: right;
}

.cf-lightbox-stage {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr) 4.75rem;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.cf-lightbox-content {
  height: 100%;
  margin: 0;
  min-height: 0;
  overflow: hidden;
}

.cf-lightbox-image-wrap {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: hidden;
  padding: 1rem 0;
}

.cf-lightbox-image-wrap img {
  display: block;
  height: 100%;
  max-height: 100%;
  max-width: min(100%, 78rem);
  object-fit: contain;
  transform-origin: center;
  width: 100%;
}

.cf-lightbox-image-wrap.is-changing img {
  animation: cf-gallery-reveal 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cf-gallery-reveal {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cf-lightbox-navigation {
  align-items: center;
  align-self: stretch;
  background: transparent;
  border: 0;
  color: var(--cf-paper);
  cursor: pointer;
  display: flex;
  font-size: 1.6rem;
  justify-content: center;
  opacity: 0.7;
  transition: background-color 180ms ease, opacity 180ms ease;
}

.cf-lightbox-navigation:hover,
.cf-lightbox-navigation:focus-visible {
  background: rgba(245, 243, 238, 0.07);
  opacity: 1;
}

.cf-lightbox-footer {
  align-items: center;
  border-top: 1px solid rgba(245, 243, 238, 0.16);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.75fr);
  min-width: 0;
  padding: 1rem 1.5rem;
}

.cf-lightbox-description {
  color: rgba(245, 243, 238, 0.72);
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
  max-width: 42rem;
  max-height: 7.5rem;
  overflow-y: auto;
  padding-right: 0.6rem;
  scrollbar-color: var(--cf-stone) transparent;
  scrollbar-width: thin;
}

.cf-lightbox-thumbnails {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 0.2rem;
  scrollbar-color: var(--cf-stone) transparent;
  scrollbar-width: thin;
  width: 100%;
}

.cf-lightbox-thumbnail {
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  flex: 0 0 4.8rem;
  height: 3.2rem;
  opacity: 0.45;
  overflow: hidden;
  padding: 0;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.cf-lightbox-thumbnail img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cf-lightbox-thumbnail:hover,
.cf-lightbox-thumbnail:focus-visible,
.cf-lightbox-thumbnail.is-active {
  border-color: var(--cf-paper);
  opacity: 1;
  transform: translateY(-0.12rem);
}

.cf-lightbox-close {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(245, 243, 238, 0.35);
  border-radius: 50%;
  color: var(--cf-paper);
  cursor: pointer;
  display: flex;
  font-size: 1.35rem;
  height: 2.5rem;
  justify-content: center;
  padding: 0 0 0.12rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 2.5rem;
}

.cf-lightbox-close:hover,
.cf-lightbox-close:focus-visible {
  background: var(--cf-paper);
  color: var(--cf-graphite);
  transform: rotate(6deg);
}

@media (max-width: 767px) {
  .cf-article-related__links {
    display: grid;
  }

  .cf-article-related__links a {
    width: 100%;
  }

  .cf-maintenance-banner {
    gap: 0.55rem;
    min-height: 2.5rem;
    padding: 0.65rem 0.85rem;
  }

  .cf-maintenance-banner p {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .cf-language-switcher {
    gap: 0.45rem;
    margin-left: 0.5rem;
  }

  .nav-brand-logo {
    max-height: 2.75rem;
    width: 2.75rem;
  }

  .cf-whatsapp-button {
    bottom: 0.75rem;
    right: 0.75rem;
  }

  .cf-whatsapp-button span {
    display: none;
  }

  .cf-lead-modal {
    align-items: flex-end;
    padding: 0;
  }

  .cf-lead-modal__panel {
    max-height: 94dvh;
    padding: 1.5rem 1rem 2rem;
  }

  .cf-lead-intro {
    padding-right: 2.7rem;
  }

  .cf-lead-grid {
    grid-template-columns: 1fr;
  }

  .cf-lead-field--wide,
  .cf-lead-consents {
    grid-column: auto;
  }

  .cf-lead-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .cf-lead-actions > * {
    width: 100%;
  }

  .cf-lightbox {
    padding: 0;
  }

  .cf-lightbox-panel {
    height: 100dvh;
  }

  .cf-lightbox-header {
    gap: 0.75rem;
    padding: 0.9rem 1rem;
  }

  .cf-lightbox-eyebrow {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
    max-width: 15rem;
  }

  .cf-lightbox-title {
    font-size: 1rem;
  }

  .cf-lightbox-header-actions {
    gap: 0.55rem;
  }

  .cf-lightbox-counter {
    font-size: 0.6rem;
    min-width: 3.8rem;
  }

  .cf-lightbox-stage {
    grid-template-columns: 2.9rem minmax(0, 1fr) 2.9rem;
  }

  .cf-lightbox-image-wrap {
    padding: 0.5rem 0;
  }

  .cf-lightbox-navigation {
    font-size: 1.2rem;
  }

  .cf-lightbox-footer {
    display: block;
    padding: 0.8rem 1rem 1rem;
  }

  .cf-lightbox-description {
    font-size: 0.76rem;
    max-height: 6.2rem;
    margin-bottom: 0.75rem;
  }

  .cf-lightbox-thumbnails {
    justify-content: flex-start;
  }

  .cf-lightbox-thumbnail {
    flex-basis: 4rem;
    height: 2.7rem;
  }

  .cf-lightbox-close {
    height: 2.25rem;
    width: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-lightbox,
  .cf-lightbox-panel,
  .cf-lightbox-image-wrap.is-changing img,
  .cf-lightbox-thumbnail,
  .cf-lead-modal,
  .cf-lead-modal__panel,
  .cf-lead-success {
    animation: none;
    scroll-behavior: auto;
    transition: none;
  }
}

.home-hero-paragraph p {
  color: #fff;
}

/* Carrossel Vertical - Centralização */
.vertical-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.vertical-carousel-images {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .vertical-carousel {
    gap: 1.5rem;
  }
}
.cf-contact-details {
  display: grid;
  gap: 0.45rem;
}

.cf-contact-details a {
  color: inherit;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.cf-contact-details a:hover,
.cf-contact-details a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.cf-consent {
  position: fixed;
  z-index: 2147483600;
  right: 24px;
  bottom: 24px;
  width: min(560px, calc(100vw - 32px));
  padding: 28px;
  color: #1c1c1c;
  background: #f5f3ee;
  border: 1px solid rgba(28, 28, 28, 0.18);
  box-shadow: 0 24px 70px rgba(28, 28, 28, 0.22);
  font-family: "Source Serif 4", Georgia, serif;
}

.cf-consent[hidden],
.cf-consent__preferences[hidden],
.cf-consent__summary[hidden] {
  display: none !important;
}

.cf-consent__eyebrow {
  margin: 0 0 8px;
  color: #8a8680;
  font-family: Cinzel, Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cf-consent h2 {
  margin: 0 0 12px;
  color: #1c1c1c;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 500;
  line-height: 1.2;
}

.cf-consent p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
}

.cf-consent a {
  color: #1c1c1c;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cf-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cf-consent__actions button {
  min-height: 44px;
  padding: 10px 18px;
  color: #f5f3ee;
  background: #1c1c1c;
  border: 1px solid #1c1c1c;
  border-radius: 0;
  font: 600 12px/1.2 Arial, sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.cf-consent__actions button.is-secondary {
  color: #1c1c1c;
  background: transparent;
}

.cf-consent__actions button.is-link {
  min-height: 0;
  padding-inline: 4px;
  color: #1c1c1c;
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cf-consent__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(28, 28, 28, 0.14);
}

.cf-consent__option strong,
.cf-consent__option small {
  display: block;
}

.cf-consent__option small {
  margin-top: 4px;
  color: #5f5b56;
  font-size: 13px;
  line-height: 1.4;
}

.cf-consent__option input {
  width: 22px;
  height: 22px;
  accent-color: #1c1c1c;
}

.cf-consent-settings {
  position: fixed;
  z-index: 2147483599;
  left: 16px;
  bottom: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: #f5f3ee;
  background: #1c1c1c;
  border: 1px solid rgba(245, 243, 238, 0.45);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(28, 28, 28, 0.22);
  cursor: pointer;
}

.cf-consent button:focus-visible,
.cf-consent a:focus-visible,
.cf-consent input:focus-visible,
.cf-consent-settings:focus-visible {
  outline: 3px solid #ac835e;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .cf-consent {
    right: 16px;
    bottom: 16px;
    max-height: calc(100vh - 32px);
    padding: 22px;
    overflow-y: auto;
  }

  .cf-consent__actions {
    display: grid;
  }

  .cf-consent__actions button {
    width: 100%;
  }
}

/* Contact, legal and footer refinements */
.services-header {
  justify-content: center;
  text-align: center;
  width: min(70rem, calc(100vw - 4rem));
}

.services-header > div:first-child {
  width: 100%;
}

.services-header .heading-mask {
  height: clamp(4rem, 9vw, 7.25rem);
}

.services-header .heading-animation {
  transform: none !important;
  width: 100%;
}

.services-header .services-heading {
  font-size: clamp(1.75rem, 7.5vw, 6.25rem);
  line-height: 1;
  max-width: none;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.services-cards {
  margin-top: clamp(5rem, 8vw, 8rem);
}

.services-card {
  isolation: isolate;
  position: relative;
}

.services-card::after {
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.06) 20%, rgba(15, 18, 22, 0.78) 100%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.services-card .sc-content {
  position: relative;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

@media (min-width: 768px) {
  .section.circle-quote .services-cards {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
  }

  .section.circle-quote .services-card._2 {
    margin-top: clamp(7rem, 13vw, 10rem);
  }

  .section.circle-quote .services-card._3 {
    margin-top: clamp(14rem, 26vw, 20rem);
  }

  .section.circle-quote .services {
    margin-bottom: 4rem;
  }

  .section.circle-quote > .container.no-lr-padding {
    padding-bottom: 4rem;
  }
}

.cf-phone-input {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(10.5rem, 0.85fr) minmax(9rem, 1.15fr);
}

.cf-phone-input select.text-field.w-input {
  cursor: pointer;
}

.cf-lead-help,
.cf-lead-privacy {
  color: #68635d;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.cf-lead-help {
  display: block;
  max-width: 44ch;
}

[data-cf-contact-gate] .cf-lead-modal__panel {
  max-width: 42rem;
}

[data-social-placeholder] {
  display: none !important;
}

.cf-menu-logo {
  display: block;
  height: auto;
  width: clamp(2.75rem, 5vw, 4rem);
}

.menu-info a {
  color: inherit;
  text-decoration: none;
}

.menu-info a:hover,
.menu-info a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.cf-footer-legal {
  align-items: center;
  border-top: 1px solid rgba(245, 243, 238, 0.16);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 clamp(1rem, 4vw, 4rem);
  padding: 1.5rem 0 2rem;
}

.footer .fb-inner {
  column-gap: 1rem;
  row-gap: 0.5rem;
}

.cf-complaints-link {
  display: inline-flex;
  max-width: min(22rem, 64vw);
}

.cf-complaints-link img {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.cf-cookie-preferences {
  background: transparent;
  border: 0;
  color: rgba(245, 243, 238, 0.72);
  cursor: pointer;
  font: 500 0.68rem/1.4 Manrope, Arial, sans-serif;
  letter-spacing: 0.08em;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  text-transform: uppercase;
}

.contact-hero-small-heading {
  white-space: normal !important;
  word-spacing: normal !important;
}

body[data-cf-page="contact"] .contact-hero {
  height: auto !important;
  min-height: clamp(28rem, 55vh, 34rem) !important;
}

body[data-cf-page="contact"] .contact-hero-wrapper {
  align-items: center;
  height: auto !important;
  min-height: clamp(28rem, 55vh, 34rem) !important;
}

body[data-cf-page="contact"] .contact-hero-wrapper .heading-mask {
  height: auto;
}

body[data-cf-page="contact"] .contact-hero-wrapper .heading-animation {
  transform: none !important;
}

body[data-cf-page="contact"] .cf-contact-hero-section > .container {
  padding-bottom: 3rem;
}

body[data-cf-page="contact"] .contact-hero-heading {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.94;
  max-width: 15ch;
  padding-block: 0.08em;
}

body[data-cf-page="contact"] .contact-hero-small-heading {
  color: rgba(245, 243, 238, 0.92);
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.55;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  max-width: 58ch;
  position: static !important;
  text-transform: none;
  transform: none !important;
  width: 100%;
}

.cf-contact-form-section .container {
  padding-top: clamp(5rem, 9vw, 8rem);
}

.cf-contact-form-content {
  align-items: flex-start;
  height: auto !important;
  min-height: 0;
  padding-bottom: clamp(6rem, 12vw, 12rem);
}

.cf-contact-form-content .contact-wrapper {
  flex: 0 0 24%;
  height: auto;
}

.cf-contact-form-content .contact-inner-heading {
  color: var(--cf-paper);
  margin-bottom: 1.5rem;
}

.cf-contact-form-content .contact-inner p {
  color: rgba(245, 243, 238, 0.68);
  line-height: 1.7;
  margin: 0;
}

.cf-contact-form-content .form-block {
  flex: 1;
  margin: 0;
  min-width: 0;
}

.cf-contact-form-embed {
  flex: 1;
  margin: 0;
  min-width: 0;
  width: 100%;
}

body[data-cf-page="contact"] #cf-contact-form .cf-contact-form-content,
body[data-cf-page="contact"] #cf-contact-form .cf-contact-form-embed,
body[data-cf-page="contact"] #cf-contact-form .cf-lead-form {
  max-width: none !important;
  width: 100%;
}

body[data-cf-page="contact"] #cf-contact-form .cf-contact-form-content {
  display: block;
}

body[data-cf-page="contact"] #cf-contact-form .cf-lead-step,
body[data-cf-page="contact"] #cf-contact-form .cf-lead-success {
  max-width: none;
  width: 100%;
}

.cf-contact-footer-details {
  border-bottom: 1px solid rgba(245, 243, 238, 0.16);
  border-top: 1px solid rgba(245, 243, 238, 0.16);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  width: 100%;
}

.cf-contact-footer-details section {
  min-width: 0;
}

.cf-contact-footer-details span {
  color: #d4ad88;
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.cf-contact-footer-details p {
  color: var(--cf-paper);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.55;
  margin: 0;
}

.cf-contact-footer-details a {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.cf-contact-footer-details a:hover,
.cf-contact-footer-details a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.cf-contact-form-content .cf-lead-form,
.cf-contact-form-content .cf-lead-intro h3,
.cf-contact-form-content .cf-lead-field .text-field.w-input {
  color: var(--cf-paper);
}

.cf-contact-form-content .cf-lead-field .text-field.w-input {
  border-bottom-color: rgba(245, 243, 238, 0.38);
}

.cf-contact-form-content .cf-lead-field .text-field.w-input::placeholder {
  color: #ac835e;
}

.cf-contact-form-content .cf-lead-field select.text-field.w-input option {
  background: var(--cf-paper);
  color: var(--cf-graphite);
}

.cf-contact-form-content .cf-lead-help,
.cf-contact-form-content .cf-lead-privacy {
  color: rgba(245, 243, 238, 0.58);
}

.cf-contact-form-content .cf-lead-progress__track {
  background: rgba(245, 243, 238, 0.2);
}

.cf-contact-form-content .cf-lead-progress__track i {
  background: var(--cf-paper);
}

.cf-contact-form-content .cf-lead-next,
.cf-contact-form-content .cf-lead-submit {
  background: var(--cf-paper);
  border-color: var(--cf-paper);
  color: var(--cf-graphite);
}

.cf-contact-form-content .cf-lead-back {
  border-color: rgba(245, 243, 238, 0.62);
  color: var(--cf-paper);
}

.utility-text .cf-complaints-link {
  margin-top: 1rem;
}

.cf-consent__actions button.is-secondary {
  background: transparent;
  border-color: rgba(28, 28, 28, 0.24);
  color: #5f5b56;
}

.cf-consent__actions button.is-link {
  color: #5f5b56;
}

/* Portfolio proof cards: keep long localized claims inside each card. */
.faq-cards .faq-card .fc-heading {
  font-size: clamp(2.35rem, 3.2vw, 3rem);
  line-height: 0.98;
  overflow-wrap: break-word;
}

.faq-cards .faq-card .fc-content {
  max-width: 100%;
}

.faq-cards .faq-card .fc-content:last-child {
  line-height: 1.35;
}

.s-cta .cta-card .cta-card-heading {
  font-size: clamp(2.35rem, 3.2vw, 3rem);
  line-height: 0.98;
  overflow-wrap: break-word;
}

/* Services page: reinforce contrast without covering the project cards. */
.services-wrapper .services-inner {
  isolation: isolate;
  position: relative;
}

.services-wrapper .services-inner::before {
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.66) 0%, rgba(15, 18, 22, 0.38) 34%, rgba(15, 18, 22, 0) 64%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.services-wrapper .services-block,
.services-wrapper .services-inner-card {
  position: relative;
  z-index: 2;
}

.services-wrapper .services-heading-wrapper,
.services-wrapper .services-block-text {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.82);
}

.services-wrapper .services-heading-wrapper .heading-mask {
  height: auto;
}

.services-wrapper .services-heading-wrapper h3 {
  white-space: normal;
}

@media (max-width: 767px) {
  .cf-contact-footer-details {
    grid-template-columns: 1fr;
  }

  .ah-heading-small {
    font-size: clamp(2.8rem, 14vw, 3.6rem);
  }

  .services-wrapper .services-heading-wrapper,
  .services-wrapper .services-heading-wrapper .heading-mask,
  .services-wrapper .services-heading-wrapper .heading-animation {
    width: 100%;
  }

  .services-wrapper .services-heading-wrapper h3 {
    margin-inline: auto;
    max-width: calc(100vw - 3rem);
    text-align: center;
    width: 100%;
  }

  .services-hero-content._2 {
    left: 0 !important;
    margin-inline: 1rem;
    width: calc(100% - 2rem) !important;
  }

  .services-hero-heading._3 {
    font-size: clamp(2.25rem, 10.5vw, 2.8rem);
    line-height: 0.94;
    text-align: center;
    width: 100%;
  }

  .services-header {
    width: calc(100vw - 2rem);
  }

  .services-header .heading-mask {
    height: clamp(3rem, 12vw, 5rem);
  }

  .services-cards {
    margin-top: 3rem;
  }

  .cf-phone-input {
    grid-template-columns: 1fr;
  }

  .contact-hero,
  .contact-hero-wrapper {
    height: auto !important;
    min-height: 0 !important;
  }

  .contact-hero-wrapper {
    align-items: stretch !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .contact-hero-small-heading {
    height: auto !important;
    margin-top: 1.5rem !important;
    position: static !important;
    transform: none !important;
  }

  .cf-contact-form-content {
    gap: 3rem;
  }

  .cf-contact-form-content .contact-wrapper,
  .cf-contact-form-content .form-block {
    flex-basis: auto;
    width: 100%;
  }

  .cf-complaints-link {
    max-width: 100%;
  }

  .faq-cards .faq-card .fc-heading {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .s-cta .cta-card .cta-card-heading {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }
}
