/* ============================================================
   THE RAYAL CONSTRUCTIONS — Home Page Styles
   ============================================================ */

/* ── Intro Strip ── */
.intro-strip {
  background: var(--charcoal);
  padding: 40px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.intro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.intro-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 50px;
  gap: 6px;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

.intro-divider {
  width: 1px;
  height: 50px;
  background: rgba(201,168,76,0.2);
}

/* ── Builder Story ── */
.builder-story { background: var(--cream); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-images {
  position: relative;
}

.story-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.story-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.story-img-main:hover img { transform: scale(1.04); }

.story-img-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 45%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.story-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  top: 0; left: 0;
  background: var(--gold);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1;
}

.badge-text {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-align: center;
}

.story-text p {
  font-size: 0.93rem;
  color: var(--warm-grey);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1.1rem;
}

.story-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.value-item svg {
  width: 18px; height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
}

/* ── Portfolio Carousel ── */
.portfolio-section .section-header h2 { font-style: normal; }

.portfolio-carousel-wrap {
  position: relative;
  overflow: hidden;
  cursor: grab;
}

.portfolio-carousel-wrap:active { cursor: grabbing; }

.portfolio-track {
  display: flex;
  will-change: transform;
  user-select: none;
}

.portfolio-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
}

.portfolio-img {
  overflow: hidden;
  height: 560px;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  pointer-events: none;
}

.portfolio-slide:hover .portfolio-img img { transform: scale(1.04); }

.portfolio-info {
  background: #111;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.portfolio-cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.portfolio-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

.portfolio-info p {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(201,168,76,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s, transform 0.3s;
}

.carousel-arrow:hover {
  background: var(--gold);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow svg {
  width: 22px; height: 22px;
  stroke: var(--charcoal);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* ── Testimonials ── */
.testimonials-section { background: var(--cream); }

.testimonials-carousel-wrap {
  max-width: 52%;
  margin: 0 auto;
  overflow: hidden;
  cursor: grab;
  position: relative;
}

.testimonials-carousel-wrap:active { cursor: grabbing; }

.testimonials-track {
  display: flex;
  will-change: transform;
  user-select: none;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 4px;
}

.testimonial-card {
  background: var(--white);
  padding: 3rem 3.2rem 2.4rem;
  box-shadow: 0 8px 60px rgba(0,0,0,0.08);
  border-top: 4px solid var(--gold);
  position: relative;
}

.tcard-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 1rem;
  font-weight: 300;
}

.tcard-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #444;
  font-weight: 300;
  margin-bottom: 2rem;
}

.tcard-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--stone);
  padding-top: 1.4rem;
}

.tcard-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal);
  flex-shrink: 0;
}

.tcard-author {
  flex: 1;
}

.tcard-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}

.tcard-author span {
  font-size: 0.75rem;
  color: var(--warm-grey);
  font-weight: 300;
}

.tcard-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* ── CTA Band ── */
.cta-band {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,15,10,0.75);
}

.cta-band-inner {
  position: relative;
  z-index: 2;
}

.cta-band-inner p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 1.2rem auto 2.2rem;
  line-height: 1.8;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-images { padding-bottom: 50px; }
  .story-img-accent { right: -10px; }
  .testimonials-carousel-wrap { max-width: 80%; }
}

@media (max-width: 900px) {
  .portfolio-slide { grid-template-columns: 1fr; min-height: auto; }
  .portfolio-img { height: 320px; }
  .portfolio-info { padding: 2rem 1.8rem; }
  .portfolio-info h3 { font-size: 1.6rem; }
  .intro-stat { padding: 16px 28px; }
  .stat-number { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .testimonials-carousel-wrap { max-width: 94%; }
  .story-values { grid-template-columns: 1fr; }
  .story-img-accent { width: 40%; }
  .intro-divider { display: none; }
  .intro-strip-inner { gap: 0; }
  .intro-stat { flex: 1; min-width: 140px; }
}

@media (max-width: 540px) {
  .portfolio-img { height: 240px; }
  .portfolio-info { padding: 1.5rem 1.2rem; }
  .testimonial-card { padding: 2rem 1.5rem 1.8rem; }
  .tcard-text { font-size: 0.83rem; }
}
