/* ─────────────────────────────────────────────────────────────
   dholera-sir.css — Dholera SIR page styles
   Fixes applied:
   - dsir-hero min-height: 30px → 300px (was a typo causing layout collapse)
   - All decorative comment dividers removed
───────────────────────────────────────────────────────────── */

/* Page base */
.dsir-main {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Section kicker label */
.section-kicker {
  display: inline-block;
  font-family: var(--font-accent, 'Cormorant Garamond', Georgia, serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold, #c8a45d);
  margin-bottom: 14px;
}

.section-kicker.light { color: var(--gold, #c8a45d); }

/* Section title */
.section-title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.section-title.light { color: #fff; }

.section-title em {
  font-style: italic;
  color: var(--gold, #c8a45d);
}

/* Gold divider rule */
.gold-divider {
  width: 48px;
  height: 1px;
  background: var(--gold, #c8a45d);
  margin-bottom: 26px;
}

/* Button base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold, #c8a45d);
  color: #000;
}

.btn-gold:hover { background: #b8943f; }

.btn-outline-white {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
}

/* Scroll reveal base states */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-delay="1"]       { transition-delay: 0.12s; }
[data-delay="2"]       { transition-delay: 0.22s; }
[data-delay="3"]       { transition-delay: 0.32s; }

/* Hero */
.dsir-hero {
  position: relative;
  height: 60vh;
  min-height: 300px; /* Fixed: was 30px — typo that collapsed hero on short viewports */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.dsir-hero__bg {
  position: absolute;
  inset: 0;
}

.dsir-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.72);
}

.dsir-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.48) 50%,
    rgba(0,0,0,0.18) 100%
  );
}

.dsir-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

.dsir-kicker {
  display: inline-block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(212,175,100,0.95);
  border: 1px solid rgba(212,175,100,0.45);
  border-radius: 999px;
  padding: 7px 18px;
  margin-top: 100px;
  margin-bottom: 20px;
}

.dsir-hero__title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
}

.dsir-hero__title em {
  font-style: italic;
  color: var(--gold, #c8a45d);
}

.dsir-hero__sub {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

/* Buttons always side by side — flex-wrap: nowrap prevents unwanted stacking above 400px */
.dsir-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  align-items: center;
}

/* Scroll indicator */
.dsir-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.dsir-hero__scroll span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold, #c8a45d));
  margin: auto;
  animation: dsirScrollLine 1.8s ease-in-out infinite;
}

@keyframes dsirScrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* D-H-O-L-E-R-A image banner */
.dsir-section0 {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background: #000;
  display: block;
}

.dsir-section0 img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center center;
}

/* Shared section wrapper */
.dsir-section {
  padding: 110px 0;
  background: #000;
}

.dsir-section-header {
  max-width: 640px;
  margin-bottom: 60px;
}

.dsir-section-desc {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
}

/* Two-column split layout */
.dsir-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* RTL direction trick reverses column order without changing DOM */
.dsir-split--reverse { direction: rtl; }
.dsir-split--reverse > * { direction: ltr; }

.dsir-split__text p {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.95;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.dsir-lead {
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body, 'Jost', sans-serif);
  font-weight: 300;
  margin-bottom: 26px;
}

/* Image column — position: relative anchors the ABCD badge */
.dsir-split__image {
  position: relative;
  width: 100%;
}

.dsir-img-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

/* Decorative offset border behind image */
.dsir-img-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -10px;
  bottom: -10px;
  left: 10px;
  border: 1px solid rgba(200,164,93,0.25);
  border-radius: 12px;
  z-index: -1;
  pointer-events: none;
}

.dsir-img-frame--accent-left::after {
  right: 10px;
  left: -10px;
}

.dsir-img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 12px;
  filter: brightness(0.92);
  transition: all 0.5s ease;
}

.dsir-img:hover {
  transform: scale(1.02);
  filter: brightness(1);
}

/* Project highlights checklist */
.dsir-highlights { background: #000; }

.dsir-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 4px;
}

.dsir-checklist li {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.dsir-checklist li i {
  color: var(--gold, #c8a45d);
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(200,164,93,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Major projects section */
.dsir-projects {
  background: #070707;
  position: relative;
  overflow: hidden;
}

.dsir-projects__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,164,93,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,164,93,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* Project cards grid */
.dsir-cards-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.dsir-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,164,93,0.13);
  border-radius: 4px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.35s, background 0.35s, transform 0.35s;
}

.dsir-card:hover {
  border-color: rgba(200,164,93,0.42);
  background: rgba(200,164,93,0.05);
  transform: translateY(-5px);
}

.dsir-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(200,164,93,0.1);
  border: 1px solid rgba(200,164,93,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.3s;
}

.dsir-card:hover .dsir-card__icon { background: rgba(200,164,93,0.18); }

.dsir-card__icon i {
  color: var(--gold, #c8a45d);
  font-size: 20px;
}

.dsir-card__title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.3;
}

.dsir-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.dsir-card__list li {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.dsir-card__list li i {
  color: var(--gold, #c8a45d);
  font-size: 9px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Card CTA button */
.dsir-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold, #c8a45d);
  border: 1px solid rgba(200,164,93,0.3);
  border-radius: 3px;
  padding: 10px 20px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  align-self: flex-start;
  margin-top: auto;
}

.dsir-card__btn i {
  font-size: 10px;
  transition: transform 0.3s;
}

.dsir-card__btn:hover {
  background: var(--gold, #c8a45d);
  border-color: var(--gold, #c8a45d);
  color: #000;
}

.dsir-card__btn:hover i { transform: translateX(3px); }

/* ABCD section */
.dsir-abcd { background: #000; }

.dsir-abcd__row { margin-bottom: 0; }

.dsir-sub-heading {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* ABCD feature tags */
.dsir-abcd-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.dsir-abcd-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  background: rgba(200,164,93,0.08);
  border: 1px solid rgba(200,164,93,0.22);
  border-radius: 999px;
  padding: 7px 16px;
}

.dsir-abcd-tag i {
  color: var(--gold, #c8a45d);
  font-size: 11px;
}

/* ABCD badge — absolute over image on desktop */
.dsir-abcd-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold, #c8a45d);
  color: #000;
  border-radius: 4px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  z-index: 2;
  text-align: center;
}

.dsir-abcd-badge i {
  font-size: 22px;
  color: #000;
}

.dsir-abcd-badge span {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.72);
  line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────
   New: Internal link CTA (inside highlights section)
───────────────────────────────────────────────────────── */

.dsir-cta-projects {
  margin-top: 30px;
  padding: 20px 24px;
  background: rgba(200,164,93,0.06);
  border: 1px solid rgba(200,164,93,0.22);
  border-radius: 6px;
}

.dsir-cta-projects p {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  margin: 0;
}

.dsir-cta-projects a {
  color: var(--gold, #c8a45d);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(200,164,93,0.4);
  transition: border-color 0.3s, color 0.3s;
}

.dsir-cta-projects a:hover {
  color: #fff;
  border-color: #fff;
}

/* ─────────────────────────────────────────────────────────
   New: Final conversion CTA (bottom of page)
───────────────────────────────────────────────────────── */

.dsir-final-cta {
  background: #070707;
  text-align: center;
  padding: 100px 0;
  position: relative;
}

.dsir-final-cta .section-title {
  margin-bottom: 18px;
}

.dsir-final-cta p {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 34px;
  line-height: 1.8;
}

/* ─────────────────────────────────────────────────────────
   Responsive breakpoints
───────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
  .dsir-section          { padding: 90px 0; }
  .dsir-split            { gap: 60px; }
  .dsir-img              { height: 520px; }
  .dsir-section0 img     { height: 380px; }
  .dsir-section-header   { margin-bottom: 48px; }
}

@media (max-width: 1100px) {
  /* Cards: 3-col → 2-col */
  .dsir-cards-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 1024px) {
  /* Split: collapse to single column, reset RTL direction */
  .dsir-split,
  .dsir-split--reverse   { grid-template-columns: 1fr; gap: 44px; direction: ltr; }
  .dsir-split--reverse > * { direction: ltr; }

  .dsir-img              { height: 380px; }

  /* Decorative border offsets reduced to prevent overflow at narrower widths */
  .dsir-img-frame::after { top: 8px; right: -8px; bottom: -8px; left: 8px; }
  .dsir-img-frame--accent-left::after { right: 8px; left: -8px; }

  .dsir-section          { padding: 78px 0; }
  .dsir-section-header   { margin-bottom: 44px; }

  /* Badge tucked inside frame — negative offsets would overflow at collapsed width */
  .dsir-abcd-badge       { position: absolute; bottom: 16px; left: 16px; }

  .dsir-section0 img     { height: 320px; }
}

@media (max-width: 900px) {
  /* Cards: 2-col → 1-col — 2-col is cramped at this width */
  .dsir-cards-grid       { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }

  .dsir-img              { height: 320px; }

  /* Decorative border disabled — eliminates overflow risk entirely */
  .dsir-img-frame::after,
  .dsir-img-frame--accent-left::after { display: none; }

  .dsir-section          { padding: 68px 0; }

  /* Badge goes static flow to prevent any absolute overflow */
  .dsir-abcd-badge {
    position: static;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 14px 20px;
    border-radius: 6px;
    text-align: left;
    width: auto;
  }

  .dsir-abcd-badge i    { font-size: 20px; flex-shrink: 0; }
  .dsir-abcd-badge span { font-size: 12px; line-height: 1.5; }
}

@media (max-width: 768px) {
  /* Hero: auto height prevents content clipping — min-height enforces minimum */
  .dsir-hero             { height: auto; min-height: 450px; }
  .dsir-hero__content    { padding-bottom: 56px; }

  /* Kicker margin-top reduced to clear fixed header without excessive gap */
  .dsir-kicker           { margin-top: 56px; font-size: 0.76rem; padding: 6px 14px; margin-bottom: 16px; }

  /* Title clamp corrected: floor stays below desktop output at this width */
  .dsir-hero__title      { font-size: clamp(1.55rem, 5.5vw, 2.4rem); margin-bottom: 18px; }

  /* Sub max-width overridden to prevent text touching screen edges */
  .dsir-hero__sub        { max-width: 100%; font-size: 0.92rem; margin-bottom: 26px; }

  /* Scroll hint hidden — overlaps content on short viewports */
  .dsir-hero__scroll     { display: none; }

  .dsir-section          { padding: 60px 0; }
  .dsir-section-header   { margin-bottom: 36px; max-width: 100%; }
  .dsir-section-desc     { font-size: 14px; }

  .dsir-section0 img     { height: 260px; }

  .dsir-cards-grid       { grid-template-columns: 1fr; max-width: 100%; }
  .dsir-card             { padding: 28px 22px 22px; }
  .dsir-img              { height: 280px; }

  .dsir-split__text p    { font-size: 14px; }
  .dsir-lead             { font-size: 14px; }

  .dsir-abcd-highlights  { gap: 8px; }
  .dsir-abcd-tag         { font-size: 11.5px; padding: 6px 13px; }

  .section-title         { font-size: clamp(1.5rem, 5vw, 2.2rem); }
}

@media (max-width: 576px) {
  .dsir-hero             { min-height: 380px; }
  .dsir-hero__content    { padding-bottom: 48px; }
  .dsir-kicker           { margin-top: 44px; font-size: 0.72rem; padding: 5px 12px; letter-spacing: 0.16em; margin-bottom: 12px; }
  .dsir-hero__title      { font-size: clamp(1.45rem, 7vw, 2rem); }
  .dsir-hero__sub        { font-size: 0.88rem; line-height: 1.75; margin-bottom: 22px; }

  /* Buttons side by side with flex:1 — only stack at 400px where space is truly exhausted */
  .dsir-hero__actions    { flex-wrap: nowrap; gap: 10px; }
  .dsir-hero__actions .btn { flex: 1 1 0; min-width: 0; padding: 12px 14px; font-size: 11px; letter-spacing: 0.09em; justify-content: center; white-space: nowrap; }

  .dsir-section          { padding: 50px 0; }
  .dsir-section-header   { margin-bottom: 28px; }
  .dsir-section0 img     { height: 210px; }
  .dsir-img              { height: 230px; }

  .dsir-card             { padding: 24px 18px 18px; }
  .dsir-card__icon       { width: 44px; height: 44px; margin-bottom: 16px; }
  .dsir-card__icon i     { font-size: 17px; }
  .dsir-card__title      { font-size: 1rem; margin-bottom: 14px; }
  .dsir-card__list li    { font-size: 12.5px; }

  .dsir-split__text p    { font-size: 13.5px; }
  .dsir-lead             { font-size: 13.5px; }

  .dsir-abcd-badge       { padding: 12px 16px; gap: 12px; }
  .dsir-abcd-badge i     { font-size: 18px; }
  .dsir-abcd-badge span  { font-size: 11.5px; }

  .dsir-checklist li     { font-size: 13.5px; }

  .section-title         { font-size: clamp(1.35rem, 6.5vw, 1.9rem); }
  .dsir-sub-heading      { font-size: clamp(1.2rem, 5.5vw, 1.6rem); }
  .dsir-section-desc     { font-size: 13.5px; }
}

@media (max-width: 400px) {
  .dsir-hero             { min-height: 450px; }
  .dsir-kicker           { margin-top: 36px; font-size: 0.66rem; padding: 5px 10px; }
  .dsir-hero__title      { font-size: clamp(1.3rem, 8.5vw, 1.7rem); }
  .dsir-hero__sub        { font-size: 0.83rem; }

  /* Stack buttons only at 400px — truly too narrow for side-by-side at any reasonable padding */
  .dsir-hero__actions    { flex-direction: column; flex-wrap: wrap; gap: 10px; }
  .dsir-hero__actions .btn { flex: none; width: 100%; padding: 13px 20px; font-size: 11px; }

  .dsir-section          { padding: 42px 0; }
  .dsir-section-header   { margin-bottom: 24px; }
  .dsir-section0 img     { height: 110px; }
  .dsir-img              { height: 195px; }

  .dsir-card             { padding: 20px 16px 16px; }
  .dsir-card__title      { font-size: 0.95rem; margin-bottom: 12px; }
  .dsir-card__list li    { font-size: 12px; }

  /* Badge full width on tiny screens */
  .dsir-abcd-badge       { width: 100%; justify-content: center; text-align: center; padding: 12px 14px; gap: 10px; }
  .dsir-abcd-tag         { font-size: 11px; padding: 5px 11px; }
  .dsir-checklist li     { font-size: 13px; }

  .section-title         { font-size: 1.25rem; }
  .dsir-sub-heading      { font-size: 1.1rem; }
  .section-kicker        { font-size: 11px; letter-spacing: 0.18em; }
  .gold-divider          { margin-bottom: 18px; }
}