/* =============================================================================
   COMPONENTS — Buttons · Eyebrow · Section Head · Reveal · CTA · Work Cards
   Loaded globally on every page.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Eyebrow & Section Headings
   ----------------------------------------------------------------------------- */
.eyebrow-line  { width: 28px; height: 2px; background: var(--orange); flex-shrink: 0; }
.eyebrow-text  { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }
.section-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }

.section-title {
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--dark-text);
}
.section-title em {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.section-desc {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.75;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  margin-top: 18px;
  transition: gap 0.2s;
}
.section-link:hover { gap: 13px; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

/* -----------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------------- */
.btn-primary {
  background: var(--orange);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 5px;
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 6px 24px rgba(251, 91, 33, 0.22);
}

.btn-outline {
  background: transparent;
  color: var(--dark-text) !important;
  padding: 14px 28px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
  text-decoration: none !important;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--dark-text); }

.btn-lg {
  font-size: 15px !important;
  padding: 16px 32px !important;
  text-align: center;
}

/* -----------------------------------------------------------------------------
   Scroll-Reveal Animation
   ----------------------------------------------------------------------------- */
.reveal           { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible   { opacity: 1; transform: none; }
.reveal-d1        { transition-delay: 0.1s; }
.reveal-d2        { transition-delay: 0.2s; }
.reveal-d3        { transition-delay: 0.3s; }
.reveal-d4        { transition-delay: 0.4s; }

/* -----------------------------------------------------------------------------
   CTA Section (shared across Home & About)
   ----------------------------------------------------------------------------- */
.cta-section {
  padding: 96px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.cta-title {
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--dark-text);
  margin-bottom: 16px;
  margin-top: 16px;
}
.cta-title em {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.cta-desc {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.72;
  max-width: 480px;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  min-width: 220px;
}

.cta-phone { font-size: 13px; color: var(--mid); text-align: center; }
.cta-phone a { color: var(--dark-text); text-decoration: none; font-weight: 700; }

/* -----------------------------------------------------------------------------
   Work Cards (shared: homepage grid & our-work page)
   ----------------------------------------------------------------------------- */
.work-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  background: #fff;
  text-decoration: none !important;
  display: block;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* Image area colour variants */
.work-img { height: 196px; display: flex; align-items: center; justify-content: center; }
.wi-1 { background: #f0f0eb; }
.wi-2 { background: #eaf0f0; }
.wi-3 { background: #f0eaf0; }
.wi-4 { background: #f0eeea; }

/* Real photo variant */
.work-img.work-img-has-photo { background: var(--off-white); padding: 0; overflow: hidden; }
.work-img.work-img-has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.work-card:hover .work-img.work-img-has-photo img { transform: scale(1.03); }

/* Browser mockup inside card */
.browser-mock {
  width: 82%;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
  border: 1px solid rgba(0, 0, 0, 0.07);
}
.bm-bar {
  background: #f5f5f5;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.bm-dot               { width: 7px; height: 7px; border-radius: 50%; }
.bm-dot:nth-child(1)  { background: #fc695a; }
.bm-dot:nth-child(2)  { background: #fdbc40; }
.bm-dot:nth-child(3)  { background: #34ca49; }
.bm-url               { flex: 1; background: #ebebeb; border-radius: 3px; height: 14px; margin-left: 8px; }
.bm-body              { padding: 14px; }
.bm-hero-block        { height: 26px; background: rgba(251, 91, 33, 0.12); border-radius: 4px; margin-bottom: 8px; }
.bm-line              { height: 5px; background: #ebebeb; border-radius: 3px; margin-bottom: 6px; }
.bm-line.w80          { width: 80%; }
.bm-line.w60          { width: 60%; }
.bm-line.accent       { background: rgba(251, 91, 33, 0.3); width: 35%; }

/* Card info row */
.work-info  { padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; }
.work-tag   { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 5px; }
.work-title { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; color: var(--dark-text); }
.work-card-desc { font-size: 12px; color: var(--mid); margin-top: 5px; line-height: 1.55; }
.work-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--mid);
  flex-shrink: 0;
  transition: all 0.2s;
}
.work-card:hover .work-arrow { background: var(--orange); border-color: var(--orange); color: #fff; }
