/* ============================================================
   My Digital Cloud — theme layer on top of the Clarity template
   (css/master.css). Loaded after master.css so these :root
   values win. Only overrides colors + adds MDC-specific
   components (brand logo, partner grid, trust band) — the
   Clarity component CSS (nav, hero, cards, faq, contact, footer)
   is left untouched underneath.
   ============================================================ */

:root {
  /* MDC brand orange replaces Clarity's orange */
  --clr-accent-light: #f2790a;
  --clr-accent-dark: #c25f00;
  --clr-dark-text-main: #2b3238;
  --clr-dark-text-hero: #2b3238;

  --grad-primary-h: linear-gradient(to right, #f2790a, #c25f00);
  --grad-start-btn: linear-gradient(to right, #f2790a 0%, #c25f00 50%);
  --grad-hero-digital: linear-gradient(to right, var(--clr-dark-text-hero) 0%, #f2790a 30%, #c25f00 80%);
  --grad-hero-growth: linear-gradient(to right, #ff9d3d 0%, #f2790a 80%);

  /* MDC secondary cyan (from the real logo) for the second hero badge */
  --grad-hero-top-icon: linear-gradient(to bottom right, #1fafc4 0%, #0b8697 50%);
  --grad-hero-mobile: linear-gradient(to bottom right, #2b3238 0%, #4a5568 50%);

  /* service icon gradients, remapped to MDC's 3 real services */
  --grad-service-cloud: linear-gradient(to bottom right, #f2790a 0%, #c25f00 50%);
  --grad-service-managed: linear-gradient(to bottom right, #1fafc4 0%, #0b8697 50%);
  --grad-service-security: linear-gradient(to bottom right, #2b3238 0%, #4a5568 50%);

  --primary-faq-contact: #c25f00;
  --secondary-faq-contact: #f2790a;
  --hover-border-faq-contact: var(--clr-accent-light);
  --light-orange-bg-faq-contact: rgba(242, 121, 10, 0.1);
}

/* the hero's second floating badge used --grad-hero-top-icon twice in the
   template (via .code/.mobile classes) — repoint .mobile at the dark gradient */
.hero-section .hero-image .mobile {
  background: var(--grad-hero-mobile);
}

/* service icon badges for MDC's 3 real services (master.css only ships
   .icon.code/.mobile/.cloud/.brain/.chart/.palette — .cloud is reused
   as-is, these two are new) */
section.our-services .content .icon.managed {
  background: var(--grad-service-managed);
}

section.our-services .content .icon.security {
  background: var(--grad-service-security);
}

/* ---- nav brand: real logo image instead of the cube icon + wordmark ---- */
nav .brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

@media (max-width: 767px) {
  nav .brand-logo {
    height: 34px;
  }
}

/* ---- technology partners grid (real vendor logos, not icon tiles) ---- */
.partners-section {
  padding: 100px 40px;
}

.partners-section .group-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-gray-text-secondary);
  text-align: center;
  margin-bottom: 22px;
}

.partner-logo-chip {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 14px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: all 0.2s ease-in-out;
}

.partner-logo-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: var(--clr-accent-light);
}

.partner-logo-chip img {
  width: 100%;
  height: 32px;
  object-fit: contain;
}

@media (max-width: 450px) {
  .partners-section {
    padding: 50px 15px;
  }
}

/* ---- trust band (replaces the template's testimonial carousel —
   see README for why: no fabricated client quotes on a real business site) ---- */
.trust-band {
  background: var(--grad-primary-h);
  padding: 70px 0;
}

.trust-band .stat {
  text-align: center;
  color: #fff;
}

.trust-band .stat .num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
}

.trust-band .stat .label {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ---- footer (simple, MDC content — Clarity's footer CSS is heavier
   than needed here, so this is intentionally self-contained) ---- */
.mdc-footer {
  background: #1a1d21;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.mdc-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.mdc-footer .footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.mdc-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mdc-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.92rem;
  transition: color 0.2s ease-in-out;
}

.mdc-footer a:hover {
  color: var(--clr-accent-light);
}

.mdc-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 40px;
  text-align: center;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .mdc-footer .footer-inner {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
  }
}

/* ---- behind-the-scenes photo sections ---- */
.behind-scenes,
.on-site-section {
  padding: 90px 40px;
}

.behind-scenes-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  transition: transform 0.4s ease-in-out;
}

.behind-scenes-img:hover {
  transform: translateY(-6px);
}

.on-site-section {
  background: linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
}

.on-site-section .text-accent {
  background: var(--grad-primary-h);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.on-site-section .head {
  background-color: #fceee6;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-accent-light);
  padding: 8px 12px;
  border-radius: 16px;
  display: inline-block;
}

.on-site-section h2 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--clr-dark-text-main);
}

.on-site-section p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--clr-gray-text-main);
  max-width: 480px;
}

.btn-cta {
  background: var(--grad-primary-h);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.btn-cta:hover {
  color: #fff;
  box-shadow: 0 10px 25px rgba(242, 121, 10, 0.35);
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .behind-scenes,
  .on-site-section {
    padding: 50px 15px;
  }
}
