/* ================================================
   SAMAYA — Page Components
   ================================================ */

/* ===== HOME HERO — full-width banner slider ===== */
.hero-banner,
#hero.hero-banner {
  position: relative;
  width: 100%;
  margin-top: 76px;
  overflow: hidden;
  background: var(--sand);
}
.hero-slider {
  position: relative;
  width: 100%;
  min-height: clamp(480px, 72vh, 760px);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-color: var(--sand);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(250, 247, 242, 0.9) 0%,
    rgba(250, 247, 242, 0.55) 22%,
    rgba(250, 247, 242, 0.12) 40%,
    transparent 58%
  );
  pointer-events: none;
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 56px 28px;
  max-width: 640px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--copper); margin-bottom: 20px;
  padding: 8px 16px; background: rgba(255, 255, 255, 0.85);
  border-radius: 50px; box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08; margin-bottom: 18px; letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-title em { font-style: italic; color: var(--copper); }
.hero-subtitle {
  font-size: 17px; color: var(--ink-soft); line-height: 1.75;
  max-width: 520px; margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.92);
  color: var(--ink); font-size: 16px; cursor: pointer;
  box-shadow: var(--shadow); transition: var(--trans);
  display: flex; align-items: center; justify-content: center;
}
.hero-nav:hover { background: var(--copper); color: var(--white); }
.hero-nav-prev { left: 20px; }
.hero-nav-next { right: 20px; }

.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: var(--trans);
}
.hero-dot.active {
  width: 32px; border-radius: 6px; background: var(--copper);
}

.hero-stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-lt);
  padding: 28px 0;
}
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-family: var(--ff-display); font-size: clamp(28px, 3vw, 40px);
  font-weight: 700; color: var(--copper); line-height: 1;
}
.hero-stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
}

/* ===== QUICK LINKS ===== */
.quick-links-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.quick-link-card {
  background: var(--white); border: 1px solid var(--border-lt);
  border-radius: var(--radius); padding: 28px 24px;
  transition: var(--trans); position: relative; overflow: hidden;
}
.quick-link-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-copper); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.quick-link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.quick-link-card:hover::before { transform: scaleX(1); }
.ql-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sand); color: var(--copper);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 16px; transition: var(--trans);
}
.quick-link-card:hover .ql-icon { background: var(--gradient-copper); color: var(--white); }
.ql-title { font-family: var(--ff-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.ql-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.ql-arrow { margin-top: 16px; font-size: 12px; font-weight: 700; color: var(--copper); letter-spacing: 1px; text-transform: uppercase; }

/* ===== SERVICE CARDS ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--border-lt);
  border-radius: var(--radius); padding: 32px 28px;
  transition: var(--trans);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(184, 115, 51, 0.1); color: var(--copper);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px; transition: var(--trans);
}
.service-card:hover .service-icon { background: var(--gradient-copper); color: var(--white); }
.service-title { font-family: var(--ff-display); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ===== PROJECT CARDS ===== */
.projects-grid,
.projects-grid-4 {
  display: grid;
  gap: 24px;
}
.projects-grid { grid-template-columns: repeat(3, 1fr); }
.projects-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border-lt);
  transition: var(--trans);
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.project-img-wrap { position: relative; height: 220px; overflow: hidden; background: var(--sand); }
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-img { transform: scale(1.06); }
.project-img-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: var(--stone);
}
.project-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 50px;
  background: var(--white); color: var(--copper);
}
.project-badge-featured { left: auto; right: 14px; background: var(--copper); color: var(--white); }
.project-body { padding: 22px 24px; }
.project-title { font-family: var(--ff-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.project-cat { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.project-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }
.project-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.project-meta span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.project-meta i { color: var(--copper); font-size: 11px; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 10px 20px; border-radius: 50px;
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--muted); cursor: pointer; transition: var(--trans);
}
.filter-btn:hover, .filter-btn.active { background: var(--copper); border-color: var(--copper); color: var(--white); }

/* ===== TEAM CARDS ===== */
.team-grid,
.team-grid-3 {
  display: grid;
  gap: 24px;
}
.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border-lt);
  transition: var(--trans); text-align: center;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-img-wrap { position: relative; height: 280px; overflow: hidden; background: var(--sand); }
.team-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-img { transform: scale(1.05); }
.team-img-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--stone);
}
.team-overlay {
  position: absolute; inset: 0;
  background: rgba(61, 79, 95, 0.88);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: var(--trans);
}
.team-card:hover .team-overlay { opacity: 1; }
.team-bio { font-family: var(--ff-display); font-size: 15px; font-style: italic; color: var(--white); line-height: 1.7; }
.team-info { padding: 20px; }
.team-name { font-family: var(--ff-display); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.team-pos { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--copper); }

/* ===== STATS ===== */
.stats-band {
  background: var(--white);
  border-top: 1px solid var(--border-lt);
  border-bottom: 1px solid var(--border-lt);
  padding: 64px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 28px 20px;
  border-radius: var(--radius); background: var(--linen);
  border: 1px solid var(--border-lt);
}
.stat-num {
  font-family: var(--ff-display); font-size: clamp(36px, 4vw, 52px);
  font-weight: 700; color: var(--copper); line-height: 1;
}
.stat-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); margin-top: 8px;
}
.stats-band-slate { background: var(--slate); border: none; }
.stats-band-slate .stat-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.stats-band-slate .stat-num { color: var(--copper-lt); }
.stats-band-slate .stat-label { color: rgba(255,255,255,0.5); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border-lt);
  border-radius: var(--radius); padding: 28px 32px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 16px; right: 24px;
  font-family: var(--ff-display); font-size: 64px; line-height: 1;
  color: var(--stone); opacity: 0.6;
}
.testimonial-stars { color: var(--copper); font-size: 13px; margin-bottom: 14px; }
.testimonial-text { font-size: 15px; color: var(--ink-soft); line-height: 1.8; font-style: italic; margin-bottom: 18px; }
.testimonial-author { font-size: 14px; font-weight: 700; color: var(--ink); }
.testimonial-company { font-size: 12px; color: var(--copper); margin-top: 2px; }

/* Slider testimonials (home fallback) */
.testimonials-slider { max-width: 760px; margin: 40px auto 0; position: relative; }
.testimonial-slide { display: none; text-align: center; }
.testimonial-slide.active { display: block; animation: heroFade 0.5s ease; }
.testimonial-slide .testimonial-text { font-size: 18px; }
.testimonial-nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.testimonial-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--copper); cursor: pointer; transition: var(--trans);
}
.testimonial-nav button:hover { background: var(--copper); border-color: var(--copper); color: var(--white); }

/* ===== ABOUT ===== */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.about-img-ph {
  width: 100%; height: 480px; border-radius: var(--radius-lg);
  background: var(--sand); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 16px;
}
.about-float-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--white); padding: 24px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); text-align: center;
}
.about-float-badge .num { font-family: var(--ff-display); font-size: 40px; font-weight: 700; color: var(--copper); line-height: 1; }
.about-float-badge .lbl { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.value-card {
  background: var(--white); border: 1px solid var(--border-lt);
  border-radius: var(--radius); padding: 28px 24px;
  transition: var(--trans);
}
.value-card:hover { border-color: var(--copper-lt); box-shadow: var(--shadow-sm); }
.value-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--mist); color: var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px;
}
.value-title { font-family: var(--ff-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.value-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ===== CULTURE ===== */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.culture-card {
  background: var(--linen); border: 1px solid var(--border-lt);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  transition: var(--trans);
}
.culture-card:hover { background: var(--white); box-shadow: var(--shadow); border-color: transparent; }
.culture-icon { font-size: 32px; color: var(--copper); margin-bottom: 16px; }
.culture-title { font-family: var(--ff-display); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.culture-desc { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--border-lt);
  transition: var(--trans);
}
.gallery-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gallery-img-wrap { height: 220px; overflow: hidden; background: var(--sand); }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover .gallery-img { transform: scale(1.06); }
.gallery-img-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--stone); font-size: 32px;
}
.gallery-caption { padding: 16px 18px; }
.gallery-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.gallery-cat { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--sage); }

/* ===== CONTACT ===== */
.info-boxes { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border-lt); }
.info-box {
  padding: 36px 28px; text-align: center;
  background: var(--white); border-right: 1px solid var(--border-lt);
  transition: var(--trans);
}
.info-box:last-child { border-right: none; }
.info-box:hover { background: var(--linen); }
.info-box-icon { font-size: 26px; color: var(--copper); margin-bottom: 12px; }
.info-box-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.info-box-val { font-size: 14px; color: var(--muted); line-height: 1.6; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; min-height: auto; }
.contact-info-panel {
  background: var(--slate); padding: 64px 48px;
  display: flex; flex-direction: column;
}
.contact-info-panel .eyebrow { color: var(--copper-lt); }
.contact-info-panel .eyebrow::before { background: var(--copper-lt); }
.contact-info-panel h2 { font-size: clamp(28px, 3vw, 40px); color: var(--white); margin-bottom: 16px; }
.contact-info-panel > p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.8; margin-bottom: 36px; }
.ci-item { display: flex; gap: 16px; margin-bottom: 28px; }
.ci-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(184, 115, 51, 0.15); border: 1px solid rgba(184, 115, 51, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--copper-lt); font-size: 15px;
}
.ci-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.ci-val { font-size: 15px; color: rgba(255,255,255,0.85); font-weight: 500; }
.contact-social { display: flex; gap: 10px; margin-top: auto; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 14px; transition: var(--trans);
}
.contact-social a:hover { background: var(--copper); border-color: var(--copper); color: var(--white); }

.contact-form-panel { background: var(--white); padding: 64px 48px; }
.contact-form-panel h3 { font-family: var(--ff-display); font-size: 28px; font-weight: 600; margin-bottom: 32px; }
.contact-form-panel h3 em { font-style: italic; color: var(--copper); }

.map-wrap { height: 400px; background: var(--sand); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-fallback {
  background: var(--mist); padding: 64px 0; text-align: center;
}
.map-fallback-inner {
  max-width: 560px; margin: 0 auto; padding: 48px 40px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--border-lt);
}
.map-fallback i { font-size: 40px; color: var(--copper); margin-bottom: 16px; }
.map-fallback h3 { font-family: var(--ff-display); font-size: 22px; margin-bottom: 8px; }

.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--border-lt); padding: 18px 0; }
.faq-list summary {
  font-size: 15px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { color: var(--copper); font-size: 12px; flex-shrink: 0; margin-left: 12px; }
.faq-list p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-top: 12px; padding-right: 20px; }

/* ===== CAREERS CTA ===== */
.careers-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.careers-stats-box {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 40px;
}
.careers-big-num { font-family: var(--ff-display); font-size: 48px; color: var(--copper-lt); line-height: 1; }
.careers-subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.careers-subitem {
  background: rgba(184, 115, 51, 0.12); border: 1px solid rgba(184, 115, 51, 0.2);
  border-radius: var(--radius-sm); padding: 18px; text-align: center;
}
.careers-subitem .n { font-family: var(--ff-display); font-size: 26px; color: var(--copper-lt); }
.careers-subitem .l { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 4px; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); grid-column: 1 / -1; }
.empty-state i { font-size: 48px; color: var(--stone); margin-bottom: 16px; display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid,
  .projects-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid,
  .team-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-split, .careers-split, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-float-badge { right: 20px; bottom: -16px; }
}

@media (max-width: 768px) {
  .hero-banner,
  #hero.hero-banner { margin-top: 68px; }
  .hero-slider { min-height: clamp(420px, 65vh, 600px); }
  .hero-slide-content { padding: 40px 20px; max-width: 100%; }
  .hero-slide-scrim {
    background: linear-gradient(
      180deg,
      rgba(250, 247, 242, 0.92) 0%,
      rgba(250, 247, 242, 0.75) 45%,
      rgba(250, 247, 242, 0.25) 100%
    );
  }
  .hero-nav { width: 40px; height: 40px; font-size: 14px; }
  .hero-nav-prev { left: 10px; }
  .hero-nav-next { right: 10px; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .quick-links-grid, .services-grid, .values-grid, .culture-grid,
  .stats-grid, .testimonials-grid, .gallery-grid, .info-boxes,
  .contact-layout, .careers-split { grid-template-columns: 1fr; }
  .projects-grid,
  .projects-grid-4,
  .team-grid,
  .team-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .info-box { border-right: none; border-bottom: 1px solid var(--border-lt); }
  .contact-info-panel, .contact-form-panel { padding: 40px 28px; }
  .hero-stats-row { flex-wrap: wrap; gap: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .filter-bar { justify-content: flex-start; }
  .team-img-wrap { height: 220px; }
  .project-img-wrap { height: 180px; }
}

@media (max-width: 480px) {
  .projects-grid,
  .projects-grid-4,
  .team-grid,
  .team-grid-3 { grid-template-columns: 1fr; }
}
