/* ==========================================================================
   Ávora Custom Widgets - Premium Design System
   ========================================================================== */

:root {
  --avora-gold: #c5a47e;
  --avora-gold-hover: #b4916a;
  --avora-dark: #0f1011;
  --avora-dark-card: #161719;
  --avora-light-bg: #fcfbfa;
  --avora-light-card: #ffffff;
  --avora-border-light: rgba(197, 164, 126, 0.15);
  --avora-border-dark: rgba(255, 255, 255, 0.08);
  --avora-text-dark: #111111;
  --avora-text-light: #ffffff;
  --avora-text-gray: #a3a4a8;
  --avora-serif: 'Playfair Display', 'Didot', 'Georgia', serif;
  --avora-sans: 'Outfit', 'Inter', 'Helvetica', sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Specific resets to override theme layout leaks, leaving styling properties flexible */
.elementor-widget-avora_hero,
.elementor-widget-avora_gallery,
.elementor-widget-avora_exclusivity,
.elementor-widget-avora_diferenciais,
.elementor-widget-avora_plantas,
.elementor-widget-avora_location,
.elementor-widget-avora_footer {
  padding: 0 !important;
  margin: 0 !important;
}

.avora-widget {
  font-family: var(--avora-sans);
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.avora-widget *, 
.avora-widget *:before, 
.avora-widget *:after {
  box-sizing: inherit !important;
}

/* High-specificity base layout templates (no !important here so Elementor Style Tab wins) */
.avora-widget .avora-subtitle {
  font-family: var(--avora-sans);
  text-transform: uppercase;
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  letter-spacing: 3px;
  color: var(--avora-gold);
  margin-bottom: 18px;
  display: block;
  font-weight: 500;
}

.avora-widget .avora-title {
  font-family: var(--avora-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.25;
  margin: 0 0 25px 0;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.avora-widget-dark .avora-title {
  color: var(--avora-text-light);
}

.avora-widget-light .avora-title {
  color: var(--avora-text-dark);
}

.avora-widget .avora-desc {
  font-family: var(--avora-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: var(--avora-text-gray);
  margin-bottom: 35px;
  font-weight: 300;
}

/* Button style overrides (no blocking !important on customizable attributes) */
.avora-widget .avora-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  font-family: var(--avora-sans);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 2px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 0px;
  box-shadow: none;
  line-height: 1;
}

.avora-widget .avora-btn::after {
  content: '\2197';
  margin-left: 12px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.avora-widget .avora-btn:hover::after {
  transform: translate(2px, -2px);
}

.avora-widget .avora-btn-gold {
  background: var(--avora-gold);
  color: #ffffff;
  border: 1px solid var(--avora-gold);
}

.avora-widget .avora-btn-gold:hover {
  background: var(--avora-gold-hover);
  border-color: var(--avora-gold-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.avora-widget .avora-btn-outline {
  background: transparent;
  color: var(--avora-gold);
  border: 1px solid var(--avora-gold);
}

.avora-widget .avora-btn-outline:hover {
  background: var(--avora-gold);
  color: #000000;
  transform: translateY(-2px);
}

/* ==========================================================================
   WIDGET 1: Hero Section (Full-screen Dark & Elegant)
   ========================================================================== */
.avora-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--avora-text-light);
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px clamp(20px, 6%, 90px);
  z-index: 1;
}

/* Perfect dual gradient overlay to make Jundiai towers pop and text clear */
.avora-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 75% 40%, rgba(15,16,17,0.2) 0%, rgba(15,16,17,0.85) 65%, rgba(15,16,17,0.96) 100%),
              linear-gradient(to bottom, rgba(15,16,17,0.7) 0%, transparent 35%, rgba(15,16,17,0.92) 100%);
  z-index: -1;
}

/* Hero Header */
.avora-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.avora-hero-brand {
  display: flex;
  align-items: center;
  gap: 25px;
}

.avora-hero-logo {
  max-height: 50px;
  height: auto;
  width: auto;
}

.avora-hero-menu {
  display: none;
}

@media (min-width: 992px) {
  .avora-hero-menu {
    display: flex;
    gap: 35px;
  }
}

.avora-hero-menu a {
  color: var(--avora-text-light);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  opacity: 0.75;
  font-family: var(--avora-sans);
}

.avora-hero-menu a:hover {
  color: var(--avora-gold);
  opacity: 1;
}

/* Hero Content Grid */
.avora-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  margin: auto 0;
  width: 100%;
  padding: 40px 0;
}

@media (min-width: 992px) {
  .avora-hero-grid {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 90px;
  }
}

.avora-hero-left {
  max-width: 720px;
}

.avora-hero-left .avora-subtitle {
  color: var(--avora-gold);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.avora-hero-left .avora-title {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  margin-bottom: 30px;
  line-height: 1.15;
}

/* Frosted Glassmorphism Lead Form Card */
.avora-hero-form-card {
  background: rgba(15, 16, 17, 0.72);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 45px 35px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  width: 100%;
}

.avora-hero-form-title {
  font-family: var(--avora-serif);
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: #ffffff;
  text-align: left;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.avora-form-group {
  margin-bottom: 22px;
  position: relative;
  width: 100% !important;
}

.avora-form-input {
  width: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--avora-sans);
  font-size: 0.95rem;
  border-radius: 0px;
  transition: var(--transition);
}

.avora-form-input:focus {
  outline: none;
  border-color: var(--avora-gold);
  background: rgba(255, 255, 255, 0.07);
}

.avora-form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.avora-hero-form-card .avora-form-btn {
  width: 100%;
  justify-content: center;
  padding: 18px;
  margin-top: 15px;
  background: var(--avora-gold);
  border-color: var(--avora-gold);
  color: #ffffff;
}

.avora-hero-form-card .avora-form-btn:hover {
  background: var(--avora-gold-hover);
  border-color: var(--avora-gold-hover);
}

.avora-form-notice {
  font-size: 0.72rem;
  color: var(--avora-text-gray);
  text-align: left;
  margin-top: 20px;
  line-height: 1.5;
}

.avora-form-notice a {
  color: var(--avora-gold);
  text-decoration: underline;
}

.avora-form-response {
  margin-top: 18px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
  padding: 12px;
  border-radius: 0px;
}

/* Complete Mobile & Tablet Responsiveness for Hero Widget */
@media (max-width: 767px) {
  .avora-hero {
    padding: 25px 15px !important;
  }
  
  .avora-hero-header {
    flex-direction: column !important;
    gap: 15px !important;
    border-bottom: none !important;
    padding-bottom: 10px !important;
  }

  .avora-hero-logo {
    max-height: 38px !important;
  }

  .avora-hero-grid {
    gap: 35px !important;
    padding: 20px 0 !important;
  }

  .avora-hero-left .avora-subtitle {
    font-size: 0.72rem !important;
    margin-bottom: 10px !important;
    letter-spacing: 2px !important;
  }

  .avora-hero-left .avora-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
  }

  .avora-hero-left .avora-desc {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 25px !important;
  }

  .avora-hero-form-card {
    padding: 30px 20px !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4) !important;
  }

  .avora-hero-form-title {
    font-size: 1.15rem !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }

  .avora-form-input {
    padding: 14px !important;
    font-size: 0.88rem !important;
  }

  .avora-form-group {
    margin-bottom: 15px !important;
  }

  .avora-hero-form-card .avora-form-btn {
    padding: 14px !important;
    font-size: 0.82rem !important;
  }
}

/* ==========================================================================
   WIDGET 2: Gallery and Intro
   ========================================================================== */
.avora-gallery-section {
  background: var(--avora-light-bg);
  padding: clamp(80px, 10vw, 120px) clamp(20px, 6%, 90px);
}

.avora-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 992px) {
  .avora-gallery-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 90px;
  }
}

.avora-gallery-text {
  max-width: 480px;
}

.avora-gallery-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.avora-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  aspect-ratio: 1/1; /* Matches square aspect-ratio in the photo exactly */
}

/* Minimalist luxury text button styling matching the photo */
.avora-widget .avora-btn-minimal {
  display: inline-flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--avora-gold) !important;
  color: var(--avora-text-dark) !important;
  padding: 8px 0 !important;
  font-family: var(--avora-sans) !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  letter-spacing: 2px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  line-height: 1 !important;
}

.avora-widget .avora-btn-minimal::after {
  content: '/' !important;
  margin-left: 20px !important;
  color: var(--avora-gold) !important;
  font-weight: 300 !important;
  font-size: 0.95rem !important;
  transition: transform 0.3s ease !important;
  display: inline-block !important;
}

.avora-widget .avora-btn-minimal:hover {
  color: var(--avora-gold) !important;
  padding-bottom: 12px !important;
}

.avora-widget .avora-btn-minimal:hover::after {
  transform: translateX(4px) !important;
}

.avora-gallery-item img.avora-gallery-img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  max-width: none !important;
  display: block !important;
  object-fit: cover !important;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.avora-gallery-item:hover .avora-gallery-img {
  transform: scale(1.08);
}

/* ==========================================================================
   WIDGET 3: Exclusivity Section and Stats Bar
   ========================================================================== */
.avora-exclusivity-section {
  background: #000000;
  color: var(--avora-text-light);
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5%, 80px) clamp(50px, 6vw, 80px) clamp(20px, 5%, 80px);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avora-exclusivity-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.avora-exclusivity-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avora-exclusivity-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to right, #000000 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 0) 35%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.8) 85%, #000000 100%);
  z-index: 2;
}

.avora-exclusivity-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0;
}

.avora-exclusivity-text {
  max-width: 48%;
  width: 100%;
  box-sizing: border-box;
}

.avora-exclusivity-text .avora-subtitle {
  font-family: var(--avora-sans);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--avora-gold);
  margin-bottom: 25px;
  display: block;
  font-weight: 500;
  line-height: 1.6;
  max-width: 160px;
}

.avora-exclusivity-text .avora-title {
  font-family: var(--avora-serif);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--avora-text-light);
  margin: 0;
}

/* Stats Bar - Centralized and aligned with translucent backdrop overlaying background */
.avora-stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: 100%;
  max-width: 1200px;
  margin: 80px 0 0 0;
  position: relative;
  z-index: 3;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .avora-stats-bar {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Single top border fading from middle to right */
  .avora-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(197, 164, 126, 0.25) 0%, rgba(197, 164, 126, 0.25) 45%, rgba(197, 164, 126, 0) 80%);
    z-index: 4;
  }
  
  /* Single bottom border fading from middle to right */
  .avora-stats-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(197, 164, 126, 0.25) 0%, rgba(197, 164, 126, 0.25) 45%, rgba(197, 164, 126, 0) 80%);
    z-index: 4;
  }
}

.avora-stat-item {
  text-align: left;
  padding: 25px clamp(20px, 3.5vw, 35px);
  border-top: 1px solid rgba(197, 164, 126, 0.25);
  border-bottom: 1px solid rgba(197, 164, 126, 0.25);
  border-right: 1px solid rgba(197, 164, 126, 0.25);
  border-left: 1px solid rgba(197, 164, 126, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  position: relative;
}

@media (min-width: 768px) {
  .avora-stat-item {
    padding: 30px clamp(20px, 2.5vw, 40px);
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-right: 1px solid rgba(197, 164, 126, 0.25);
  }
  
  .avora-stat-item:first-child {
    border-left: 1px solid rgba(197, 164, 126, 0.25);
  }

  .avora-stat-item:last-child {
    border-right: none;
    background: transparent;
  }
}

@media (max-width: 767px) {
  .avora-stat-item:last-child {
    grid-column: span 2;
  }
}

.avora-stat-value {
  font-family: var(--avora-serif);
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: var(--avora-gold);
  margin-bottom: 8px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}

.avora-stat-label {
  font-family: var(--avora-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--avora-text-light);
  line-height: 1.3;
  white-space: nowrap;
}

/* ==========================================================================
   WIDGET 4: Diferenciais 7-Item Grid
   ========================================================================== */
.avora-diferenciais-section {
  background: var(--avora-light-bg);
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5%, 80px);
}

.avora-diferenciais-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  width: 100%;
  gap: 20px;
}

@media (min-width: 992px) {
  .avora-diferenciais-header {
    flex-direction: row;
    align-items: flex-end;
    gap: 40px;
  }
}

.avora-diferenciais-header .avora-diferenciais-header-left {
  max-width: 700px;
}

.avora-diferenciais-header .avora-title {
  margin: 0;
}

.avora-diferenciais-header-right {
  align-self: flex-start;
}

@media (min-width: 992px) {
  .avora-diferenciais-header-right {
    align-self: auto;
  }
}

.avora-diferenciais-toggle-btn {
  background: none;
  border: none;
  color: var(--avora-text-dark);
  opacity: 0.8;
  font-family: var(--avora-sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 35px 8px 0;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none !important;
}

/* Horizontal line under text stretching past it slightly */
.avora-diferenciais-toggle-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% - 8px);
  height: 1px;
  background: var(--avora-gold);
  opacity: 0.6;
  transition: var(--transition);
}

/* Diagonal slash tick at the far right end of the line */
.avora-diferenciais-toggle-btn::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 5px;
  width: 8px;
  height: 1px;
  background: var(--avora-gold);
  opacity: 0.6;
  transform: rotate(45deg);
  transform-origin: right center;
  transition: var(--transition);
}

.avora-diferenciais-toggle-btn:hover {
  color: var(--avora-gold-hover);
  opacity: 1;
}

.avora-diferenciais-toggle-btn:hover::before,
.avora-diferenciais-toggle-btn:hover::after {
  background: var(--avora-gold-hover);
  opacity: 1;
}

.avora-diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(197, 164, 126, 0.2);
  border-left: 1px solid rgba(197, 164, 126, 0.2);
  width: 100%;
}

@media (min-width: 576px) {
  .avora-diferenciais-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .avora-diferenciais-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .avora-diferenciais-grid {
    grid-template-columns: repeat(7, 1fr); /* Exactly 7 contiguous items in one single line on desktop! */
  }
}

.avora-diferencial-card {
  background: transparent;
  border-right: 1px solid rgba(197, 164, 126, 0.2);
  border-bottom: 1px solid rgba(197, 164, 126, 0.2);
  padding: 25px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  aspect-ratio: 1.1 / 1;
  box-sizing: border-box;
}

.avora-diferencial-card:hover {
  background: rgba(197, 164, 126, 0.03);
}

.avora-hidden-card {
  display: none !important;
}

.avora-diferenciais-grid.expanded .avora-hidden-card {
  display: flex !important;
  animation: avoraFadeInUp 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes avoraFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.avora-diferencial-icon {
  margin-bottom: 15px;
  color: var(--avora-gold);
  height: 30px !important;
  width: 30px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avora-diferencial-card .avora-diferencial-icon img {
  height: 30px !important;
  width: 30px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  transition: var(--transition);
}

.avora-diferencial-card:hover .avora-diferencial-icon img {
  transform: scale(1.08);
}

.avora-diferencial-card .avora-diferencial-icon svg {
  height: 30px !important;
  width: 30px !important;
  fill: currentColor;
}

.avora-diferencial-title {
  font-family: var(--avora-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--avora-text-dark);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   WIDGET 5: Plantas Interactive Floorplans
   ========================================================================== */
.avora-plantas-section {
  background: var(--avora-dark);
  color: var(--avora-text-light);
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5%, 80px);
}

.avora-plantas-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  width: 100%;
  gap: 20px;
}

@media (min-width: 992px) {
  .avora-plantas-header {
    flex-direction: row;
    align-items: flex-end;
    gap: 40px;
  }
}

.avora-plantas-header .avora-plantas-header-left {
  max-width: 700px;
}

.avora-plantas-header .avora-title {
  margin: 0;
}

.avora-plantas-toggle-btn {
  background: none;
  border: none;
  color: var(--avora-gold);
  font-family: var(--avora-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid var(--avora-gold);
  padding: 0 20px 6px 0;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-block;
  text-decoration: none !important;
  line-height: 1;
}

.avora-plantas-toggle-btn::after {
  content: '↗';
  position: absolute;
  right: 0;
  top: -1px;
  font-size: 0.8rem;
  transition: var(--transition);
}

.avora-plantas-toggle-btn:hover {
  color: var(--avora-gold-hover);
  border-bottom-color: var(--avora-gold-hover);
}

.avora-plantas-toggle-btn:hover::after {
  transform: translate(3px, -3px);
}

.avora-plantas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .avora-plantas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.avora-planta-card {
  background: transparent;
  border: 1px solid rgba(197, 164, 126, 0.25);
  border-radius: 0;
  padding: 35px 25px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 15px;
  align-items: center;
  transition: var(--transition);
  box-sizing: border-box;
}

.avora-planta-card:hover {
  border-color: var(--avora-gold);
  box-shadow: 0 10px 30px rgba(197, 164, 126, 0.08);
}

.avora-planta-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 150px;
  box-sizing: border-box;
  text-align: left;
}

.avora-planta-area {
  font-family: var(--avora-serif);
  font-size: clamp(1.8rem, 2.2vw, 2.1rem);
  color: var(--avora-text-light);
  margin-bottom: 8px;
  font-weight: 400;
  line-height: 1.1;
}

.avora-planta-meta {
  font-family: var(--avora-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--avora-text-gray);
  line-height: 1.4;
  margin: 0;
}

.avora-planta-info-bottom {
  margin-top: 25px;
}

.avora-planta-btn {
  background: none;
  border: none;
  color: var(--avora-text-light);
  font-family: var(--avora-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid var(--avora-gold);
  padding: 0 15px 4px 0;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-block;
  text-decoration: none !important;
  line-height: 1;
}

.avora-planta-btn::after {
  content: '↗';
  position: absolute;
  right: 0;
  top: -1px;
  font-size: 0.75rem;
  transition: var(--transition);
}

.avora-planta-btn:hover {
  color: var(--avora-gold);
  border-bottom-color: var(--avora-gold);
}

.avora-planta-btn:hover::after {
  transform: translate(2px, -2px);
}

/* Floorplan Image Cutout Zoom-Cropping Wrapper */
.avora-planta-image-wrapper {
  width: 100%;
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.avora-planta-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transition: var(--transition);
  display: block;
}

.avora-planta-card:hover .avora-planta-img {
  transform: scale(1.06);
}

/* ==========================================================================
   WIDGET 6: Interactive Location Hotspot Map
   ========================================================================== */
.avora-location-section {
  background: var(--avora-light-bg);
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5%, 80px);
}

.avora-location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 992px) {
  .avora-location-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
  }
}

.avora-location-text {
  max-width: 500px;
}

/* Hotspot Map */
.avora-map-container {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.avora-map-img {
  width: 100%;
  height: auto;
  display: block;
}

.avora-map-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Pulsing pin style */
.avora-map-pin {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--avora-gold);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avora-map-pin::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--avora-gold);
  opacity: 0.6;
  animation: avora-pulse 2s infinite;
  z-index: -1;
}

.avora-map-pin-icon {
  width: 12px;
  height: 12px;
  fill: #fff;
}

/* Hotspot Card Info */
.avora-map-card {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 220px;
  background: var(--avora-dark);
  color: #fff;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid var(--avora-gold);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 20;
  text-align: center;
}

.avora-map-card::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: var(--avora-gold) transparent transparent transparent;
}

.avora-map-hotspot:hover .avora-map-card, .avora-map-hotspot.active .avora-map-card {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.avora-map-card-title {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--avora-gold);
  margin-bottom: 5px;
}

.avora-map-card-desc {
  font-size: 0.72rem;
  color: var(--avora-text-gray);
  line-height: 1.4;
  margin: 0;
}

@keyframes avora-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* ==========================================================================
   WIDGET 7: Footer and Dark Pre-footer
   ========================================================================== */
.avora-prefooter {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--avora-text-light);
  padding: clamp(60px, 8vw, 90px) clamp(20px, 5%, 80px);
  z-index: 1;
}

.avora-prefooter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 16, 17, 0.88);
  z-index: -1;
}

.avora-prefooter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .avora-prefooter-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

.avora-prefooter-left .avora-title {
  margin-bottom: 30px;
}

.avora-prefooter-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.avora-highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 15px 20px;
  border-radius: 2px;
}

.avora-highlight-icon {
  color: var(--avora-gold);
  width: 20px;
  height: 20px;
}

.avora-highlight-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.avora-highlight-text {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* Footer style */
.avora-footer {
  background: #0b0c0d;
  color: var(--avora-text-light);
  padding: 60px clamp(20px, 5%, 80px) 30px clamp(20px, 5%, 80px);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.avora-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

@media (min-width: 992px) {
  .avora-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }
}

.avora-footer-logo-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.avora-footer-logo {
  max-height: 40px;
  width: auto;
  align-self: flex-start;
}

.avora-footer-legal-desc {
  font-size: 0.72rem;
  color: var(--avora-text-gray);
  line-height: 1.5;
  max-width: 280px;
}

.avora-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .avora-footer-links {
    justify-content: center;
  }
}

.avora-footer-links a {
  color: var(--avora-text-light);
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.7;
  transition: var(--transition);
}

.avora-footer-links a:hover {
  opacity: 1;
  color: var(--avora-gold);
}

.avora-footer-socials {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .avora-footer-socials {
    justify-content: flex-end;
  }
}

.avora-social-icon {
  color: var(--avora-text-light);
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: var(--transition);
}

.avora-social-icon:hover {
  opacity: 1;
  color: var(--avora-gold);
}

.avora-social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.avora-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.7rem;
  color: var(--avora-text-gray);
}

.avora-footer-copy {
  letter-spacing: 0.5px;
}
