/* Moved from style.css – RESIDENTS RULES */

/* Shared paper texture overlay used across resident sections */
body{
  background:transparent;
}
.companies-texture {
  position: absolute;
  inset: 0;
  background-image: url(../images/ambitious-companies-bg.png);
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   RESIDENT PROGRAM — HERO
   ======================================== */
.resident-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resident-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.resident-hero-bg .resident-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for text readability */
.resident-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Hero Content */
.resident-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 100%;
  width: 100%;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resident-hero-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 80px;
  line-height: 1.1;
  color: var(--fomo-white);
  margin-bottom: 28px;
  text-align: center;
 
}

.resident-hero-description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.resident-hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.resident-hero-cta .btn-primary,
.resident-hero-cta .btn-outline {
  width: 220px;
  padding: 14px 40px;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 960px) {
  .resident-hero-heading {
    font-size: 52px;
  }
  .resident-hero-description {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .resident-hero-content {
    padding: 0 20px;
  }
  .resident-hero-heading {
    font-size: 36px;
  }
  .resident-hero-description {
    font-size: 16px;
  }
  .resident-hero-cta {
    flex-direction: column;
    width:100%;
  }
  .resident-hero-cta .btn-primary,
  .resident-hero-cta .btn-outline {
    width: 100%;
  }
}

/* ========================================
   RESIDENT — CONSCIOUS CHOICE SECTION
   ======================================== */
.resident-conscious {
  position: relative;
  background: url(../images/ecosystem-bg.png) center center / cover no-repeat;
  padding: 100px 0 0;
  overflow: hidden;
}

/* Top area: two columns */
.conscious-top {
  position: relative;
  z-index: 2;
  display: flex;
  
  align-items: flex-start;
  flex-direction:row-reverse;
  justify-content: space-between;
  max-width:1260px;
  margin: 0 auto;
  padding: var(--container-padding) ;
  
  margin-bottom: 60px;
}

/* Left column */
.conscious-left {
  position: relative;
  flex: 0 0 480px;
  padding-top: 0;
}

.conscious-leaf {
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.conscious-description {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(20, 20, 20, 0.55);
  max-width: 400px;
  padding-left: var(--container-padding);
}

/* Right column */
.conscious-right {
  position: relative;
  flex: 1;
  max-width: 640px;
  padding-top: 0;
}

.conscious-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.15;
  color: #1a1a1a;
}

/* Bottom: two images with gap between them, full width */
.conscious-images {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 0;
  margin: 0;
}

.conscious-img-wrapper {
  overflow: hidden;
  border-radius: 0;
}

.conscious-img-left {
  flex: 0 0 62%;
}

.conscious-img-right {
  flex: 1;
}

.conscious-img-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  /* Start state: clipped from the right */
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Expanded state when in view - reveal left to right */
.conscious-img-wrapper.in-view img {
  clip-path: inset(0 0% 0 0);
}

/* Responsive */
@media (max-width: 960px) {
  .conscious-top {
    flex-direction: column-reverse;
    gap: 40px;
    padding: 0 var(--container-padding);
  }
  .conscious-left {
    flex: none;
    width: 100%;
  }
  .conscious-description {
    padding-left: 0;
  }
  .conscious-heading {
    font-size: 42px;
  }
  .conscious-images {
    flex-direction: column;
  }
  .conscious-img-left,
  .conscious-img-right {
    flex: none;
    width: 100%;
  }
  .conscious-img-wrapper img {
    height: 350px;
  }
}

@media (max-width: 600px) {
  .resident-conscious {
    padding: 60px 0 0;
  }
  .conscious-heading {
    font-size: 32px;
  }
  .conscious-img-wrapper img {
    height: 250px;
  }
}

/* ========================================
   RESIDENT — AMENITIES MARQUEE
   ======================================== */
.amenities-marquee {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.amenities-marquee-track {
  display: flex;
  width: max-content;
  animation: amenities-scroll 25s linear infinite;
}

@keyframes amenities-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.amenities-marquee-items {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.amenities-item {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  color: #1a1a1a;
  white-space: nowrap;
  padding: 0 24px;
}

.amenities-dot {
  font-size: 22px;
  color: #1a1a1a;
  padding: 0 8px;
  user-select: none;
}

/* ========================================
   RESIDENT -- STICKY SCROLL FEATURES
   ======================================== */
.resident-features {
  position: relative;
}

.feature-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  overflow: hidden;
  will-change: transform;
}

.feature-text {
  position: relative;
  flex: 0 0 35%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 90px;
  z-index: 1;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  max-width: 380px;
  position: relative;
  z-index: 1;
}

.feature-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-panel.zoom-out .feature-image img {
  transform: scale(1.08);
}

@media (max-width: 960px) {
  .feature-panel {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  .feature-text {
    flex: none;
    padding: 60px 32px;
  }
  .feature-image {
    flex: none;
    height: 50vh;
  }
  .feature-title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .feature-panel {
    position: static;
    min-height: unset;
  }
  .feature-title {
    font-size: 28px;
  }
  .feature-text {
    padding: 40px 20px;
  }
}

/* ========================================
   RESIDENT -- EVERYTHING INCLUDED
   ======================================== */
.resident-included {
  position: relative;
  background: #f5f2ec url(../images/ambitious-companies-bg.png) center center / cover no-repeat;
  padding: 100px 0 120px;
  overflow: hidden;
}

.included-inner {
  position: relative;
  z-index: 1;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.included-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 50px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 80px;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: rgba(20, 20, 20, 0.6);
}

.included-icon {
  font-size: 18px;
  flex-shrink: 0;
  opacity: 0.4;
  filter: grayscale(1) brightness(0.4);
}

@media (max-width: 960px) {
  .included-inner {
    padding: 0 40px;
  }
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 60px;
  }
  .included-title {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .included-inner {
    padding: 0 20px;
  }
  .included-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .included-title {
    font-size: 28px;
  }
  .resident-included {
    padding: 60px 0 80px;
  }
}




/* ========================================
   RESIDENT -- TESTIMONIALS
   ======================================== */
.resident-testimonials {
  position: relative;
  background: #f5f2ec;
  padding: 0 0 100px;
  overflow: hidden;
  margin-top: -1px;
}

/* Texture sits below leaves and content */
.resident-testimonials .companies-texture {
  z-index: 0;
}

.resident-testimonials .testimonials-leaf-left {
  position: absolute;
  top: 80px;
  left: 0;
  width: 300px;
  height: auto;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.resident-testimonials .testimonials-leaf-right {
  position: absolute;
  top: 60px;
  right: -20px;
  width: 260px;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.page-template-page-resident .marquee-wrapper {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-template-page-resident .marquee-wrapper::before,
.page-template-page-resident .marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}

.page-template-page-resident .marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.page-template-page-resident .marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.testimonials-marquee {
  border-bottom: none;
  padding: 32px 0;
}

/* Text-based logo items in the testimonials marquee */
.testimonials-marquee .logo-item {
  width: auto;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  color: #1a1a1a;
  filter: none;
  white-space: nowrap;
}

.testimonials-header {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px var(--container-padding) 0;
  margin-bottom: 60px;
}

.testimonials-badge {
  display: inline-block;
  background: #c5a74e;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 18px;
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.testimonials-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.15;
  color: #1a1a1a;
}

.testimonials-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.testimonial-card {
  position: relative;
  padding: 20px 0;
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 130px;
  line-height: 1;
  color: rgba(230, 160, 150, 0.6);
  display: block;
  margin-bottom:  -50px;
  pointer-events: none;
}

.testimonial-stars {
  position: relative;
  z-index: 1;
  font-size: 22px;
  color: #e8b930;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 28px;
}

.testimonial-divider {
  width: 100%;
  height: 1px;
  background: rgba(20, 20, 20, 0.1);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #c5a74e;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: #1a1a1a;
}

.testimonial-role {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(20, 20, 20, 0.5);
}

@media (max-width: 960px) {
  .resident-testimonials .testimonials-leaf-left {
    width: 200px;
    top: 40px;
  }
  .resident-testimonials .testimonials-leaf-right {
    width: 180px;
    top: 40px;
  }
  .testimonials-header {
    padding: 60px 40px 0;
    margin-bottom: 40px;
  }
  .testimonials-title {
    font-size: 38px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 40px;
  }
  .testimonial-text {
    font-size: 18px;
  }
  .testimonial-quote-mark {
    font-size: 100px;
  }
}

@media (max-width: 600px) {
  .resident-testimonials {
    padding: 0 0 60px;
  }
  .resident-testimonials .testimonials-leaf-left,
  .resident-testimonials .testimonials-leaf-right {
    display: none;
  }
  .testimonials-header {
    padding: 40px 20px 0;
    margin-bottom: 32px;
  }
  .testimonials-title {
    font-size: 28px;
  }
  .testimonials-grid {
    padding: 0 20px;
    gap: 32px;
  }
  .testimonial-text {
    font-size: 16px;
  }
  .testimonial-quote-mark {
    font-size: 100px;
  }
  .testimonials-marquee .logo-item {
    font-size: 13px;
  }
}

/* ========================================
   RESIDENT -- PRICING
   ======================================== */
.resident-pricing {
  position: relative;
  background: #ffffff;
  padding: 80px 0 120px;
  overflow: hidden;
}

.pricing-leaf-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 320px;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.pricing-leaf-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 280px;
  height: auto;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
}

.pricing-inner {
  position: relative;
  z-index: 1;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.pricing-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.15;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
}

.pricing-card-popular {
  border: 2px solid #1a1a1a;
}

.pricing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pricing-plan-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: #1a1a1a;
}

.pricing-popular-badge {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  padding: 4px 12px;
  letter-spacing: 0.3px;
}

.pricing-plan-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(20, 20, 20, 0.55);
  margin-bottom: 28px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 32px;
}

.pricing-amount {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 36px;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.pricing-period {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: rgba(20, 20, 20, 0.55);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: #1a1a1a;
}

.pf-icon {
  font-size: 16px;
  flex-shrink: 0;
  filter: grayscale(1) brightness(0.4);
  opacity: 0.5;
}

.pricing-btn {
  display: block;
  text-align: center;
  margin-top: auto;
  height: 52px;
  line-height: 52px;
  border: 2px solid #1a1a1a;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pricing-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

@media (max-width: 960px) {
  .pricing-inner {
    padding: 0 40px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .pricing-title {
    font-size: 42px;
  }
}

@media (max-width: 600px) {
  .pricing-inner {
    padding: 0 20px;
  }
  .pricing-title {
    font-size: 34px;
  }
  .pricing-card {
    padding: 32px 24px;
  }
  .resident-pricing {
    padding: 60px 0 80px;
  }
}


/* ========================================
   RESIDENT -- CTA SECTION
   ======================================== */
.resident-cta {
  position: relative;
  margin-top: 0;
  z-index: 5;
  background-color: #f0ebe0;
}

.cta-bg {
  position: relative;
  width: 100%;
  line-height: 0;
}

.cta-bg img {
  width: 100%;
  height: auto;
  display: block;
  /* clip-path: inset(0 0 1px 0); */
}

.cta-card {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 834px;
  max-width: 85%;
  background: #ffffff;
  padding: 50px 60px 45px;
  text-align: center;
  overflow: hidden;
}

.cta-card .companies-texture {
  border-radius: 0;
}

.cta-leaf {
  position: absolute;
  top: -30px;
  left: -20px;
  width: 220px;
  height: auto;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.cta-flamingo {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 100px;
  height: auto;
  z-index: 0;
}

.cta-card-inner {
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-block;
  background: #c5a74e;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 18px;
  margin-bottom: 22px;
  letter-spacing: 0.2px;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.cta-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(20, 20, 20, 0.6);
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 220px;
  padding: 0 40px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-btn-dark {
  background: #3a3a2e;
  color: #fff;
  border: 2px solid #3a3a2e;
}

.cta-btn-dark:hover {
  background: transparent;
  color: #3a3a2e;
}

.cta-btn-outline {
  background: transparent;
  color: #3a3a2e;
  border: 2px solid #3a3a2e;
}

.cta-btn-outline:hover {
  background: #3a3a2e;
  color: #fff;
}

@media (max-width: 960px) {
  .cta-card {
    width: 85%;
    padding: 45px 36px 40px;
  }
  .cta-title {
    font-size: 36px;
  }
  .cta-bg img {
    min-height: 480px;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 600px) {
  .cta-bg img {
    min-height: 520px;
  }
  .cta-card {
    top: 50%;
    width: calc(100% - 40px);
    max-width: 440px;
    padding: 32px 24px 28px;
  }
  .cta-title {
    font-size: 26px;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .cta-btn {
    width: 100%;
  }
  .cta-leaf {
    width: 120px;
  }
  .cta-flamingo {
    width: 55px;
    bottom: 12px;
    right: 12px;
  }
}

@media (max-width: 1100px) {
  .page-template-page-resident .footer-logo-overlap {
    top: -53px;
  }
}

@media (max-width: 900px) {
  .page-template-page-resident .footer-logo-overlap {
    top: -43px;
  }
}

@media (max-width: 480px) {
  .page-template-page-resident .footer-logo-overlap {
    top: -33px;
  }
}
