/* ============================================
   FlexPRO Landing Pages — Mobile-First CSS
   ============================================ */

/* ===== HERO ===== */
.lux-hero {
  position: relative;
  min-height: 85svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 72px;
}
.lux-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lux-hero__bg img,
.lux-hero__bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.lux-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,30,.78) 0%, rgba(0,40,80,.55) 100%);
  z-index: 1;
}
.lux-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 2.5rem 1.25rem;
}
.lux-hero__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--secondary);
  border: 1px solid rgba(0,212,170,.3);
  padding: .45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}
.lux-hero h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -.03em;
}
.lux-hero__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.lux-hero__actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS — min 48px touch target ===== */
.btn--white {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--white);
  padding: .875rem 1.75rem;
  min-height: 48px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: .875rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .03em;
  width: 100%;
}
.btn--white:hover {
  background: transparent;
  color: var(--white);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  padding: .875rem 1.75rem;
  min-height: 48px;
  border-radius: var(--radius-md);
  font-weight: 400;
  font-family: var(--font-display);
  font-size: .875rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .03em;
  width: 100%;
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.06);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  justify-items: start;
  padding: 0 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: .02em;
}
.trust-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--secondary);
}

/* ===== SECTIONS ===== */
.lux-section {
  padding: 2.5rem 0;
}
.lux-section--soft {
  background: var(--gray-100);
}
.lux-section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1.75rem;
  padding: 0 1rem;
}
.lux-section__tag {
  display: inline-block;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: .75rem;
}
.lux-section__header h2 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.lux-section__header p {
  font-size: .9375rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ===== INTRO (image + text) ===== */
.lux-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.lux-intro__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 16px 32px rgba(0,0,0,.08);
}
.lux-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lux-intro__text h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -.015em;
}
.lux-intro__text p {
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.sig-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sig-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.sig-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .55rem;
}

/* ===== DETAIL GRID ===== */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.detail-card__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 1rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
}
.detail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.detail-card:hover .detail-card__image img {
  transform: scale(1.02);
}
.detail-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.detail-card p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ===== SPACES GRID (commercial) ===== */
.spaces-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.space-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all .3s ease;
}
.space-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.space-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .375rem;
}
.space-card p {
  font-size: .8125rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== NEIGHBORHOODS ===== */
.neighborhoods {
  text-align: center;
}
.neighborhoods__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1.25rem;
  max-width: 640px;
  margin: 2rem auto 0;
}
.neighborhoods__item {
  font-size: .875rem;
  color: var(--gray-600);
  font-weight: 500;
  padding: .75rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.neighborhoods__item--primary {
  color: var(--primary);
  font-weight: 600;
}

/* ===== FAQ ===== */
.lux-faq {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 .5rem;
}
.lux-faq details {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.lux-faq details:first-child {
  border-top: 1px solid var(--gray-200);
}
.lux-faq summary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}
.lux-faq summary::-webkit-details-marker {
  display: none;
}
.lux-faq summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform .3s ease;
}
.lux-faq details[open] summary::after {
  content: '\2212';
  color: var(--primary);
}
.lux-faq details p {
  margin-top: .75rem;
  color: var(--gray-600);
  font-size: .875rem;
  line-height: 1.85;
  padding-right: 1rem;
}

/* ===== CTA ===== */
.lux-cta {
  background: linear-gradient(135deg, var(--dark) 0%, #003366 100%);
  text-align: center;
  padding: 2.5rem 1.25rem;
}
.lux-cta h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}
.lux-cta p {
  font-size: .9375rem;
  color: rgba(255,255,255,.55);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  line-height: 1.75;
}
.lux-cta__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 320px;
  margin: 0 auto;
}
.lux-divider {
  width: 40px;
  height: 1.5px;
  background: var(--secondary);
  margin: 0 auto 1rem;
  border: none;
  opacity: .7;
}

/* ============================================
   TABLET+ (min-width: 640px)
   ============================================ */
@media (min-width: 640px) {
  .trust-bar__inner {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0;
  }
  .trust-item {
    font-size: .8rem;
  }
  .neighborhoods__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .spaces-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .lux-cta__actions {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
  .btn--white,
  .btn--ghost {
    width: auto;
  }
  .lux-hero__actions {
    flex-direction: row;
  }
  .lux-hero__actions .btn--white,
  .lux-hero__actions .btn--ghost {
    width: auto;
  }
}

/* ============================================
   DESKTOP (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {
  .lux-hero {
    min-height: 80vh;
    padding-top: 80px;
  }
  .lux-hero__content {
    padding: 4rem 2rem;
  }
  .lux-hero__tag {
    font-size: .65rem;
    padding: .5rem 1.4rem;
    margin-bottom: 1.5rem;
  }
  .lux-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    margin-bottom: 1.25rem;
  }
  .lux-hero__sub {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    margin-bottom: 2.5rem;
  }
  .btn--white {
    padding: .9rem 2.2rem;
  }
  .btn--ghost {
    padding: .9rem 2.2rem;
  }
  .trust-bar {
    padding: 1.25rem 0;
  }
  .trust-bar__inner {
    gap: 2.5rem;
  }
  .trust-item svg {
    width: 15px;
    height: 15px;
  }
  .lux-section {
    padding: clamp(3rem, 5vw, 4rem) 0;
  }
  .lux-section__header {
    margin-bottom: 2rem;
  }
  .lux-section__header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  }
  .lux-section__header p {
    font-size: 1.0625rem;
  }
  .lux-intro {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .lux-intro__image {
    box-shadow: 0 24px 48px rgba(0,0,0,.08);
  }
  .lux-intro__text h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
  }
  .lux-intro__text p {
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
  }
  .sig-list li {
    font-size: .9375rem;
  }
  .detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .detail-card__image {
    margin-bottom: 1.25rem;
    box-shadow: 0 16px 32px rgba(0,0,0,.06);
  }
  .detail-card h3 {
    font-size: 1.1875rem;
  }
  .detail-card p {
    font-size: .9375rem;
  }
  .spaces-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .lux-faq summary {
    font-size: 1.0625rem;
  }
  .lux-faq details p {
    font-size: .9375rem;
    padding-right: 2rem;
  }
  .lux-cta {
    padding: clamp(3rem, 5vw, 4rem) 0;
  }
  .lux-cta h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  }
  .lux-cta p {
    font-size: 1.0625rem;
  }
}

/* ===== SERVICE STANDARD GRID ===== */
.standard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}
.standard-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.standard-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.standard-card__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto .875rem;
  color: var(--secondary);
}
.standard-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.standard-card p {
  font-size: .8125rem;
  color: var(--gray-500);
  line-height: 1.75;
}

@media (min-width: 640px) {
  .standard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
@media (min-width: 768px) {
  .standard-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    max-width: none;
  }
  .standard-card {
    padding: 2rem 1.5rem;
  }
  .standard-card h3 {
    font-size: 1.0625rem;
  }
  .standard-card p {
    font-size: .875rem;
  }
}

/* ===== TRANSPARENT HEADER ON DARK HERO PAGES ===== */
.header {
  background: transparent !important;
  border-bottom: none !important;
}
.header.scrolled {
  background: var(--white) !important;
  border-bottom: 1px solid var(--gray-200) !important;
}
.header .nav-link,
.header .nav-phone {
  color: var(--white);
  transition: color .3s ease;
}
.header.scrolled .nav-link,
.header.scrolled .nav-phone {
  color: var(--dark);
}
.header .logo-text {
  color: var(--white);
  transition: color .3s ease;
}
.header.scrolled .logo-text {
  color: var(--dark);
}
.header .btn-book {
  background: var(--white);
  color: var(--primary);
}
.header.scrolled .btn-book {
  background: var(--primary);
  color: var(--white);
}
.header .menu-toggle span {
  background: var(--white);
}
.header.scrolled .menu-toggle span {
  background: var(--dark);
}

/* ============================================
   SPLIT REVEAL — Dirty → Clean Transition
   Heavy cleaning pages (deep, initial, move-out, post-construction)
   ============================================ */
.split-reveal {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 16/9;
  box-shadow: 0 24px 48px rgba(0,0,0,.10);
  margin: 1rem auto;
  max-width: 900px;
}

.split-reveal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Diagonal overlay: left side = dark/dusty tint, right side = clean/bright */
.split-reveal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(40, 30, 20, 0.55) 0%,
    rgba(40, 30, 20, 0.45) 38%,
    rgba(40, 30, 20, 0.15) 42%,
    transparent 48%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Diagonal wipe line */
.split-reveal::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 44%;
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.9) 20%,
    rgba(255,255,255,0.95) 50%,
    rgba(255,255,255,0.9) 80%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-12deg);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* Labels */
.split-reveal__label {
  position: absolute;
  z-index: 3;
  font-family: var(--font-display);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .4rem .8rem;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.split-reveal__label--before {
  top: 1rem;
  left: 1rem;
  background: rgba(40, 30, 20, 0.75);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}

.split-reveal__label--after {
  bottom: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Subtle dust particles on the "before" side */
.split-reveal__dust {
  position: absolute;
  top: 0;
  left: 0;
  width: 44%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 20% 80%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 40%, rgba(255,255,255,0.2) 0%, transparent 100%);
}

@media (min-width: 768px) {
  .split-reveal {
    aspect-ratio: 21/9;
    margin: 1.5rem auto;
  }
  .split-reveal__label {
    font-size: .6875rem;
    padding: .5rem 1rem;
  }
}

/* ============================================
   AIRBNB CATEGORY IMAGE SECTIONS
   ============================================ */
.category-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 16/10;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
}

.category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}

.category-visual:hover img {
  transform: scale(1.03);
}

.category-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,20,40,0.45) 100%);
  pointer-events: none;
}

.category-visual__label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .05em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Category section layout */
.airbnb-category {
  margin-bottom: 1.5rem;
}

.airbnb-category__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .airbnb-category__content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }
  .airbnb-category:nth-child(even) .airbnb-category__content {
    direction: rtl;
  }
  .airbnb-category:nth-child(even) .airbnb-category__content > * {
    direction: ltr;
  }
}

.airbnb-category__text h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .75rem;
}

.airbnb-category__text p {
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.airbnb-category__text ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.airbnb-category__text ul li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding: .25rem 0;
}

.airbnb-category__text ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .55rem;
}

/* ============================================
   RESPONSIVE 3-COLUMN MODIFIERS
   Mobile: 1 column | Tablet: 2 columns | Desktop: 3 columns
   ============================================ */
@media (min-width: 640px) {
  .detail-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
  .standard-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .detail-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
  .standard-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   OVERFLOW GUARDRAIL — prevents horizontal scroll on iOS
   Applied AFTER root causes are fixed (inline grid overrides removed)
   ============================================ */
html, body {
  overflow-x: hidden;
}
