/* Data Centre — tight, technical layout, Azoogi-native */

.dc-main {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}


.dc-num {
  display: block;
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* —— Hero —— */
.dc-hero {
  position: relative;
  min-height: var(--hero-max);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
  width: 100%;
}

.dc-hero-media {
  position: absolute;
  inset: 0;
}

.dc-hero-media img,
.dc-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dc-hero-video {
  filter: contrast(1.35) brightness(0.62) saturate(1.08);
}

.dc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .48) 46%, rgba(0, 0, 0, .32) 100%),
    rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

@keyframes slowZoom {
  0% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1.1);
  }
}

.dc-hero-media img {
  animation: slowZoom 20s ease-out forwards;
}

.dc-hero-copy {
  position: relative;
  z-index: 1;
  padding: var(--hero-pad-y-top) var(--hero-pad-x) var(--hero-pad-y-bottom);
  max-width: none;
  margin: 0 auto;
  width: 100%;
}

.dc-hero-copy>* {
  max-width: var(--site-max, 1400px);
}

.dc-hero-copy .kicker {
  color: #8cc63f;
  margin-bottom: 10px;
  font-size: var(--fs-kicker);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dc-hero-copy h1 {
  margin: 0 0 16px;
  max-width: 22ch;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: #fff;
}

.dc-hero-copy h1 span {
  font-family: var(--font-outline);
}

.dc-hero-copy p {
  margin: 0;
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .dc-hero-video {
    display: none;
  }
}

/* —— Bands —— */
.dc-band {
  padding: var(--fs-h2-section) 0;
}

/* .dc-band--tight {
  padding-top: 16px;
} */

.dc-band--alt {
  background: var(--card-bg);
}

.dc-band--feature {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: calc(var(--section-y) + 16px) 0;
}

/* —— Intro split —— */
.dc-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  justify-items: end;
}

.dc-intro p {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink);
}

.dc-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.dc-actions .btn {
  width: max-content;
  max-width: 100%;
  text-align: center;
}

.dc-intro .dc-actions {
  align-items: stretch;
  width: max-content;
  max-width: 100%;
}

.dc-intro .dc-actions .btn {
  width: 100%;
  box-sizing: border-box;
}

/* —— Why heading, then four cards —— */
.dc-section-head {
  margin-bottom: clamp(22px, 3vw, 32px);
}

.dc-section-head h2 {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-h2-section);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.dc-section-head h2 span {
  color: var(--accent);
}

.dc-section-head p {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--muted);
}

.dc-caps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dc-caps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dc-caps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.dc-caps li:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.dc-caps li:hover::before {
  transform: scaleX(1);
}

.dc-caps .dc-num {
  margin: 0;
}

.dc-caps h3 {
  margin: 0;
  font-size: var(--fs-card-title-sm);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.dc-caps p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--muted);
}

/* —— Feature with image —— */
.dc-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.dc-feature-copy,
.dc-feature-img {
  min-width: 0;
  max-width: 100%;
}

.dc-feature-img {
  display: flex;
  align-items: center;
  align-self: center;
  position: relative;
  z-index: 0;
}

.dc-feature--flip .dc-feature-copy {
  order: 2;
}

.dc-feature--flip .dc-feature-img {
  order: 1;
}

.dc-feature-copy .kicker {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  font-size: var(--fs-kicker);
  letter-spacing: 0.1em;
}

.dc-feature-copy h2 {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-h2-section);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.dc-feature-copy h2 span {
  color: var(--accent);
  display: block;
}

.dc-feature-img figure {
  margin: 0;
  width: 100%;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
}

.dc-feature-img img {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.dc-feature-img:hover img {
  transform: scale(1.05);
}

.dc-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.dc-ticks li {
  position: relative;
  padding: 16px 20px 16px 48px;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--muted);
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.dc-band--alt .dc-ticks li {
  background: var(--bg-2);
}

.dc-ticks li:hover {
  background: var(--bg-2);
  border-color: var(--line);
}

.dc-ticks li strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  font-size: var(--fs-body);
}

.dc-ticks li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 21px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(58, 160, 40, 0.15);
  border: 2px solid var(--accent);
}

/* —— CTA —— */
.dc-cta {
  padding: var(--section-y) 0 calc(var(--section-y) + 16px);
  background: var(--bg);
  text-align: center;
}

.dc-cta-copy h2 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: var(--fs-h2-section);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink);
}

.dc-cta-copy h2 span {
  color: var(--accent);
}

.dc-cta-copy p {
  margin: 0 auto 24px;
  max-width: 600px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--muted);
}

.dc-cta-copy .dc-actions {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

@media (min-width: 1500px) {
  .dc-hero-video {
    object-position: top center;
  }
}

@media (max-width: 1024px) {

  .dc-intro,
  .dc-feature {
    grid-template-columns: 1fr;
  }

  .dc-caps {
    grid-template-columns: 1fr 1fr;
  }

  .dc-intro {
    justify-items: start;
  }

  .dc-feature--flip .dc-feature-copy {
    order: 1;
  }

  .dc-feature--flip .dc-feature-img {
    order: 2;
  }

  .dc-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .dc-intro .dc-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .dc-caps {
    grid-template-columns: 1fr;
  }

  .dc-hero-copy h1 {
    max-width: none;
    font-size: var(--fs-h2);
  }

  .dc-actions {
    flex-direction: column;
    align-items: center;
  }

  .dc-intro .dc-actions {
    align-items: stretch;
  }
}