
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('funnel-estimator.css?v=2.0');

/* Custom Enhancements for 100% Fidelity & Mobile Optimization */

/* Guarantee Menu Button and Scrolling Functionality */
.header .btn--menu {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 100000 !important;
}

header .header__menu {
  z-index: 99999 !important;
}

/* ==========================================================
   LOCKED HEADER & BRAND LOGO SYSTEM (DESKTOP & MOBILE)
   ========================================================== */
header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99990 !important;
  pointer-events: none !important;
}

/* Locked Header Frosted Glass Top Bar Backdrop */
.wiz-locked-header-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 86px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  z-index: 99980 !important;
  pointer-events: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Dark mode / dark page support for locked header bar */
body.bg-black .wiz-locked-header-bar,
.bg-black ~ .wiz-locked-header-bar,
body.has-dark-hero .wiz-locked-header-bar {
  background: rgba(16, 16, 16, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

header .header {
  mix-blend-mode: normal !important;
  pointer-events: none !important;
  z-index: 1000000 !important;
}

/* Header Logo: Positioned at top-left, locked, brand font + 3 red stars, NO INTERIOR */
header .header__logo,
.header .header__logo {
  position: fixed !important;
  top: 23px !important;
  left: 2rem !important;
  z-index: 1000001 !important;
  cursor: pointer !important;
  width: auto !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  pointer-events: auto !important;
  text-decoration: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

header .header__logo .logo__normal {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.wiz-header-brand-img {
  height: 48px !important;
  width: auto !important;
  max-width: 210px !important;
  object-fit: contain !important;
  display: block !important;
  pointer-events: auto !important;
  transition: opacity 0.25s ease !important;
}

/* Header logo is ALWAYS solid black with red stars across entire site */
.wiz-logo-dark {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.wiz-logo-light {
  display: none !important;
  visibility: hidden !important;
}


/* ==========================================================
   PRIMARY MENU & CLOSE BUTTON (ORIGINAL FONT, HIGH CONTRAST, ZERO CLIPPING)
   ========================================================== */
header .header__btn,
.header .btn--menu,
header .header__btn.d-none,
.header .btn--menu.d-none {
  position: fixed !important;
  top: 22px !important;
  right: 2rem !important;
  z-index: 1000002 !important;
  pointer-events: auto !important;
  display: inline-flex !important;
  transform: none !important;
  -webkit-transform: none !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  background: #111111 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #111111 !important;
  border-radius: 999px !important;
  padding: 0.42rem 1.35rem !important;
  width: auto !important;
  min-width: 5.2rem !important;
  max-width: none !important;
  height: auto !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16) !important;
  font-family: var(--f-edit), "Editorialnew-Ultralight", "Editorialnew-Regular", Georgia, serif !important;
  font-weight: 300 !important;
  font-style: normal !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  transition: background 0.2s ease, opacity 0.2s ease !important;
}

header .header__btn:hover,
.header .btn--menu:hover {
  background: #252525 !important;
}

header .header__btn::before,
.header .btn--menu::before {
  display: none !important;
}

header .header__btn span,
.header .btn--menu span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  overflow-x: visible !important;
  overflow-y: clip !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  text-transform: none !important;
  letter-spacing: inherit !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

header .header__btn span > span,
.header .btn--menu span > span {
  display: inline-block !important;
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  text-transform: none !important;
  letter-spacing: inherit !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* When Menu is Open: Single Sleek Close Pill at Top-Right (Full "Close" Text, No Clipping) */
body.wiz-menu-active .btn--menu,
body.wiz-menu-active header .header__btn,
header:has(.header__menu:not(.d-none)) .btn--menu,
header:has(.header__menu:not(.d-none)) .header__btn {
  background: #111111 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #111111 !important;
  border-radius: 999px !important;
  padding: 0.42rem 1.35rem !important;
  width: auto !important;
  min-width: 5.2rem !important;
  max-width: none !important;
  height: auto !important;
  min-height: 42px !important;
  overflow: visible !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  pointer-events: auto !important;
  display: inline-flex !important;
  transform: none !important;
  -webkit-transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: var(--f-edit), "Editorialnew-Ultralight", "Editorialnew-Regular", Georgia, serif !important;
  font-size: 1.15rem !important;
  font-weight: 300 !important;
  font-style: normal !important;
  text-transform: none !important;
}

body.wiz-menu-active .btn--menu span,
body.wiz-menu-active .btn--menu span > span,
header:has(.header__menu:not(.d-none)) .btn--menu span,
header:has(.header__menu:not(.d-none)) .btn--menu span > span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  width: auto !important;
  min-width: auto !important;
  overflow: visible !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  text-transform: none !important;
}

/* Locality & Standalone Page Header Navigation Bar ONLY */
header .header:not(:has(.btn--menu)) .header__menu {
  position: fixed !important;
  top: 0 !important;
  right: 2rem !important;
  left: auto !important;
  width: auto !important;
  height: 86px !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  z-index: 100000 !important;
  pointer-events: auto !important;
}

header .header:not(:has(.btn--menu)) .header__menu ul#menu-principal {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.8rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

header .header:not(:has(.btn--menu)) .header__menu ul#menu-principal li {
  margin: 0 !important;
  padding: 0 !important;
}

header .header:not(:has(.btn--menu)) .header__menu ul#menu-principal li a {
  font-family: var(--f-izmir), "Izmir-Regular", sans-serif !important;
  font-size: 0.84rem !important;
  letter-spacing: 0.12em !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: #111111 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

header .header:not(:has(.btn--menu)) .header__menu ul#menu-principal li a:hover {
  color: #e31e24 !important;
}

/* Mobile Responsiveness for Locked Header & Logo */
@media (max-width: 768px) {
  .wiz-locked-header-bar {
    height: 74px !important;
  }
  header .header__logo,
  .header .header__logo {
    top: 20px !important;
    left: 1.25rem !important;
    height: 38px !important;
  }
  .wiz-header-brand-img {
    height: 38px !important;
    max-width: 165px !important;
  }
  header .header__btn,
  .header .btn--menu,
  header .header__btn.d-none,
  .header .btn--menu.d-none {
    top: 17px !important;
    right: 1.25rem !important;
    width: auto !important;
    min-width: 4.8rem !important;
    max-width: none !important;
    padding: 0.36rem 1.2rem !important;
    font-size: 1.05rem !important;
    min-height: 40px !important;
    transform: none !important;
    -webkit-transform: none !important;
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  header .header:not(:has(.btn--menu)) .header__menu {
    height: 74px !important;
    right: 1.25rem !important;
  }
  header .header:not(:has(.btn--menu)) .header__menu ul#menu-principal {
    gap: 0.75rem !important;
  }
  header .header:not(:has(.btn--menu)) .header__menu ul#menu-principal li a {
    font-size: 0.68rem !important;
    letter-spacing: 0.05em !important;
  }
}

@media (max-width: 480px) {
  /* On compact mobile screens, streamline locality page navigation to avoid overlap */
  header .header:not(:has(.btn--menu)) .header__menu ul#menu-principal li:nth-child(2),
  header .header:not(:has(.btn--menu)) .header__menu ul#menu-principal li:nth-child(4) {
    display: none !important;
  }
}

/* 2. Floating Minimalist Luxury Call Icon Button */
.wiz-float-call-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #151515;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.wiz-float-call-btn:hover {
  background: #000000;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.35);
}

.wiz-float-call-pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  border: 1.5px solid #151515;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: wizCallPulse 2s infinite;
}

@keyframes wizCallPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.wiz-float-call-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.wiz-float-call-btn:hover .wiz-float-call-icon {
  transform: rotate(12deg) scale(1.08);
}

@media (max-width: 768px) {
  .wiz-float-call-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
  }
  .wiz-float-call-icon {
    width: 20px;
    height: 20px;
  }
}

html, body {
  overflow-x: hidden;
  overflow-y: auto !important;
}

/* Smooth touch scrolling */
html.mobile, html.mobile body {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Cookie Consent Banner (Disabled - completely hidden to prevent intercepting mobile touch events) */
.cky-consent-container,
.cky-consent-container.on {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  z-index: -9999 !important;
}

@media (max-width: 768px) {
  .cky-consent-container,
  .cky-consent-container.on {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
  }
}

.cky-consent-title {
  font-family: 'Juana-Regular', serif;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0;
  color: #111;
}

.cky-consent-text {
  font-family: 'Izmir-Regular', sans-serif;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #444;
  margin: 0;
}

.cky-consent-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.cky-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 2rem;
  font-family: 'Izmir-Regular', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: 1px solid #111;
  transition: all 0.25s ease;
  text-decoration: none;
}

.cky-btn-accept {
  background-color: #111;
  color: #fff;
}

.cky-btn-accept:hover {
  background-color: #333;
}

.cky-btn-customize, .cky-btn-reject {
  background-color: #111;
  color: #fff;
}

.cky-btn-customize:hover, .cky-btn-reject:hover {
  background-color: #333;
}

/* Contact Form Feedback */
.wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-family: 'Izmir-Regular', sans-serif;
  font-size: 0.85rem;
  text-align: center;
  display: none;
}

.wpcf7-response-output.success {
  display: block;
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.wpcf7-response-output.error {
  display: block;
  background-color: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}

/* Mobile Safe Areas */
@supports (padding: max(0px)) {
  .header {
    padding-top: max(var(--wrapper-padd), env(safe-area-inset-top));
  }
}

/* ==========================================================
   FLUID RESPONSIVE HERO PROJECT TITLES (NO SVG CLIPPING)
   ========================================================== */
.mod-header--proyecto .mod-header__content__wrap-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  width: 100% !important;
  padding: 1rem 0 !important;
  text-align: center !important;
}

.project-hero-title {
  font-family: 'Juana-Regular', 'Editorial New', serif !important;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem) !important;
  line-height: 1.15 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #1b1b1b !important;
  margin: 0 auto 1.75rem auto !important;
  padding: 0 1rem !important;
  max-width: 1200px !important;
  font-weight: 400 !important;
  white-space: normal !important;
  word-break: break-word !important;
  display: block !important;
  text-align: center !important;
}

.mod-header--proyecto .mod-header__content__wrap-title-text {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  mix-blend-mode: normal !important;
  z-index: 2 !important;
  margin-bottom: 1.5rem !important;
  width: 100% !important;
  max-width: 1200px !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  overflow: visible !important;
}

.mod-header--proyecto .mod-header__content__title-image {
  position: relative !important;
  z-index: 1 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
  margin: 0 auto !important;
}

/* ==========================================================
   CARD STYLING & CLEAN TYPOGRAPHY
   ========================================================== */
.mod-media__card__title {
  font-family: 'Juana-Medium', serif !important;
  font-size: 1.55rem !important;
  line-height: 1.3 !important;
  margin-top: 1.25rem !important;
  margin-bottom: 0.5rem !important;
  color: #ffffff !important;
}

.mod-media__card__text {
  font-family: 'Izmir-Regular', sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #d0d0d0 !important;
  margin-bottom: 0.5rem !important;
}

.mod-media__card p {
  font-family: 'Editorialnew-Regular', serif !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: #a8a8a8 !important;
}

/* Pill badge styling */
.header__footer__btn, .mod-title__intro .mod-title__anchor {
  font-family: 'Izmir-Regular', sans-serif !important;
}

/* ==========================================================
   ANIMATED WIZSPACE FOOTER BACKGROUND TYPOGRAPHY
   ========================================================== */
.mod-footer__bg.wizspace-animated-footer-svg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  height: auto !important;
  max-height: 90% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: visible !important;
  display: block !important;
}

.wizspace-footer-text {
  font-family: 'Juana-Medium', 'Editorial New', serif !important;
  font-size: 260px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  fill: currentColor !important;
  opacity: 0.14 !important;
  text-anchor: middle !important;
  dominant-baseline: central !important;
  animation: wizPulseText 5s ease-in-out infinite alternate !important;
}

@keyframes wizPulseText {
  0% {
    letter-spacing: 0.08em;
    opacity: 0.12;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.18;
  }
  100% {
    letter-spacing: 0.14em;
    opacity: 0.13;
    transform: scale(1.02);
  }
}

.mod-footer__content {
  position: relative !important;
  overflow: hidden !important;
}

.mod-footer__content__project {
  position: relative !important;
  z-index: 2 !important;
}

/* ==========================================================
   FEATURED PROJECT & FOOTER EMAIL MOBILE OPTIMIZATIONS
   ========================================================== */
/* 1. Transparent "Explore" circle badge with black outline & black text */
.mod-footer__content__project__wrap-image .btn--circle,
.mod-footer__content__project__wrap-image .follow__mouse--md,
main .mod-footer__content__project__wrap-image .btn--circle,
.btn--circle {
  background: transparent !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  border: 1.5px solid #111111 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

.mod-footer__content__project__wrap-image .btn--circle:hover,
main .mod-footer__content__project__wrap-image .btn--circle:hover {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* 2. Responsive Project Title - prevents awkward word breaks like RESIDEN / CE */
main .mod-footer__content__project__name,
.mod-footer__content__project__name {
  font-size: clamp(1.15rem, 5.2vw, 1.85rem) !important;
  line-height: 1.25 !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  white-space: normal !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* 3. Responsive Footer Email - centered and fully visible on mobile */
main .mod-footer__buttons-header,
.mod-footer__buttons-header {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

@media (max-width: 950px) {
  main .mod-footer__buttons-header,
  .mod-footer__buttons-header {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 1.75rem !important;
    padding-top: 0.5rem !important;
  }

  main .mod-footer__buttons-header__btn,
  .mod-footer__buttons-header__btn {
    font-size: clamp(0.95rem, 4.8vw, 1.35rem) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: inline-block !important;
    max-width: 100% !important;
    text-align: center !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
  }
}

/* Modal and Reader Scroll Assurance */
.blog-reader-card, #blogReaderModal, .modal__content {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Light placeholder for search inputs */
input::placeholder, textarea::placeholder {
  color: #b0b0b0 !important;
  opacity: 0.9 !important;
}

/* ==========================================================
   FOOTER ORIGINAL BRAND LOGO AT THE BOTTOM (IMAGE COPY 11)
   ========================================================== */
.wizspace-footer-original-logo-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 2rem auto 1.25rem auto !important;
  width: 100% !important;
  text-align: center !important;
}

.wizspace-footer-original-logo {
  height: 52px !important;
  max-height: 60px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  filter: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
}

.wizspace-footer-original-logo:hover {
  transform: scale(1.05) !important;
  opacity: 0.92 !important;
}

@media (max-width: 768px) {
  .wizspace-footer-original-logo-wrap {
    margin: 1.5rem auto 1rem auto !important;
  }
  .wizspace-footer-original-logo {
    height: 38px !important;
    max-height: 44px !important;
  }
}

/* ==========================================================
   ARTICLE CALL CTA BUTTON (ICON ONLY OR SLEEK ICON PILL)
   ========================================================== */
.article-cta-call-icon-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #111111 !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  margin-left: 0.75rem !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  cursor: pointer !important;
}

.article-cta-call-icon-btn:hover {
  background: #e73c37 !important;
  border-color: #e73c37 !important;
  transform: translateY(-2px) scale(1.06) !important;
  box-shadow: 0 8px 22px rgba(231, 60, 55, 0.35) !important;
}

.article-cta-call-icon-btn svg {
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
}

/* ==========================================================
   MOBILE UI OPTIMIZATION FOR JOURNAL & BLOG PAGES
   ========================================================== */
@media (max-width: 768px) {
  /* Journal Hero Section */
  .blog-hero {
    padding: 5.5rem 1rem 1.5rem 1rem !important;
  }

  .blog-hero__badge {
    font-size: 0.75rem !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 0.5rem !important;
  }

  .blog-hero__title {
    font-size: clamp(1.75rem, 6.5vw, 2.5rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.85rem !important;
  }

  .blog-hero__desc {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
    padding: 0 0.5rem !important;
  }

  .blog-controls {
    margin-bottom: 1.75rem !important;
    gap: 1rem !important;
    padding: 0 0.25rem !important;
  }

  .blog-search-wrap {
    max-width: 100% !important;
  }

  .blog-search-input {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.88rem !important;
    border-radius: 30px !important;
  }

  /* Touch-scrollable filter pills on mobile */
  .blog-filter-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 0.4rem 0.25rem 0.65rem 0.25rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 0.5rem !important;
  }

  .blog-filter-pills::-webkit-scrollbar {
    display: none !important;
  }

  .blog-pill {
    flex: 0 0 auto !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
    padding: 0.5rem 0.95rem !important;
    border-radius: 24px !important;
    white-space: nowrap !important;
  }

  /* Articles Grid on Mobile */
  .blog-grid-section {
    padding-bottom: 3rem !important;
  }

  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: 0.5rem 0.85rem 3rem 0.85rem !important;
  }

  .blog-card {
    padding: 1.4rem 1.15rem !important;
    border-radius: 14px !important;
  }

  .blog-card__meta {
    font-size: 0.72rem !important;
    margin-bottom: 0.75rem !important;
  }

  .blog-card__title {
    font-size: 1.2rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.65rem !important;
  }

  .blog-card__summary {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.1rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .blog-card__action {
    font-size: 0.8rem !important;
  }

  /* Individual Blog Article Pages */
  .article-container {
    padding: 5.5rem 1rem 3rem 1rem !important;
  }

  .article-breadcrumb {
    font-size: 0.75rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
  }

  .article-badge {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .article-title {
    font-size: clamp(1.55rem, 6.2vw, 2.2rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
  }

  .article-meta {
    gap: 0.65rem !important;
    font-size: 0.78rem !important;
    padding-bottom: 1.25rem !important;
    margin-bottom: 1.75rem !important;
  }

  .article-content {
    font-size: 0.98rem !important;
    line-height: 1.68 !important;
  }

  .article-content h3 {
    font-size: 1.35rem !important;
    margin: 1.8rem 0 0.65rem 0 !important;
  }

  .article-content h4 {
    font-size: 1.15rem !important;
    margin: 1.4rem 0 0.5rem 0 !important;
  }

  .article-content p {
    margin-bottom: 1.1rem !important;
  }

  .article-content ul, .article-content ol {
    padding-left: 1.3rem !important;
    margin-bottom: 1.4rem !important;
  }

  .blog-takeaway-box {
    padding: 1.1rem 1.15rem !important;
    margin: 1.75rem 0 !important;
    font-size: 0.92rem !important;
    border-radius: 8px !important;
  }

  .article-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    padding: 1.75rem 0 !important;
    margin-top: 2.5rem !important;
  }

  .article-nav-btn {
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.8rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .article-cta {
    padding: 1.5rem 1.1rem !important;
    margin-top: 2.25rem !important;
    border-radius: 14px !important;
  }

  .article-cta h3 {
    font-size: 1.3rem !important;
    margin-bottom: 0.6rem !important;
  }

  .article-cta p {
    font-size: 0.86rem !important;
    margin-bottom: 1.25rem !important;
  }

  .article-cta-btn {
    padding: 0.75rem 1.4rem !important;
    font-size: 0.82rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .article-cta-call-icon-btn {
    width: 44px !important;
    height: 44px !important;
    margin-left: 0.5rem !important;
  }

  /* Reader Modal on Mobile */
  #blogReaderModal {
    padding: 0.5rem !important;
  }

  .blog-reader-card {
    padding: 1.35rem 1.1rem !important;
    max-height: 92vh !important;
    border-radius: 16px !important;
  }

  .blog-reader-close {
    top: 0.85rem !important;
    right: 0.85rem !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
  }

  .blog-reader__title {
    font-size: 1.35rem !important;
    margin-bottom: 0.85rem !important;
    padding-right: 1.5rem !important;
  }

  .blog-reader__meta-info {
    font-size: 0.78rem !important;
    gap: 0.85rem !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.25rem !important;
    flex-wrap: wrap !important;
  }

  .blog-reader__body {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
}

/* Fix mobile super-title word wrapping on About Us page */
@media (max-width: 768px) {
  .t-supertitulo, .t-supertitulo *, .line.f-regular {
    font-size: clamp(1.4rem, 6.5vw, 2.2rem) !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
  }
  .mod-header__content__wrap-lines {
    word-break: normal !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .mod-title--lines .line {
    font-size: clamp(1.3rem, 6vw, 2rem) !important;
    word-break: normal !important;
  }
  .awards-grid-mobile-fix {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Disable legacy Google review popup across all pages */
#wizReviewOverlay {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* ==========================================================
   HERO TITLE RESPONSIVE & MOBILE POLISH
   Prevents text merging, collisions, and awkward breaks
   ========================================================== */
@media (min-width: 769px) {
  .hero-title-stagger {
    margin-top: 1.15em !important;
  }
}

@media (max-width: 768px) {
  main .mod-scroll__intro__wrap-titles {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    grid-column-gap: 0.75rem !important;
    grid-row-gap: 0.9rem !important;
    width: 100% !important;
    align-items: start !important;
  }
  main .mod-scroll__intro__title {
    text-transform: uppercase !important;
    margin: 0 !important;
  }
  main .mod-scroll__intro__title:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
    text-align: left !important;
  }
  main .mod-scroll__intro__title.hero-title-stagger,
  main .mod-scroll__intro__title:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: right !important;
    margin-top: 1.15em !important;
  }
  main .mod-scroll__intro__title:nth-child(3) {
    grid-column: 1 !important;
    grid-row: 2 !important;
    text-align: left !important;
  }
  main .mod-scroll__intro__title.is_home {
    font-size: clamp(1.1rem, 4.8vw, 1.45rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.01em !important;
  }
  main .mod-scroll__intro__title .splitline {
    white-space: nowrap !important;
  }
  main .mod-scroll__intro__text {
    margin-top: 1.25rem !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  main .mod-scroll__intro__text p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
}

/* ==========================================================
   STATEMENT SECTION: INTER FONT GUARANTEE
   ========================================================== */
main .mod-scroll__images-text__text,
main .mod-scroll__images-text__text p,
main .mod-scroll__images-text__text div,
main .mod-scroll__images-text__text span,
main .mod-scroll__images-text__text .splitline,
main .mod-scroll__images-text__text .char,
main .mod-scroll__images-text__text .line {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-weight: 300 !important;
  font-size: clamp(1.35rem, 2.3vw, 2.35rem) !important;
  line-height: 1.6 !important;
  letter-spacing: -0.015em !important;
  color: #ffffff !important;
}

@media (max-width: 950px) {
  main .mod-scroll__images-text__text,
  main .mod-scroll__images-text__text p,
  main .mod-scroll__images-text__text div,
  main .mod-scroll__images-text__text span,
  main .mod-scroll__images-text__text .splitline,
  main .mod-scroll__images-text__text .char,
  main .mod-scroll__images-text__text .line {
    font-size: 1.25rem !important;
    line-height: 1.65 !important;
  }
}


/* ==========================================================
   PROJECT LOCATION SECTION (Connections and access removed)
   ========================================================== */
.mod-content--lists {
  display: flex !important;
  justify-content: flex-start !important;
}
.mod-content--lists .mod-content__list {
  width: 100% !important;
  max-width: 650px !important;
  display: flex !important;
  gap: var(--grid-gap) !important;
}
.mod-content--lists .mod-content__list .mod-content__list__title {
  min-width: 140px !important;
}

/* ==========================================================
   MOBILE PROJECT TITLES WRAP & READABILITY (SALT LAKE, NEW TOWN, ETC.)
   ========================================================== */
@media (max-width: 768px) {
  main .mod-scroll__projects__item__text__title {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    font-size: clamp(1.15rem, 5.2vw, 1.6rem) !important;
    line-height: 1.15 !important;
    max-width: 96% !important;
    padding-right: 0.5rem !important;
  }
}

/* ==========================================================
   OPTION 1: LUXURY SPACIOUS MOBILE MENU (FULL CLICKABILITY & CONTROL BAR)
   ========================================================== */
header .header__menu {
  pointer-events: auto !important;
}
header .header__menu * {
  pointer-events: auto !important;
}
header .header__menu a {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 10 !important;
}
header .header__menu.d-none {
  display: none !important;
  pointer-events: none !important;
}

.wiz-menu-header-bar {
  display: none !important;
}

@media (max-width: 950px) {
  /* Ensure menu stays completely hidden when closed */
  header .header__menu.d-none {
    display: none !important;
    pointer-events: none !important;
  }

  /* Balanced fullscreen overlay with comfortable distribution and safe clearance */
  header .header__menu:not(.d-none) {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding-top: 3.75rem !important; /* Clearance below top-right Close button */
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-bottom: 2.5rem !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    pointer-events: auto !important;
  }

  /* 1. Hide the large image box completely on mobile to give maximum breathing room */
  header .header__menu__media {
    display: none !important;
  }

  header .header__menu:not(.d-none) .header__menu__content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    order: 1 !important;
  }

  header .header__menu:not(.d-none) .header__menu__nav-single {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  header .header__menu:not(.d-none) .header__menu__nav-single__title {
    font-size: 0.76rem !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    opacity: 0.65 !important;
    margin-bottom: 0.2rem !important;
    display: block !important;
  }

  header .header__menu:not(.d-none) .header__menu__nav-single__link {
    font-size: 0.74rem !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.55rem !important;
    display: inline-block !important;
    opacity: 0.85 !important;
  }

  header .header__menu:not(.d-none) .header__menu__nav-single__proyectos {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important; /* Balanced gap between project items */
    padding: 0 !important;
    margin: 0 !important;
  }

  header .header__menu:not(.d-none) .header__menu__nav-single__proyectos__item {
    width: 100% !important;
    max-width: 100% !important;
  }

  header .header__menu:not(.d-none) .header__menu__nav-single__proyectos__item > a {
    display: block !important;
    width: 100% !important;
    padding: 0.08rem 0 !important;
  }

  /* Scale project titles comfortably so all fit cleanly with elegant line height */
  header .header__menu:not(.d-none) .header__menu__nav-single__proyectos__item > a div.num-title {
    font-size: clamp(1.02rem, 4.5vw, 1.22rem) !important;
    line-height: 1.22 !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: baseline !important;
  }

  header .header__menu:not(.d-none) .header__menu__nav-single__proyectos__item > a div.num-title span.num {
    font-size: 0.8rem !important;
    opacity: 0.6 !important;
    flex-shrink: 0 !important;
  }

  header .header__menu:not(.d-none) .header__menu__nav-single__proyectos__item > a div.num-title span.title {
    white-space: normal !important;
    word-break: keep-all !important;
    overflow: visible !important;
  }

  /* 2. Main Site Navigation Links (Comfortably spaced, covers empty area, never cut off) */
  header .header__menu:not(.d-none) .header__menu__nav-site {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    order: 2 !important;
    width: 100% !important;
    margin: 0.65rem 0 0 0 !important;
    padding: 0.65rem 0 0 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important; /* Balanced gap between site links */
  }

  header .header__menu:not(.d-none) .header__menu__nav-site li {
    font-size: 1.02rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
  }

  header .header__menu:not(.d-none) .header__menu__nav-site li a {
    display: flex !important;
    align-items: center !important;
    padding: 0.15rem 0 !important;
    min-height: auto !important;
    color: inherit !important;
    text-decoration: none !important;
  }

  /* 3. Footer Email & Phone with Safe Spacing and No Truncation */
  header .header__menu:not(.d-none) .header__menu__link-footer {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    order: 3 !important;
    margin-top: 0.65rem !important;
    font-size: clamp(0.76rem, 3.5vw, 0.88rem) !important;
    letter-spacing: -0.01em !important;
    opacity: 0.85 !important;
    display: block !important;
    color: inherit !important;
    text-decoration: none !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  header .header__menu:not(.d-none) .wiz-menu-call-link {
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    margin-top: 0.25rem !important;
    opacity: 1 !important;
    color: #111111 !important;
    display: inline-block !important;
  }

  /* 4. Fix double overlapping text on mobile (KNOW KNOW, JOURNAL JOURNAL) */
  header .header__menu .line:nth-of-type(2) {
    display: none !important;
  }
}

/* Hide floating action buttons while fullscreen menu is open so they never block menu links */
body:has(header .header__menu:not(.d-none)) .wiz-float-est-btn,
body:has(header .header__menu:not(.d-none)) .wiz-float-call-btn,
body.wiz-menu-active .wiz-float-est-btn,
body.wiz-menu-active .wiz-float-call-btn {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

/* ==========================================================
   PORTFOLIO FILTER TABS - MOBILE & DESKTOP STYLING
   ========================================================== */
.portfolio-filter-bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  padding: 0.75rem 0 1.25rem 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.portfolio-tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Izmir-Regular', sans-serif !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0.75rem 1.8rem !important;
  border-radius: 40px !important;
  background: rgba(0, 0, 0, 0.06) !important;
  color: #111111 !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.portfolio-tab-btn:hover,
.portfolio-tab-btn.active {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}

@media (max-width: 768px) {
  .portfolio-filter-bar {
    justify-content: space-between !important;
    gap: 6px !important;
    padding: 0.5rem 0 1rem 0 !important;
  }

  .portfolio-tab-btn {
    flex: 1 1 0px !important;
    min-width: 0 !important;
    font-size: 0.70rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.03em !important;
    padding: 0.6rem 0.35rem !important;
    text-align: center !important;
    border-radius: 30px !important;
  }
}

/* ==========================================================
   PORTFOLIO GALLERY & CARDS - MOBILE OPTIMIZATION
   ========================================================== */
#commercial-section .anima__title .char,
#residential-section .anima__title .char {
  transform: none !important;
  opacity: 1 !important;
}

#commercial-section .anima__title .line,
#residential-section .anima__title .line {
  overflow: visible !important;
}

/* Fix image positioning inside multiple media cards: disable faulty parallax translateY that cuts off image top */
main .mod-media--multiple .media__wrap-source {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  display: block !important;
}

main .mod-media--multiple .media__source {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 768px) {
  main .mod-media--multiple .mod-media__card:nth-of-type(3n+1),
  main .mod-media--multiple .mod-media__card:nth-of-type(3n+2),
  main .mod-media--multiple .mod-media__card:nth-of-type(3n+3),
  main .mod-media--multiple .mod-media__card {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 2.5rem !important;
    padding-top: 0 !important;
    display: block !important;
  }

  main .mod-media--multiple .mod-media__card .media__wrap-source {
    width: 100% !important;
    min-width: 100% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  main .mod-media--multiple .mod-media__card .media__source {
    width: 100% !important;
    object-fit: cover !important;
  }
}

