/* ─── HOMEPAGE STYLES ─── */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* 
   * HERO IMAGE — currently using a free Unsplash placeholder.
   * RECOMMENDED PURCHASE: License one of these for commercial use:
   *   • Shutterstock: search "Long Beach California home exterior dusk"
   *   • Getty Images: search "Southern California luxury home golden hour"
   *   • Adobe Stock: search "Long Beach waterfront residential"
   * Replace the URL below with your licensed image path: url('../images/hero-bg.jpg')
   *
   * Current placeholder: Unsplash free-to-use image (Lorenzo Cafaro)
   * Great for development — swap before launch if you want full commercial clarity.
   */
  background-image: url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?w=1920&q=80&fit=crop');
  background-size: cover;
  background-position: center 40%;
  /* Fallback if image fails to load */
  background-color: #1a1408;
}

/* Geometric art-deco overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(201,168,76,0.03) 60px,
      rgba(201,168,76,0.03) 61px
    );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(0,0,0,0.82) 40%, rgba(0,0,0,0.45) 100%),
    linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease 0.25s both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 44px;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.55s both;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

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

/* MARQUEE STRIP */
.marquee-strip {
  background: var(--gold);
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
}

.marquee-track .dot { color: var(--charcoal-soft); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* TRANSFORM SECTION */
.section-transform {
  padding: 120px 0;
  background: var(--off-white);
}

.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.transform-text p {
  color: var(--charcoal-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.transform-visual {
  position: relative;
}

.transform-img-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.transform-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

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

.transform-img-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 2px;
}

/* Remove old placeholder rule */
.transform-img-placeholder { display: none; }

.transform-stats-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.transform-stat {
  background: var(--gold);
  padding: 20px 28px;
  text-align: center;
}

.transform-stat-alt {
  background: var(--charcoal);
}

.transform-stat-alt .stat-num {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.transform-stat-alt .stat-label {
  color: rgba(255,255,255,0.5);
}

/* STATS STRIP */
.section-stats {
  padding: 72px 0;
  background: var(--off-white);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.stat-big {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-big span {
  font-size: 1.6rem;
}

.stat-desc {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--light-gray);
  flex-shrink: 0;
}

.stat-num {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}

.stat-num span {
  font-size: 1.8rem;
}

.stat-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.7;
  margin-top: 6px;
}

/* STORY SECTION */
.section-story {
  padding: 120px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.story-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: 22vw;
  font-weight: 700;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}

.story-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.story-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}

.story-columns p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.85;
}

/* EXPERTISE CARDS */
.section-expertise {
  padding: 120px 0;
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* CTA BAND */
.section-cta {
  padding: 120px 0;
  background: var(--charcoal-mid);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201,168,76,0.04) 0%, transparent 50%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.01) 80px,
      rgba(255,255,255,0.01) 81px
    );
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-body {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .transform-grid { grid-template-columns: 1fr; gap: 80px; }
  .transform-stats-float { right: 0; bottom: -20px; flex-direction: row; }
  .stats-grid { flex-wrap: wrap; gap: 32px; }
  .stat-divider { display: none; }
  .stat-item { flex: 1 1 40%; padding: 0 16px; }
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .hero-sub br { display: none; }
  .hero-cta { flex-direction: column; }
  .section-transform,
  .section-story,
  .section-expertise,
  .section-cta { padding: 80px 0; }
  .section-stats { padding: 56px 0; }
  .story-columns { grid-template-columns: 1fr; gap: 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  .transform-stats-float { position: static; margin-top: 24px; flex-direction: row; gap: 4px; }
  .transform-stat { flex: 1; padding: 16px; }
  .stats-grid { gap: 24px; }
  .stat-item { flex: 1 1 45%; }
  .stat-big { font-size: 2rem; }
}
