/* ============================================
   PRIME STONE DEVELOPERS — components.css
   Reusable components: footer, hero, service cards, etc.
   ============================================ */

/* ── Site Footer ── */
.site-footer {
  background: var(--black);
  border-top: 2px solid var(--gold);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--spacing-sm);
  text-decoration: none;
}
.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
}
.footer-brand .logo-sub {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--silver);
  display: block;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--silver);
  margin-bottom: var(--spacing-sm);
  line-height: 1.5;
}
.footer-desc {
  font-size: 0.88rem;
  color: rgba(192,192,192,0.7);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(192,192,192,0.75);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.footer-contact-item .icon { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.88rem; color: rgba(192,192,192,0.75); line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(192,192,192,0.5);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: rgba(192,192,192,0.5);
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-socials a:hover { color: var(--gold); }

/* ── Home Hero ── */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.78);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 var(--spacing-md);
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}
.hero-content h1 span { display: block; }
.hero-sub {
  font-family: var(--font-body);
  color: var(--silver);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}
.hero-btn-group {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}
.scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
}
.scroll-indicator svg { fill: var(--gold); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Service Strip ── */
.service-strip {
  background: var(--dark-bg);
  padding: 60px 0;
}
.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(212,175,55,0.15);
}
.service-strip-card {
  background: var(--dark-bg);
  padding: 36px 24px;
  text-align: center;
  border-top: 3px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.service-strip-card:hover {
  border-top-color: var(--gold);
  background: rgba(212,175,55,0.05);
}
.service-strip-card .svc-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto var(--spacing-sm);
}
.service-strip-card h4 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.service-strip-card p {
  font-size: 0.82rem;
  color: var(--silver);
  line-height: 1.6;
}

/* ── About Snippet ── */
.about-snippet {
  background: var(--slate);
  padding: var(--spacing-xl) 0;
}
.about-snippet-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}
.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  line-height: 1.4;
  border-left: 3px solid var(--gold);
  padding-left: var(--spacing-md);
}
.about-text p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
}
.about-text .link-arrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}
.about-text .link-arrow:hover { gap: 14px; }

/* ── Three Pillars ── */
.three-pillars {
  background: var(--black);
  padding: var(--spacing-xl) 0;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(212,175,55,0.1);
  margin-top: var(--spacing-lg);
}
.pillar-item {
  background: var(--black);
  padding: var(--spacing-lg) var(--spacing-md);
  border-top: 2px solid transparent;
  transition: border-color var(--transition);
}
.pillar-item:hover { border-top-color: var(--gold); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--spacing-sm);
  opacity: 0.6;
}
.pillar-item h3 { color: var(--white); margin-bottom: var(--spacing-xs); }
.pillar-item p { color: var(--silver); font-size: 0.92rem; line-height: 1.7; }

/* ── Chairman Quote ── */
.chairman-quote-section {
  background: #161610;
  border-top: 1px solid rgba(212,175,55,0.2);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  padding: 80px 0;
}
.chairman-quote-inner {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  max-width: 900px;
  margin: 0 auto;
}
.chairman-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--slate);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
}
.chairman-quote-text blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}
.chairman-quote-text cite {
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Partnership Strip ── */
.partnership-strip {
  background: var(--dark-bg);
  padding: 80px 0;
  text-align: center;
}
.partnership-strip h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

/* ── Alternating Service Sections ── */
.svc-section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.svc-section:nth-child(odd) { background: var(--dark-bg); }
.svc-section:nth-child(even) { background: var(--black); }
.svc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}
.svc-inner.reverse { direction: rtl; }
.svc-inner.reverse > * { direction: ltr; }
.svc-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.svc-img:hover img { transform: scale(1.04); }
.svc-text h2 { color: var(--gold); margin-bottom: var(--spacing-sm); }
.svc-text p { color: var(--silver); line-height: 1.8; margin-bottom: var(--spacing-sm); font-size: 0.95rem; }
.svc-text ul { padding-left: 0; }
.svc-text ul li {
  font-size: 0.9rem;
  color: rgba(192,192,192,0.8);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.svc-text ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

/* ── Values Grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}
.value-card {
  background: var(--dark-bg);
  border: 1px solid rgba(212,175,55,0.12);
  padding: var(--spacing-md);
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.value-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}
.value-card h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.value-card p { font-size: 0.9rem; color: var(--silver); line-height: 1.7; }

/* ── Chairman Page ── */
.chairman-profile-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-lg);
  align-items: flex-start;
}
.chairman-portrait-lg {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--slate), var(--dark-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  flex-shrink: 0;
}
.chairman-info h2 { color: var(--gold); margin-bottom: 6px; }
.chairman-info .title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: var(--spacing-md);
}
.chairman-info p { color: rgba(255,255,255,0.82); line-height: 1.85; margin-bottom: var(--spacing-sm); font-size: 0.97rem; }

/* ── Principles Cards ── */
.principle-card {
  background: var(--dark-bg);
  border-left: 3px solid var(--gold);
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}
.principle-card h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.principle-card p { color: var(--silver); font-size: 0.9rem; line-height: 1.6; }

/* ── ESG Pillars ── */
.esg-pillar { padding: var(--spacing-lg) 0; }
.esg-pillar:nth-child(odd) { background: var(--dark-bg); }
.esg-pillar:nth-child(even) { background: var(--black); }
.esg-pillar-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-lg);
  align-items: flex-start;
}
.esg-pillar-letter {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  font-weight: 300;
  opacity: 0.15;
}
.esg-pillar-letter.green { color: var(--green); }
.esg-pillar-letter.gold { color: var(--gold); }
.esg-pillar-letter.silver { color: var(--silver); }
.esg-content h2 { margin-bottom: var(--spacing-sm); }
.esg-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-sm); margin-top: var(--spacing-md); }
.esg-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.esg-item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.esg-item-icon.green { border-color: var(--green); color: var(--green); }
.esg-item-icon.gold { border-color: var(--gold); color: var(--gold); }
.esg-item-icon.silver { border-color: var(--silver); color: var(--silver); }
.esg-item-text h5 {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.esg-item-text p { font-size: 0.85rem; color: var(--silver); line-height: 1.5; }

/* ── News Cards ── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
.news-card {
  background: var(--dark-bg);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: all var(--transition);
}
.news-card:hover { border-color: rgba(212,175,55,0.3); transform: translateY(-4px); }
.news-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--slate), var(--dark-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.3);
}
.news-card-body { padding: var(--spacing-sm); }
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.news-card-date {
  font-size: 0.75rem;
  color: var(--silver);
  font-family: var(--font-heading);
}
.news-card-body h4 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.35;
}
.news-card-body p { font-size: 0.87rem; color: var(--silver); line-height: 1.6; margin-bottom: var(--spacing-sm); }
.news-read-more {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.news-read-more:hover { gap: 12px; }

/* ── Filter Tabs ── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}
.filter-tab {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--silver);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ── Promise Page ── */
.promise-full-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promise-full-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.08) 0%, transparent 70%);
}
.promise-full-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
  max-width: 800px;
  position: relative;
}
.promise-row {
  min-height: 28vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.promise-row:nth-child(odd) { background: var(--gold); }
.promise-row:nth-child(even) { background: var(--black); border: 1px solid rgba(212,175,55,0.1); }
.promise-row:nth-child(odd) h2,
.promise-row:nth-child(odd) p { color: var(--black); }
.promise-row:nth-child(even) h2 { color: var(--gold); }
.promise-row:nth-child(even) p { color: var(--silver); }
.promise-inner {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}
.promise-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
  width: 80px;
}
.promise-row:nth-child(even) .promise-icon { color: var(--gold); }
.promise-text h2 { margin-bottom: var(--spacing-xs); }
.promise-text p { font-size: 1rem; line-height: 1.7; }
.belief-statement {
  background: var(--black);
  padding: 100px 0;
  text-align: center;
}
.belief-statement blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--gold);
  max-width: 820px;
  margin: 0 auto var(--spacing-md);
  line-height: 1.35;
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-lg);
}
.contact-info h3 { color: var(--gold); margin-bottom: var(--spacing-md); }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.9rem;
}
.contact-item-text span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 3px;
}
.contact-item-text p { color: var(--white); font-size: 0.92rem; line-height: 1.5; }
.enquiry-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}
.map-placeholder {
  height: 400px;
  background: var(--dark-bg);
  border: 1px solid rgba(212,175,55,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-xl);
  color: var(--silver);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── Partnership Models ── */
.model-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}
.model-card {
  background: var(--dark-bg);
  border: 1px solid rgba(212,175,55,0.15);
  padding: var(--spacing-md);
  text-align: center;
  transition: all var(--transition);
}
.model-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.model-card h3 { color: var(--gold); margin-bottom: var(--spacing-xs); }
.model-card p { color: var(--silver); font-size: 0.92rem; line-height: 1.7; margin-bottom: var(--spacing-md); }

/* ── Careers ── */
.role-card {
  background: var(--dark-bg);
  border: 1px solid rgba(255,255,255,0.06);
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--transition);
}
.role-card:hover { border-color: rgba(212,175,55,0.3); }
.role-title {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
}
.role-dept {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.4);
  padding: 3px 10px;
}
.role-card-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.role-type {
  font-size: 0.8rem;
  color: var(--silver);
}

/* ── Governance ── */
.gov-pillar {
  text-align: center;
  padding: var(--spacing-md);
  border: 1px solid rgba(212,175,55,0.12);
  transition: all var(--transition);
}
.gov-pillar:hover { border-color: var(--gold); background: rgba(212,175,55,0.04); }
.gov-pillar-icon { font-size: 2.4rem; margin-bottom: var(--spacing-sm); }
.gov-pillar h4 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.gov-pillar p { font-size: 0.87rem; color: var(--silver); line-height: 1.6; }

/* ── Responsive overrides ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .service-strip-grid { grid-template-columns: repeat(3, 1fr); }
  .chairman-profile-grid { grid-template-columns: 1fr; }
  .chairman-portrait-lg { width: 200px; height: 200px; font-size: 4rem; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-strip-grid { grid-template-columns: 1fr; }
  .about-snippet-inner { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .chairman-quote-inner { flex-direction: column; text-align: center; }
  .svc-inner, .svc-inner.reverse { grid-template-columns: 1fr; direction: ltr; }
  .values-grid { grid-template-columns: 1fr; }
  .model-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .esg-pillar-inner { grid-template-columns: 1fr; }
  .esg-pillar-letter { display: none; }
  .esg-items { grid-template-columns: 1fr; }
  .promise-inner { flex-direction: column; text-align: center; }
}
