/* ==========================================================================
   Scale Consulting Group — Exact Design Implementation
   Clean Background, Transparent Logo & Enhanced Mobile Responsiveness
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Mockup Palette */
  --ink-black: #0b1727;
  --cyan-blue: #008fd3;
  --cobalt-pill: #004890;
  --pill-hover: #003a75;
  --border-slate: #cbd5e1;
  --bg-page: #f1f5f9;
  --card-bg: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--ink-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

/* Outer Presentation Stage */
.page-stage {
  width: 100%;
  max-width: 1260px;
  position: relative;
}

/* The Exact 16:9 Master Card with Official Graphic Background */
.scale-card {
  position: relative;
  width: 100%;
  min-height: 660px;
  background-color: #ffffff;
  background-image: url('./assets/hero-bg.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-radius: 20px;
  box-shadow: 
    0 24px 60px -15px rgba(15, 23, 42, 0.14),
    0 2px 8px rgba(15, 23, 42, 0.04),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  padding: 56px 68px 46px 68px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Corner Brackets are already seamlessly integrated into the high-res background */
.corner-bracket {
  display: none;
}

/* Card Content Area */
.card-content-wrap {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

/* Brand Logo (Enlarged prominent executive presence) */
.brand-header {
  margin-bottom: 28px;
}

.brand-logo-img {
  display: block;
  height: 98px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

/* Under Construction Pill Badge */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--cobalt-pill);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 72, 144, 0.24);
  margin-bottom: 30px;
  user-select: none;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffffff;
  flex-shrink: 0;
}

/* Main Strategic Heading */
.main-heading {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.7px;
  color: var(--ink-black);
  margin-bottom: 28px;
}

.main-heading .cyan-line {
  color: var(--cyan-blue);
  display: block;
  margin-top: 6px;
}

/* The Signature Bracketed Description Box */
.bracket-box {
  position: relative;
  max-width: 820px;
  padding: 14px 28px;
  margin-bottom: 30px;
}

/* Left Bracket `[` */
.bracket-box::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 16px;
  border-top: 2.5px solid var(--ink-black);
  border-bottom: 2.5px solid var(--ink-black);
  border-left: 2.5px solid var(--ink-black);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

/* Right Bracket `]` */
.bracket-box::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 16px;
  border-top: 2.5px solid var(--ink-black);
  border-bottom: 2.5px solid var(--ink-black);
  border-right: 2.5px solid var(--ink-black);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.bracket-text {
  font-size: clamp(15px, 1.4vw, 17.5px);
  font-weight: 500;
  line-height: 1.62;
  color: #1e293b;
}

/* ==========================================================================
   Bottom Contact Bar
   ========================================================================== */

.bottom-contact-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(20px, 3.5vw, 50px);
  padding-left: 28px; /* aligns next to the bottom-left bracket */
  margin-top: 34px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink-black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.contact-link:focus-visible {
  outline: 2px solid var(--cyan-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.circle-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: #ffffff;
  border: 1.5px solid var(--border-slate);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-black);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
}

.circle-icon svg {
  width: 19px;
  height: 19px;
}

.contact-text {
  font-size: clamp(14.5px, 1.3vw, 16.5px);
  font-weight: 700;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.contact-link address.contact-text {
  font-style: normal;
}

/* ==========================================================================
   Responsive & Mobile Breakpoints (100% Mobile Compatible)
   ========================================================================== */

@media (max-width: 860px) {
  .scale-card {
    min-height: auto;
    padding: 42px 34px 36px 34px;
    background-image: url('./assets/hero-bg-mobile.jpg');
    background-size: cover;
    background-position: center;
  }

  .corner-bracket {
    display: none;
  }

  .bottom-contact-bar {
    padding-left: 0;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 16px 12px;
    align-items: flex-start;
  }

  .page-stage {
    max-width: 100%;
  }

  .scale-card {
    padding: 34px 22px 28px 22px;
    border-radius: 20px;
    background-image: url('./assets/hero-bg-mobile.jpg');
    background-size: cover;
    background-position: center;
  }

  .brand-header {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
  }

  .brand-logo-img {
    height: 72px;
    max-width: 290px;
  }

  .status-pill {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 10px 22px;
    font-size: 12px;
    letter-spacing: 0.6px;
    margin: 0 auto 22px;
    width: fit-content;
    max-width: 100%;
  }

  .main-heading {
    font-size: 23px;
    text-align: center;
    line-height: 1.32;
    margin-bottom: 22px;
  }

  .bracket-box {
    padding: 12px 18px;
    margin: 0 auto 28px;
    text-align: center;
  }

  .bracket-box::before,
  .bracket-box::after {
    width: 12px;
  }

  .bracket-text {
    font-size: 14.5px;
    line-height: 1.58;
  }

  /* Stacked Mobile Contact Items with Full-Width Touch Area */
  .bottom-contact-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .contact-link {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    gap: 14px;
  }

  .contact-link:hover,
  .contact-link:active {
    background: #f1f5f9;
    border-color: rgba(0, 143, 211, 0.35);
  }

  .circle-icon {
    width: 36px;
    height: 36px;
  }

  .circle-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-text {
    white-space: normal;
    font-size: 14.5px;
    line-height: 1.45;
    word-break: break-word;
  }
}
