/* ============================================
   COMPONENTS — Shared UI elements
   Header, footer, buttons, cards, eyebrow,
   logo bar, industry tags, linkedin button,
   testimonial card, portfolio card, value props.
   ============================================ */

/* --------------------------------------------
   HEADER / NAV
   -------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(13, 15, 34, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 24px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.btn) {
  font-size: var(--fs-btn);
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: white;
}

.nav-links a:not(.btn).active {
  color: white;
  position: relative;
}

.nav-links a:not(.btn).active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-coral);
  border-radius: 1px;
}

.nav-links .btn {
  margin-left: 12px;
}

/* Nav dropdown (The Work hover menu) */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 18px;
  z-index: 1001;
}

.nav-dropdown-wrap:hover .nav-dropdown {
  display: block;
}

.nav-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  background: rgba(13, 15, 34, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--card-radius-sm);
  min-width: 280px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.nav-dropdown__list li a {
  display: block;
  padding: 8px 20px;
  font-size: var(--fs-body-sm);
  font-weight: 400;
  color: var(--color-text-light);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-dropdown__list li a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown__all {
  font-weight: 600;
  color: var(--color-coral);
}

.nav-dropdown__list li a.nav-dropdown__all {
  color: var(--color-coral);
}

.nav-dropdown__list li a.nav-dropdown__all:hover {
  color: white;
}

.nav-dropdown__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 8px 20px;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* --------------------------------------------
   FOOTER
   -------------------------------------------- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 40px;
  background: var(--color-super-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 280px;
}

.footer-contact-item {
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.footer-contact-item a {
  color: var(--color-peppermint);
}

.footer-contact-item a:hover {
  text-decoration: underline;
}

.footer-col h4 {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-coral);
  margin-bottom: 20px;
}

.footer-col h4 a {
  color: inherit;
  transition: color 0.2s;
}

.footer-col h4 a:hover {
  color: white;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  color: var(--color-text-muted);
}

.footer-bottom a {
  color: var(--color-text-muted);
}

.footer-bottom a:hover {
  color: white;
}

/* --------------------------------------------
   HEADER — responsive
   -------------------------------------------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* --------------------------------------------
   FOOTER — responsive
   -------------------------------------------- */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-col ul {
    display: none;
  }

  .footer-col h4 {
    margin-bottom: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --------------------------------------------
   BUTTONS
   Two sizes: standard (section CTAs) and small (nav only).
   Two styles: primary (coral) and secondary (outline).
   -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: var(--fs-btn);
  padding: var(--btn-padding);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  border: 2px solid transparent;
}

.btn-sm {
  font-size: var(--fs-btn-sm);
  padding: var(--btn-padding-sm);
}

/* Primary — coral, used for all main CTAs */
.btn-coral {
  background-color: var(--color-coral);
  color: white;
  border-color: var(--color-coral);
}

.btn-coral:hover {
  background-color: var(--color-coral-hover);
  border-color: var(--color-coral-hover);
  transform: translateY(-1px);
}

/* Secondary — outline on dark backgrounds */
.btn-outline {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Secondary — outline on light backgrounds */
.btn-outline-dark {
  background-color: transparent;
  color: var(--color-text-dark);
  border-color: var(--color-text-dark);
}

.btn-outline-dark:hover {
  background-color: var(--color-text-dark);
  color: white;
}

/* --------------------------------------------
   CARD DARK — shared dark card surface
   background + border in one class.
   -------------------------------------------- */
.card-dark {
  background: var(--color-bg-card-dark);
  border: 1px solid var(--color-border-dark);
}

.card-dark p {
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.card-dark h3 {
  margin-bottom: 12px;
}

/* --------------------------------------------
   CARD RADIUS — proportional to card size
   Large (image+body):  16px  → company-card, portfolio-card
   Standard (text-only): 12px → service, number, testimonial
   Compact:              8px  → value props
   -------------------------------------------- */
.service-card,
.number-card,
.testimonial-card {
  border-radius: var(--card-radius);
}

.company-card,
.portfolio-card,
.portfolio-card-image {
  border-radius: var(--card-radius-lg);
}

.value-prop {
  border-radius: var(--card-radius-sm);
}

/* --------------------------------------------
   CARD PADDING — normalise to --card-padding
   -------------------------------------------- */
.service-card,
.number-card,
.testimonial-card {
  padding: var(--card-padding);
}

.value-prop {
  padding: var(--card-padding-sm);
}

/* --------------------------------------------
   CARD TITLES — font-size, weight, colour
   -------------------------------------------- */
.service-card h3,
.number-card h3,
.company-card__body h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
}

.service-card h3 {
  color: var(--color-peppermint);
}

.number-card h3 {
  color: var(--color-coral);
}

.company-card__body h3 {
  color: var(--color-text-white);
}

.value-prop h4 {
  color: var(--color-peppermint);
}

/* --------------------------------------------
   CARD BODY TEXT — font-size + line-height
   -------------------------------------------- */
.service-card p,
.number-card p,
.company-card__body p,
.testimonial-card p {
  font-size: var(--fs-body-sm);
}

.service-card p,
.number-card p,
.company-card__body p,
.value-prop p {
  line-height: 1.6;
}

.testimonial-card p {
  line-height: 1.7;
}

/* --------------------------------------------
   NUMBER CARD — numbered card with large digit,
   title, and body text. Used for principles etc.
   -------------------------------------------- */
.number-card {
  text-align: left;
  transition: transform 0.3s var(--ease-smooth);
}

.number-card:hover {
  transform: translateY(-4px);
}

.number-card__number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-peppermint);
  margin-bottom: 16px;
  line-height: 1;
}

/* --------------------------------------------
   CAPTION TEXT — normalise to --fs-caption
   -------------------------------------------- */
.eyebrow,
.logo-bar-label,
.value-prop h4,
.value-prop p,
.industry-tag,
.testimonial-author-info span,
.footer-brand p,
.footer-contact-item,
.footer-col ul li a,
.footer-col h4,
.footer-bottom p,
.footer-bottom a {
  font-size: var(--fs-caption);
}

/* --------------------------------------------
   LOGO BAR (Trusted By)
   -------------------------------------------- */
.logo-bar {
  background-color: var(--color-coral);
  padding: 36px 0;
  text-align: center;
}

.logo-bar-label {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.logo-bar-logos {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-bar-logos img {
  height: 28px;
  width: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}

.logo-bar-logos img:hover {
  opacity: 1;
}

.client-logo {
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --------------------------------------------
   ICON CIRCLE — shared icon container
   Flexbox-centred circle at standard sizes.
   -------------------------------------------- */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.icon-circle--lg  { width: 56px; height: 56px; }
.icon-circle--md  { width: 48px; height: 48px; }
.icon-circle--sm  { width: 44px; height: 44px; }
.icon-circle--xs  { width: 36px; height: 36px; }

/* --------------------------------------------
   EYEBROW — small uppercase label above headings
   -------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-peppermint);
  margin-bottom: 16px;
}

/* --------------------------------------------
   COMPANY CARD — image + logo + title + text + CTA
   Used for product/brand showcase (Cosmic, Yippy).
   -------------------------------------------- */
.company-card {
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.company-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(74, 241, 162, 0.08), rgba(246, 106, 104, 0.08));
}

.company-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-card__body {
  padding: var(--card-padding);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.company-card__body > .btn {
  margin-top: auto;
  align-self: flex-start;
}

.company-card__body .company-card__logo {
  height: 50px;
  width: auto;
  margin-bottom: 12px;
  align-self: flex-start;
}

/* --------------------------------------------
   TESTIMONIAL CARD — quote with author row
   -------------------------------------------- */
.testimonial-card {
  text-align: left;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--color-coral);
  opacity: 0.2;
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.testimonial-card p {
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-coral), var(--color-peppermint));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
}

.testimonial-author-info h4 {
  font-weight: 600;
  color: var(--color-text-white);
}

.testimonial-author-info span {
  color: var(--color-peppermint);
  font-weight: 500;
}

.testimonial-card--logo {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  text-align: left;
}

.testimonial-card--logo p {
  color: var(--color-text-light);
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-card--logo .testimonial-author {
  align-items: center;
  flex-direction: row-reverse;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
}

.testimonial-card--logo .testimonial-author-info h4 {
  font-weight: 600;
  color: var(--color-text-white);
}

.testimonial-card--logo .testimonial-author-info span {
  color: var(--color-peppermint);
  font-weight: 500;
  font-size: var(--fs-caption);
}

.testimonial-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 120px;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* --------------------------------------------
   INDUSTRY TAG — pill-shaped tag with hover
   -------------------------------------------- */
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.industry-tag {
  display: inline-block;
  padding: 8px 20px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 25px;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.industry-tag::after {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
}

.industry-tag:hover {
  border-color: var(--color-peppermint);
  color: var(--color-peppermint);
}

.industry-tag.active {
  background: var(--color-peppermint);
  border-color: var(--color-peppermint);
  color: var(--color-dark-blue);
  font-weight: 600;
}

/* --------------------------------------------
   SOCIAL BUTTONS — light outline style
   Wrapper + individual button. For light backgrounds.
   -------------------------------------------- */
.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-dark);
  background: white;
  transition: all 0.2s;
}

.social-btn:hover {
  border-color: var(--color-text-dark);
  background: var(--color-text-dark);
  color: white;
}

.social-btn svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------
   LINKEDIN BUTTON — dark button with brand icon
   -------------------------------------------- */
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-text-dark);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.linkedin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.linkedin-icon {
  width: 32px;
  height: 32px;
  background: #0077b5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.linkedin-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}


/* --------------------------------------------
   PORTFOLIO SECTION
   -------------------------------------------- */
.portfolio {
  padding:35px;
}

/* --------------------------------------------
   PORTFOLIO HEADER — shared heading row
   -------------------------------------------- */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.portfolio-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portfolio-header h2 {
  font-weight: 500;
}

.portfolio-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.portfolio-header-right p {
  font-size: var(--fs-btn);
  color: var(--color-text-muted);
}

.portfolio-icon svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
}

@media (max-width: 1024px) {
  .portfolio .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* --------------------------------------------
   PORTFOLIO CARD — image + overlay + body +
   tags + footer metric + CTA.
   -------------------------------------------- */
.portfolio-card {
  overflow: hidden;
  transition: transform 0.3s var(--ease-smooth);
  background: var(--color-bg-card-dark);
  border: 1px solid var(--color-border-dark);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portfolio-card-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-smooth);
}

.portfolio-card:hover .portfolio-card-image img {
  transform: scale(1.04);
}

.portfolio-card-image .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13, 15, 34, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.portfolio-card:hover .card-overlay {
  opacity: 1;
}

.portfolio-card-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-coral);
  color: white;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s;
}

.portfolio-card-body {
  padding: 24px;
}

.portfolio-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.portfolio-card-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.portfolio-card-body p {
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.portfolio-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-dark);
}

.portfolio-card-footer__icons {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.portfolio-card-footer__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-card-footer__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.portfolio-card-footer__row {
  display: flex;
  gap: 4px;
}

/* Agent icon — periodic-table style */
.agent-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 4px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0;
}

.agent-icon b {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.agent-icon span {
  font-size: 0.5rem;
  line-height: 1;
}

/* AI sparkle star — top-right corner */
.agent-icon::after {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.6);
  clip-path: polygon(
    50% 0%, 62% 38%, 100% 50%, 62% 62%,
    50% 100%, 38% 62%, 0% 50%, 38% 38%
  );
}

/* Discipline icon — outline circle with SVG */
.discipline-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discipline-icon svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255, 255, 255, 0.7);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icon tooltip — shared for agent + discipline icons */
.agent-icon::before,
.discipline-icon::after {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.agent-icon::before {
  content: attr(data-label);
}

.discipline-icon::after {
  content: attr(data-label);
}

.agent-icon:hover::before,
.discipline-icon:hover::after {
  opacity: 1;
}

.portfolio-card-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-coral);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  white-space: nowrap;
}

.portfolio-card:hover .portfolio-card-cta {
  gap: 10px;
}

.portfolio-card-cta svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------
   PORTFOLIO TAG — small category pill
   -------------------------------------------- */
.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-text-light);
}

/* --------------------------------------------
   ACCENT CARD — card with coloured top accent bar.
   Combine with .card-dark for dark surface.
   Use .card-accent inside for the 3px top bar,
   with colour modifiers: .accent-coral,
   .accent-peppermint, .accent-both.
   -------------------------------------------- */
.accent-card {
  border-radius: var(--card-radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-smooth);
}

.accent-card:hover {
  transform: translateY(-4px);
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.accent-coral {
  background: var(--color-coral);
}

.accent-peppermint {
  background: var(--color-peppermint);
}

.accent-both {
  background: linear-gradient(90deg, var(--color-coral), var(--color-peppermint));
}

.accent-card .icon-square {
  margin-bottom: 20px;
}

.accent-card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.accent-card p {
  font-size: var(--fs-btn);
  color: var(--color-text-light);
  line-height: 1.65;
}

/* --------------------------------------------
   ICON SQUARE — rounded-square icon container.
   Counterpart to .icon-circle. Set background
   inline or via .icon-coral / .icon-peppermint.
   -------------------------------------------- */
.icon-square {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.icon-square--lg  { width: 52px; height: 52px; }
.icon-square--md  { width: 48px; height: 48px; }
.icon-square--sm  { width: 44px; height: 44px; }

.icon-square svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke-width: 2;
}

.icon-coral {
  background: rgba(246, 106, 104, 0.12);
}

.icon-peppermint {
  background: rgba(74, 241, 162, 0.10);
}

.icon-coral svg {
  stroke: var(--color-coral);
}

.icon-peppermint svg {
  stroke: var(--color-peppermint);
}

/* --------------------------------------------
   QUOTE STRIP — centred blockquote band.
   Pair with a section background class
   (e.g. section-coral) for colour.
   -------------------------------------------- */
.quote-strip {
  padding: 48px 0;
  text-align: center;
}

.quote-strip blockquote {
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  color: white;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
}

.quote-strip cite {
  display: block;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  font-style: normal;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (max-width: 768px) {
  .quote-strip blockquote {
    font-size: 1.2rem;
  }
}

/* --------------------------------------------
   TEAM CARD — photo + name + role + bio + link.
   Sits on .card-dark surface. Used for team/about pages.
   -------------------------------------------- */
.team-card {
  overflow: hidden;
  transition: transform 0.3s var(--ease-smooth);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-card-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s var(--ease-smooth);
}

.team-card:hover .team-card-image img {
  transform: scale(1.04);
}

.team-card-body {
  padding: 28px 24px;
}

.team-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-coral);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  display: block;
}

.team-card-body p {
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-peppermint);
  transition: gap 0.2s;
}

.team-linkedin:hover {
  gap: 10px;
}

.team-linkedin svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------
   WHY CARD — horizontal icon + text card on
   light backgrounds. Icon-left, text-right layout.
   -------------------------------------------- */
.why-card {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--card-radius-lg);
  padding: 36px 32px;
  text-align: left;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.3s;
}

.why-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-coral);
  fill: none;
  stroke-width: 2;
}

.why-card-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.why-card-text p {
  font-size: var(--fs-btn);
  color: #666;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .why-card-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------
   STATS STRIP — horizontal row of number+label
   pairs on a coloured section background.
   Background set via section class (e.g. section-coral).
   Optional .stat-divider between items.
   -------------------------------------------- */
.stats-strip {
  padding: 36px 0;
}

.stats-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 180px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .stats-strip .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 48px;
  }

  .stat-item {
    min-width: 0;
    flex: 0 0 calc(50% - 48px);
  }

  .stat-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .stat-item {
    flex: 0 0 100%;
  }
}

/* --------------------------------------------
   IMAGE PLACEHOLDER — dashed-border box used
   during development in place of real images.
   Variants: -dark, -light.
   -------------------------------------------- */
.img-placeholder {
  background: linear-gradient(135deg, #1b1d34 0%, #252848 100%);
  border: 2px dashed rgba(74, 241, 162, 0.25);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  text-align: center;
  padding: 24px;
  gap: 10px;
}

.img-placeholder-dark {
  background: linear-gradient(135deg, #0d0f22 0%, #1b1d34 100%);
  border: 2px dashed rgba(74, 241, 162, 0.2);
}

.img-placeholder-light {
  background: linear-gradient(135deg, #e8eaf0 0%, #f7f7f9 100%);
  border: 2px dashed rgba(27, 29, 52, 0.15);
  color: rgba(27, 29, 52, 0.3);
}

.img-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.4;
}

.img-placeholder span {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}

/* --------------------------------------------
   TESTIMONIALS — shared heading margin
   -------------------------------------------- */
.testimonials {
  scroll-margin-top: 80px;
}

.testimonials h2 {
  margin-bottom: 50px;
}

/* --------------------------------------------
   VALUE PROPS — compact card grid
   -------------------------------------------- */
.value-props {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.value-prop {
  text-align: center;
}

.value-prop-icon {
  margin: 0 auto 12px;
}

.value-prop-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.value-prop h4 {
  font-weight: 700;
  margin-bottom: 6px;
}

@media (max-width: 1024px) {
  .value-props {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .value-props {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .value-props {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------
   PRIVACY MODAL
   -------------------------------------------- */
.privacy-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.privacy-overlay.is-open {
  display: flex;
}

.privacy-modal {
  background: var(--color-bg);
  color: var(--color-text-light);
  border-radius: var(--radius-lg, 16px);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px 40px;
  position: relative;
}

.privacy-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.6;
  line-height: 1;
  padding: 8px;
}

.privacy-modal__close:hover {
  opacity: 1;
}

.privacy-modal h2 {
  font-size: 2rem;
  margin-bottom: 32px;
}

.privacy-modal h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--color-coral);
}

.privacy-modal p {
  font-size: 0.9375rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 16px;
}

.privacy-modal a {
  color: var(--color-coral);
}

@media (max-width: 600px) {
  .privacy-modal {
    padding: 32px 20px;
  }

  .privacy-modal h2 {
    font-size: 1.5rem;
  }
}


/* --------------------------------------------
   PROCESS STEPS — numbered timeline with
   connecting line. 4-col grid with numbered
   circles, title, and description. First step
   can use .active-step for filled state.
   -------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 1px;
  background: var(--color-border-light);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: white;
  border: 2px solid var(--color-border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-coral);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.step-number.active-step {
  background: var(--color-coral);
  border-color: var(--color-coral);
  color: white;
}

.process-step h4 {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-text-dark);
}

.process-step p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ---- FORM SYSTEM ---- */
/* Reusable form primitives: rows, groups, inputs, checkbox, submit. */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border-light);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--color-text-dark);
  background: var(--color-bg-light);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-coral);
  box-shadow: 0 0 0 3px rgba(246, 106, 104, 0.12);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-coral);
  flex-shrink: 0;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-checkbox label a {
  color: var(--color-coral);
}

.form-checkbox label a:hover {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 14px 28px;
  background: var(--color-coral);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: var(--fs-body);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  background: var(--color-coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(246, 106, 104, 0.35);
}

.form-submit svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- COOKIE CONSENT BAR ---- */

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.cookie-bar--hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-bar__text {
  color: #333;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.cookie-bar__text a {
  color: var(--color-coral);
  text-decoration: underline;
}

.cookie-bar__buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-bar__inner {
    flex-direction: column;
    text-align: center;
  }
}
