/* ===========================================
   COLART — DIGITAL MARKETING AGENCY
   Main Stylesheet
   We Create. You Grow.
=========================================== */

/* ===========================================
   1. BRAND TOKENS & RESET
=========================================== */
:root {
  /* Brand colors (extracted from official logo) */
  --purple:     #642878;
  --purple-dk:  #4a1d59;
  --magenta:    #c81478;
  --magenta-lt: #e64497;
  --teal:       #50a0b4;
  --mint:       #64a08c;
  --lime:       #8cb43c;
  --yellow:     #dcdc3c;
  --whatsapp:   #25d366;

  /* Neutrals */
  --ink:      #1a1424;
  --bg:       #ffffff;
  --bg-soft:  #faf8fb;
  --line:     rgba(26, 20, 36, .12);
  --muted:    rgba(26, 20, 36, .6);

  /* Typography — Lato only */
  --font-display: 'Lato', system-ui, sans-serif;
  --font-body:    'Lato', system-ui, sans-serif;
  --font-mono:    'Lato', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ===========================================
   2. HEADER
=========================================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 36px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.logo { display: flex; align-items: center; }
.logo {
  position: relative;
  overflow: visible;
  transition: transform .4s cubic-bezier(.7, 0, .2, 1);
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), filter .4s ease;
  position: relative;
  z-index: 2;
}
.logo::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.7);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(200, 20, 120, .25) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all .5s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
  z-index: 1;
}
.logo:hover img {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 4px 14px rgba(200, 20, 120, .3));
}
.logo:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.3);
}
nav.nav-links { display: flex; gap: 34px; font-size: 14px; font-weight: 500; }
nav.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .3s;
  color: var(--ink);
}
nav.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.7, 0, .2, 1);
}
nav.nav-links a:hover { color: var(--purple); }
nav.nav-links a:hover::after { transform: scaleX(1); }
nav.nav-links a.active { color: var(--purple); }
nav.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--purple);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .3s, transform .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover { background: var(--magenta); transform: translateY(-1px); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 26px;
  color: var(--purple);
}
@media (max-width: 980px) {
  header { padding: 12px 20px; }
  nav.nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .logo img { height: 42px; }
}

/* ===========================================
   3. MOBILE MENU
=========================================== */
.mobile-menu {
  position: fixed;
  top: 66px;
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 49;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all .4s cubic-bezier(.2, .7, .2, 1);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  gap: 4px;
}
.mobile-menu nav a {
  padding: 14px 0;
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: color .3s;
}
.mobile-menu nav a:hover { color: var(--purple); }
.mobile-menu nav a:last-child { border-bottom: none; }
.mobile-cta {
  background: var(--purple);
  color: #fff !important;
  text-align: center;
  border-radius: 999px;
  margin-top: 16px;
  padding: 14px 22px !important;
  border-bottom: none !important;
  font-weight: 600 !important;
}

/* ===========================================
   4. HERO SECTION
=========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 36px 100px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(100, 40, 120, .92) 0%,
    rgba(100, 40, 120, .78) 35%,
    rgba(80, 40, 120, .55) 65%,
    rgba(200, 20, 120, .45) 100%
  );
}
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(220, 220, 60, .08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(80, 160, 180, .12) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 130px 24px 80px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #fff;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 108px);
  line-height: .95;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 30px;
}
.hero-title .accent-create {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, var(--yellow) 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .accent-grow {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, #ff6bb5 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
  max-width: 560px;
  margin-bottom: 42px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--purple);
  padding: 17px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .3s, background .3s, color .3s;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}
.btn-primary:hover {
  background: var(--magenta);
  color: #fff;
  transform: translateY(-2px);
}
.btn-primary .arrow { transition: transform .3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: #fff;
  padding: 17px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background .3s, border-color .3s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.hero-side {
  position: relative;
  height: 100%;
  min-height: 400px;
}

/* Floating "99+" badge — single, clean definition */
.floating-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow:
    0 30px 80px rgba(74, 29, 89, .45),
    0 8px 30px rgba(200, 20, 120, .18);
  animation: floatBadge 6s ease-in-out infinite;
  width: max-content;
  max-width: calc(100% - 40px);
  z-index: 2;
}
@keyframes floatBadge {
  0%, 100% { transform: translate(-50%, -50%) translateY(0)    rotate(-1deg); }
  50%      { transform: translate(-50%, -50%) translateY(-18px) rotate(1deg);  }
}
.badge-decorative {
  position: absolute;
  top: -14px; right: -14px;
  background: var(--magenta);
  color: #fff;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(200, 20, 120, .4);
  animation: spin 18s linear infinite;
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.badge-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--magenta);
  margin-bottom: 4px;
}
.badge-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 64px;
  line-height: .9;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.badge-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
}
.badge-text strong {
  font-weight: 600;
  color: var(--purple);
  display: block;
}
.floating-dot {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
  animation: floatDot 4s ease-in-out infinite;
}
.dot-1 { width: 18px; height: 18px; background: var(--yellow); top: 18%; left: 8%;   animation-delay: -1s;   }
.dot-2 { width: 14px; height: 14px; background: var(--teal);   top: 78%; right: 12%; animation-delay: -2.5s; }
.dot-3 { width: 12px; height: 12px; background: var(--lime);   bottom: 8%; left: 18%; animation-delay: -1.7s; }
@keyframes floatDot {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Hero responsive — tablet */
@media (max-width: 980px) {
  .hero-side {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .floating-badge {
    position: relative;
    top: auto; left: auto;
    transform: none;
    padding: 22px 26px;
    width: max-content;
    max-width: calc(100% - 60px);
    animation: floatBadgeStatic 6s ease-in-out infinite;
  }
  .badge-num { font-size: 54px; }
  .badge-text { font-size: 14px; }
  .badge-decorative {
    width: 42px; height: 42px;
    font-size: 16px;
    top: -12px; right: -12px;
  }
}

/* Hero responsive — phone */
@media (max-width: 480px) {
  .hero { padding: 120px 18px 60px; }
  .hero-side { min-height: 260px; }
  .floating-badge {
    padding: 20px 24px;
    border-radius: 16px;
    max-width: calc(100% - 50px);
  }
  .badge-num { font-size: 48px; }
  .badge-text { font-size: 13px; }
  .badge-label { font-size: 10px; }
  .floating-dot { display: none; }
}

/* Static-position floating animation for mobile (badge floats in place without translate offset) */
@keyframes floatBadgeStatic {
  0%, 100% { transform: translateY(0)    rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(1deg);  }
}

/* ===========================================
   5. SHARED SECTION ELEMENTS
=========================================== */
.section {
  padding: 110px 36px;
  position: relative;
}
@media (max-width: 880px) { .section { padding: 80px 24px; } }

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--purple);
  margin-bottom: 20px;
  display: inline-block;
}
.section-eyebrow.center { display: block; text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
.section-title.center { text-align: center; }
.section-title .magenta { color: var(--magenta); }

.section-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 820px;
}
.section-intro.center { margin: 0 auto; text-align: center; }

/* ===========================================
   12. FOOTER
=========================================== */
footer {
  background: linear-gradient(135deg, #f5eef7 0%, #faf5fa 50%, #f7eef3 100%);
  padding: 70px 36px 30px;
  position: relative;
}
@media (max-width: 880px) { footer { padding: 60px 24px 30px; } }

.foot-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 50px;
}
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr; gap: 40px; } }

.foot-brand img {
  height: 56px;
  margin-bottom: 16px;
}
.foot-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 12px;
}
.foot-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 360px;
}

.foot-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--ink);
  margin-bottom: 18px;
}
.foot-col a, .foot-col p {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  line-height: 1.5;
  color: var(--muted);
  transition: color .3s, transform .3s;
}
.foot-col a:hover { color: var(--magenta); transform: translateX(3px); }

/* Get-in-touch icons — fixed width, spacing, brand color */
.foot-col a i,
.foot-col p i {
  width: 18px;
  margin-right: 8px;
  color: var(--purple);
  text-align: center;
}

.foot-mid {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(100, 40, 120, .1);
}
.follow h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(26, 20, 36, .06);
  transition: transform .3s, background .3s, color .3s;
}
.social-icons a:hover {
  transform: translateY(-3px);
  background: var(--purple);
  color: #fff;
}
.social-icons i { font-size: 16px; line-height: 1; color: inherit; }

.whatsapp-channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(37, 211, 102, .12);
  color: #128c40;
  font-size: 14px;
  font-weight: 600;
  transition: transform .3s, background .3s;
}
.whatsapp-channel:hover {
  background: rgba(37, 211, 102, .2);
  transform: translateY(-2px);
}
.whatsapp-channel i { font-size: 16px; line-height: 1; color: #25d366; }

.foot-bottom {
  max-width: 1280px;
  margin: 30px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(100, 40, 120, .08);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ===========================================
   13. WEBSITE CHAT ASSISTANT (FAQ bot + WhatsApp agent handoff)
=========================================== */
.chatbot-widget {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-launcher-label {
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(26, 20, 36, .18);
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.chatbot-widget.is-open .chatbot-launcher-label {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  pointer-events: none;
}
.chatbot-launcher {
  flex-shrink: 0;
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, .4);
  transition: transform .3s, background .3s;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.chatbot-launcher:hover { transform: scale(1.08); animation: none; }
.chatbot-launcher i { font-size: 26px; line-height: 1; color: #fff; position: absolute; transition: opacity .25s, transform .25s; }
.chatbot-launcher .fa-wand-magic-sparkles { opacity: 1; transform: scale(1); }
.chatbot-launcher .fa-xmark { opacity: 0; transform: scale(.5); }
.chatbot-widget.is-open .chatbot-launcher { background: var(--purple); animation: none; }
.chatbot-widget.is-open .chatbot-launcher .fa-wand-magic-sparkles { opacity: 0; transform: scale(.5); }
.chatbot-widget.is-open .chatbot-launcher .fa-xmark { opacity: 1; transform: scale(1); }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .55); }
  50%      { box-shadow: 0 8px 30px rgba(37, 211, 102, .4), 0 0 0 16px rgba(37, 211, 102, 0); }
}

.chatbot-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 560px;
  max-height: calc(100vh - 140px);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(26, 20, 36, .28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .35s cubic-bezier(.2, .7, .2, 1), transform .35s cubic-bezier(.2, .7, .2, 1), visibility .35s;
}
.chatbot-widget.is-open .chatbot-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  flex-shrink: 0;
}
.chatbot-header-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 6px;
  overflow: hidden;
}
.chatbot-avatar img { width: 100%; height: 100%; object-fit: contain; }
.chatbot-header-name { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; }
.chatbot-header-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.3;
}
.chatbot-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  flex-shrink: 0;
}
.chatbot-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .3s, transform .3s;
}
.chatbot-close:hover { background: rgba(255, 255, 255, .3); transform: rotate(90deg); }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-soft);
}
.chatbot-msg {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-line;
}
.chatbot-msg-bot {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.chatbot-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chatbot-typing { display: flex; gap: 4px; padding: 14px 16px; }
.chatbot-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: chatbotTyping 1.2s ease-in-out infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: .15s; }
.chatbot-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatbotTyping {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 14px;
  background: var(--bg-soft);
}
.chatbot-chip {
  border: 1.5px solid rgba(100, 40, 120, .25);
  background: #fff;
  color: var(--purple);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s;
  text-align: left;
}
.chatbot-chip:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

.chatbot-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: #fff;
}
.chatbot-input-row input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
}
.chatbot-input-row button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 13px;
  transition: transform .25s;
}
.chatbot-input-row button:hover { transform: scale(1.08); }

.chatbot-agent-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: filter .25s, transform .25s;
}
.chatbot-agent-btn i { font-size: 15px; }
.chatbot-agent-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }

@media (max-width: 600px) {
  .chatbot-widget { bottom: 18px; right: 18px; }
  .chatbot-launcher { width: 54px; height: 54px; }
  .chatbot-launcher i { font-size: 22px; }
  .chatbot-launcher-label { font-size: 12px; padding: 8px 14px; }
  .chatbot-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 16px;
    bottom: 86px;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
  }
  .chatbot-quick-replies { padding: 0 14px 12px; gap: 7px; }
  .chatbot-chip { font-size: 12px; padding: 7px 12px; }
  .chatbot-agent-btn { width: calc(100% - 24px); margin: 0 12px 12px; font-size: 12.5px; }
}

/* ===========================================
   14. RESULTS / CAMPAIGN STATS (Our Work page)
=========================================== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  gap: 22px;
  justify-content: center;
}
.stat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 4px 20px rgba(26, 20, 36, .05);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(26, 20, 36, .12); }
.stat-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--purple);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  transition: gap .25s, color .25s;
}
.stat-card-cta i { font-size: 11px; transition: transform .3s; }
.stat-card:hover .stat-card-cta { color: var(--magenta); }
.stat-card:hover .stat-card-cta i { transform: translateX(4px); }
.stat-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.stat-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  color: #fff;
  font-size: 18px;
}
.stat-card-name { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.stat-card-sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.stat-number {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.stat-number .stat-from { font-size: 20px; color: var(--muted); font-weight: 700; }
.stat-number .stat-arrow { font-size: 18px; color: var(--lime); }
.stat-number .stat-to {
  font-size: 34px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 12.5px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.stat-detail { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.stat-detail strong { color: var(--ink); font-weight: 700; }
.stat-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--purple);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  width: 100%;
  transition: gap .25s, color .25s;
}
.stat-link i { font-size: 13px; }
.stat-link:hover { gap: 10px; color: var(--magenta); }

.stat-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.stat-kpi {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}
.stat-kpi-num {
  display: block;
  font-size: 21px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.stat-kpi-label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin-top: 2px; }

/* Full case study content inside a results modal */
.case-study-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}
@media (max-width: 600px) { .case-study-kpis { grid-template-columns: repeat(2, 1fr); } }
.case-study-body { max-width: 640px; margin: 0 auto; }
.case-study-section { margin-bottom: 26px; }
.case-study-section:last-child { margin-bottom: 0; }
.case-study-section h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.case-study-section p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}
.case-study-section p strong { color: var(--ink); font-weight: 700; }
.case-study-list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.case-study-list div {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.case-study-list div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
}
.case-study-list div strong { color: var(--ink); font-weight: 700; }
.case-study-quote {
  font-size: 17px;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  border-left: 3px solid var(--magenta);
  padding: 4px 0 4px 18px;
  margin: 26px 0;
}
.case-study-quote-cite {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-top: 8px;
}

/* Native bar chart used inside case study modals */
.case-study-chart { margin-bottom: 30px; }
.case-study-chart-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
.chart-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.chart-bar-row:last-child { margin-bottom: 0; }
.chart-bar-label {
  flex: 0 0 96px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
  line-height: 1.3;
}
.chart-bar-track {
  flex: 1;
  height: 14px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.chart-bar-fill {
  height: 100%;
  min-width: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--magenta) 100%);
  transition: filter .25s;
}
.chart-bar-row:hover .chart-bar-fill { filter: brightness(1.12); }
.chart-bar-value {
  flex: 0 0 64px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
@media (max-width: 480px) {
  .chart-bar-label { flex-basis: 74px; font-size: 11px; }
  .chart-bar-value { flex-basis: 52px; font-size: 12px; }
}

/* ===========================================
   15. ANIMATIONS
=========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 1s cubic-bezier(.2, .7, .2, 1) forwards;
}
.reveal.d1 { animation-delay: .15s; }
.reveal.d2 { animation-delay: .30s; }
.reveal.d3 { animation-delay: .45s; }
.reveal.d4 { animation-delay: .60s; }
.reveal.d5 { animation-delay: .85s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

.reveal-scale {
  opacity: 0;
  transform: scale(.85);
  animation: revealScale 1.2s cubic-bezier(.2, .7, .2, 1) forwards;
}
.reveal-scale.d5 { animation-delay: .85s; }
@keyframes revealScale { to { opacity: 1; transform: scale(1); } }

/* Scroll-triggered (added by JS) */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.fade-in-stagger.visible > *           { opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: .12s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: .24s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: .36s; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: .48s; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: .60s; }
.fade-in-stagger.visible > *:nth-child(7) { transition-delay: .72s; }
.fade-in-stagger.visible > *:nth-child(8) { transition-delay: .84s; }

/* ===========================================
   15. ACCESSIBILITY
=========================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}



/* ===========================================
   6. SECTION 2 — WELCOME (REDESIGNED)
=========================================== */
.welcome-section {
  position: relative;
  padding: 110px 36px;
  background:
    radial-gradient(circle at 10% 30%, rgba(100, 40, 120, .05) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(200, 20, 120, .05) 0%, transparent 40%),
    #fff;
  text-align: center;
  overflow: hidden;
}
.welcome-content { max-width: 940px; margin: 0 auto; position: relative; z-index: 2; }
.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(100, 40, 120, .08), rgba(200, 20, 120, .08));
  border: 1px solid rgba(100, 40, 120, .15);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--purple);
  margin-bottom: 26px;
}
.welcome-badge i { color: var(--yellow); font-size: 14px; }
.welcome-badge strong { color: var(--magenta); letter-spacing: .12em; }
.welcome-title {
  font-weight: 900;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
.welcome-title .magenta { color: var(--magenta); }
.welcome-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto 16px;
}
.welcome-text:last-child { margin-bottom: 0; }
.welcome-cta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}
.welcome-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  animation: floatDot 5s ease-in-out infinite;
}
.welcome-dot.dot-a { width: 14px; height: 14px; background: var(--yellow); top: 22%; left: 12%; animation-delay: -1s; }
.welcome-dot.dot-b { width: 12px; height: 12px; background: var(--teal); bottom: 24%; right: 14%; animation-delay: -2.5s; }
@media (max-width: 768px) {
  .welcome-section { padding: 80px 24px; }
  .welcome-dot { display: none; }
}

/* ===========================================
   SHARED — SECTION HEAD (eyebrow pill + title + intro)
=========================================== */
.section-head {
  max-width: 880px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-eyebrow-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--magenta);
  margin-bottom: 16px;
  padding: 7px 18px;
  background: rgba(200, 20, 120, .08);
  border-radius: 999px;
}
.section-eyebrow-pill.light {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
.section-head h2 {
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-head h2 .magenta { color: var(--magenta); }
.section-head > p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

/* ===========================================
   7. SECTION 3 — WHO WE HELP (REDESIGNED)
=========================================== */
.who-section {
  padding: 110px 36px;
  background: var(--bg-soft);
  position: relative;
}
.who-section .container { max-width: 1300px; margin: 0 auto; }
@media (max-width: 768px) { .who-section { padding: 80px 24px; } }

.who-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.who-card { flex: 1 1 260px; max-width: 300px; }
@media (max-width: 560px) { .who-card { flex-basis: 100%; max-width: 100%; } }

.who-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 26px;
  text-align: left;
  border: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(26, 20, 36, .04);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), box-shadow .5s, border-color .5s;
  position: relative;
  overflow: hidden;
}
.who-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.who-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(100, 40, 120, .12);
  border-color: rgba(100, 40, 120, .2);
}
.who-card:hover::before { transform: scaleX(1); }
.who-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(100, 40, 120, .1), rgba(200, 20, 120, .1));
  color: var(--purple);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 22px;
  transition: all .4s;
}
.who-card:hover .who-card-icon {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}
.who-card h3 {
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}
.who-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.who-card {
  cursor: pointer;
}
.who-card:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
.who-card-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--purple);
  margin-top: 16px;
  transition: gap .25s;
}
.who-card-more i { font-size: 10px; transition: transform .3s; }
.who-card:hover .who-card-more { gap: 11px; }
.who-card:hover .who-card-more i { transform: translateX(2px); }

/* ===========================================
   8. SECTION 4 — OUR SERVICES (REDESIGNED)
=========================================== */
.services-section {
  padding: 110px 36px;
  background: #fff;
}
.services-section .container { max-width: 1340px; margin: 0 auto; }
@media (max-width: 768px) { .services-section { padding: 80px 24px; } }

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.service-card { flex: 1 1 270px; max-width: 310px; }
@media (max-width: 600px) { .service-card { flex-basis: 100%; max-width: 100%; } }

.service-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 30px rgba(26, 20, 36, .04);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), box-shadow .5s, border-color .5s;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(100, 40, 120, .18);
  border-color: rgba(100, 40, 120, .25);
}
.service-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0e8f5;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.service-card:hover .service-img img { transform: scale(1.08); }
.service-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(26, 20, 36, .15);
  transition: all .4s;
}
.service-card:hover .service-card-badge {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  transform: scale(1.1) rotate(8deg);
}
.service-body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 10px;
}
.service-tags {
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--magenta);
  letter-spacing: .02em;
}
.service-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 22px;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  background: rgba(100, 40, 120, .08);
  transition: all .3s;
}
.service-link i { font-size: 11px; transition: transform .3s; }
.service-link:hover {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
}
.service-link:hover i { transform: translateX(4px); }

.services-explore {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

/* Gradient pill button (used in several places) */
.btn-pill-gradient {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s cubic-bezier(.2, .7, .2, 1);
  box-shadow: 0 4px 16px rgba(26, 20, 36, .1);
}
.btn-pill-gradient i { font-size: 12px; transition: transform .3s; }
.btn-pill-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(26, 20, 36, .16);
}
.btn-pill-gradient:hover i { transform: translateX(4px); }

/* ===========================================
   9. SECTION 5 — OUR WORK (REDESIGNED)
=========================================== */
.our-work-section {
  padding: 110px 36px;
  background:
    radial-gradient(circle at 100% 100%, rgba(200, 20, 120, .04) 0%, transparent 40%),
    var(--bg-soft);
}
.our-work-section .container { max-width: 1280px; margin: 0 auto; }
@media (max-width: 768px) { .our-work-section { padding: 80px 24px; } }

.work-card {
  background: #fff;
  border-radius: 26px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: 0 10px 50px rgba(26, 20, 36, .06);
  border: 1px solid var(--line);
}
@media (max-width: 880px) {
  .work-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 30px; }
}
.work-card-content h2 {
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 14px 0 18px;
}
.work-card-content h2 .magenta { color: var(--magenta); }
.work-card-content > p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
}
.work-list {
  list-style: none;
  margin-bottom: 28px;
  padding: 0;
}
.work-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.work-list li i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  font-size: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(100, 40, 120, .25);
}
.work-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 40px rgba(74, 29, 89, .12);
}
.work-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}
.work-card:hover .work-img img { transform: scale(1.05); }
.work-img-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  box-shadow: 0 4px 14px rgba(26, 20, 36, .12);
}
.work-img-tag i { color: var(--yellow); }

/* ===========================================
   10. SECTION 6 — WHY COLART (REDESIGNED)
=========================================== */
.why-section {
  padding: 110px 36px;
  background: #fff;
}
.why-section .container { max-width: 1300px; margin: 0 auto; }
@media (max-width: 768px) { .why-section { padding: 80px 24px; } }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(26, 20, 36, .04);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), box-shadow .5s, border-color .5s;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(100, 40, 120, .12);
  border-color: rgba(100, 40, 120, .2);
}
.feat-card:hover::before { transform: scaleX(1); }
.feat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(100, 40, 120, .1), rgba(200, 20, 120, .1));
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: all .4s;
}
.feat-card:hover .feat-card-icon {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}
.feat-card h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}
.feat-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ===========================================
   11. SECTION 7 — HOW WE WORK (PROCESS)
=========================================== */
.how-section {
  padding: 110px 36px;
  background: var(--bg-soft);
}
.how-section .container { max-width: 1300px; margin: 0 auto; }
@media (max-width: 768px) { .how-section { padding: 80px 24px; } }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

.process-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 26px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(26, 20, 36, .04);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), box-shadow .5s, border-color .5s;
  position: relative;
  overflow: hidden;
}
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(100, 40, 120, .12);
  border-color: rgba(100, 40, 120, .2);
}
.process-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
  background: linear-gradient(135deg, rgba(100, 40, 120, .12), rgba(200, 20, 120, .12));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.02em;
  transition: all .4s;
}
.process-card:hover .process-num {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
}
.process-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(100, 40, 120, .1), rgba(200, 20, 120, .1));
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 22px;
  transition: all .4s;
}
.process-card:hover .process-icon {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}
.process-card h3 {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 10px;
}
.process-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ===========================================
   11b. SECTION 8 — FINAL CTA (REDESIGNED — smaller buttons)
=========================================== */
.final-cta-section {
  padding: 100px 36px;
  background: #fff;
}
.final-cta-section .container { max-width: 1180px; margin: 0 auto; }
@media (max-width: 768px) { .final-cta-section { padding: 70px 24px; } }

.cta-card {
  position: relative;
  border-radius: 28px;
  padding: 70px 50px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 768px) {
  .cta-card { padding: 50px 28px; border-radius: 22px; }
}
.cta-card-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 25%, rgba(220, 220, 60, .12) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(80, 160, 180, .15) 0%, transparent 40%),
    linear-gradient(135deg, var(--purple) 0%, #531c64 50%, var(--magenta) 100%);
}
.cta-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .08) 0%, transparent 50%);
}
.cta-card-content {
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
  position: relative;
  z-index: 2;
}
.cta-card-content h2 {
  font-weight: 900;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 18px 0 16px;
}
.cta-card-content h2 .magenta-light { color: var(--yellow); }
.cta-card-content > p {
  font-size: 16px;
  line-height: 1.65;
  opacity: .92;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-btn-primary,
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .3s, background .3s, color .3s, box-shadow .3s;
}
.cta-btn-primary i,
.cta-btn-secondary i { font-size: 12px; }
.cta-btn-primary {
  background: #fff;
  color: var(--purple);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.cta-btn-primary:hover {
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.cta-btn-secondary {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px);
}
.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, .25);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===========================================
   14b. SECTION 9 — FAQ (HOMEPAGE)
=========================================== */
.faq-section {
  padding: 110px 36px;
  background: var(--bg-soft);
}
.faq-section .container { max-width: 1300px; margin: 0 auto; }
@media (max-width: 768px) { .faq-section { padding: 80px 24px; } }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(26, 20, 36, .04);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), box-shadow .5s, border-color .5s;
  position: relative;
  overflow: hidden;
}
.faq-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.faq-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(100, 40, 120, .12);
  border-color: rgba(100, 40, 120, .2);
}
.faq-card:hover::before { transform: scaleX(1); }
.faq-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(100, 40, 120, .1), rgba(200, 20, 120, .1));
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: transform .4s, background .4s, color .4s;
}
.faq-card:hover .faq-card-icon {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}
.faq-card h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
}
.faq-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.faq-explore { text-align: center; margin-top: 44px; }
.faq-explore .btn-pill-gradient { border: none; cursor: pointer; }

/* FAQ "See All" modal */
.faq-modal-content { max-width: 720px; }
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px;
  background: var(--bg-soft);
  transition: border-color .3s, background .3s;
}
.faq-item[open] {
  border-color: rgba(100, 40, 120, .25);
  background: #fff;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 28px 16px 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\002B";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--purple);
  transition: transform .3s;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { color: var(--purple); }
.faq-item p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  padding: 0 0 18px;
  margin: 0;
}

/* Dedicated FAQ page — categorized accordion sections */
.faq-page-section {
  padding: 90px 36px 110px;
  background: #fff;
}
.faq-page-section .container { max-width: 820px; margin: 0 auto; }
@media (max-width: 768px) { .faq-page-section { padding: 60px 24px 80px; } }

.faq-category { margin-bottom: 52px; }
.faq-category:last-child { margin-bottom: 0; }
.faq-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.faq-category-title i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(100, 40, 120, .1), rgba(200, 20, 120, .1));
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.faq-page-section .faq-item { background: var(--bg-soft); }

/* ===========================================
   15. INNER PAGE HERO (subpages — services, etc.)
=========================================== */
.inner-hero {
  position: relative;
  padding: 180px 36px 100px;
  background:
    radial-gradient(circle at 15% 30%, rgba(100, 40, 120, .08) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(200, 20, 120, .07) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(220, 220, 60, .04) 0%, transparent 50%),
    var(--bg-soft);
  overflow: hidden;
  text-align: center;
}

/* Services page hero — custom background photo, with a soft light wash so text stays readable */
.inner-hero.services-hero-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)),
    url('../images/services-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Our Work page hero — custom photo, with a soft light wash so text stays readable */
.inner-hero.our-work-hero-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)),
    url('../images/our-work-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Reviews page hero — custom photo, with a soft light wash so text stays readable */
.inner-hero.reviews-hero-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)),
    url('../images/reviews-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Contact page hero — custom photo, with a soft light wash so text stays readable */
.inner-hero.contact-hero-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)),
    url('../images/contact-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Team page hero — custom illustration, with a soft light wash so text stays readable */
.inner-hero.team-hero-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)),
    url('../images/team-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Collaborations page hero — custom illustration; extra-strong wash since this
   image is more saturated/busy than the other hero photos, to keep text readable */
.inner-hero.collaboration-hero-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, .94), rgba(255, 255, 255, .94)),
    url('../images/collaboration-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* FAQ page hero — custom illustration; stronger wash since the colorful
   question-mark shapes sit directly behind the headline text */
.inner-hero.faq-hero-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, .93), rgba(255, 255, 255, .93)),
    url('../images/faq-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.inner-hero-content {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.inner-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--magenta);
  margin-bottom: 22px;
  padding: 7px 18px;
  background: rgba(200, 20, 120, .08);
  border-radius: 999px;
}
.inner-hero h1 {
  font-weight: 900;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 22px;
}
.inner-hero h1 .magenta { color: var(--magenta); }
.inner-hero p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 40px;
}
.anchor-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.anchor-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--purple);
  border: 1.5px solid var(--line);
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  transition: all .3s cubic-bezier(.2, .7, .2, 1);
  box-shadow: 0 4px 14px rgba(26, 20, 36, .04);
}
.anchor-pill i { font-size: 14px; }
.anchor-pill:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(100, 40, 120, .25);
}
.anchor-pill:nth-child(1):hover { background: linear-gradient(135deg, var(--teal) 0%, #4a8fa5 100%); border-color: transparent; }
.anchor-pill:nth-child(2):hover { background: linear-gradient(135deg, var(--magenta) 0%, #a40d63 100%); border-color: transparent; }
.anchor-pill:nth-child(3):hover { background: linear-gradient(135deg, #f0c93c 0%, #e4a72a 100%); border-color: transparent; color: var(--ink); }
.anchor-pill:nth-child(4):hover { background: linear-gradient(135deg, var(--lime) 0%, #6c9a2a 100%); border-color: transparent; }
.anchor-pill:nth-child(5):hover { background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%); border-color: transparent; }
.anchor-pill:nth-child(6):hover { background: linear-gradient(135deg, var(--mint) 0%, #4a8a72 100%); border-color: transparent; }
.anchor-pill:nth-child(7):hover { background: linear-gradient(135deg, var(--yellow) 0%, var(--lime) 100%); border-color: transparent; color: var(--ink); }

/* Floating decorative dots on inner hero */
.inner-hero-dot {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  animation: floatDot 5s ease-in-out infinite;
  z-index: 1;
}
.inner-hero .dot-a { width: 16px; height: 16px; background: var(--yellow); top: 22%; left: 10%; animation-delay: -1s; }
.inner-hero .dot-b { width: 12px; height: 12px; background: var(--teal); top: 68%; right: 14%; animation-delay: -2.5s; }
.inner-hero .dot-c { width: 14px; height: 14px; background: var(--magenta); bottom: 18%; left: 16%; animation-delay: -1.7s; }

@media (max-width: 768px) {
  .inner-hero { padding: 140px 24px 70px; }
  .anchor-pill { padding: 11px 18px; font-size: 12.5px; }
  .inner-hero-dot { display: none; }
}

/* ===========================================
   16. SERVICES PAGE — WHAT WE DO INTRO
=========================================== */
.services-intro {
  background: #fff;
  text-align: center;
  padding: 80px 36px 40px;
}
.services-intro .container { max-width: 1100px; margin: 0 auto; }
@media (max-width: 768px) { .services-intro { padding: 60px 24px 30px; } }

/* ===========================================
   17. SERVICE DETAIL SECTIONS (services page)
=========================================== */
.service-detail {
  padding: 80px 36px;
  background: #fff;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.service-detail.alt { background: var(--bg-soft); }
.service-detail .container { max-width: 1300px; margin: 0 auto; position: relative; z-index: 2; }
@media (max-width: 768px) { .service-detail { padding: 60px 24px; } }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.service-detail-grid.reversed {
  grid-template-columns: 1.15fr 1fr;
}
.service-detail-grid.reversed .service-detail-visual { order: 2; }
.service-detail-grid.reversed .service-detail-copy { order: 1; }
@media (max-width: 980px) {
  .service-detail-grid,
  .service-detail-grid.reversed {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-detail-grid.reversed .service-detail-visual { order: 1; }
  .service-detail-grid.reversed .service-detail-copy { order: 2; }
}

.service-detail-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(74, 29, 89, .18);
  border: 1px solid var(--line);
  background: #f0e8f5;
}
.service-detail-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}
.service-detail-grid:hover .service-detail-visual img { transform: scale(1.04); }

.service-detail-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--purple);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  box-shadow: 0 4px 14px rgba(26, 20, 36, .08);
}
.service-detail-tag i { color: var(--magenta); font-size: 13px; }

@media (max-width: 980px) {
  .service-detail-visual { aspect-ratio: 4 / 3; max-height: 480px; }
}

.service-detail-copy .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--magenta);
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(200, 20, 120, .08);
  border-radius: 999px;
}
.service-detail-copy h2 {
  font-weight: 900;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 18px;
}
.service-detail-copy h2 .magenta { color: var(--magenta); }
.service-detail-copy > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 600px;
}

.subservice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
@media (max-width: 560px) { .subservice-grid { grid-template-columns: 1fr; } }

.subservice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 20px;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s, border-color .4s;
  position: relative;
  overflow: hidden;
}
.service-detail.alt .subservice-card { background: #fff; }
.subservice-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.subservice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(100, 40, 120, .12);
  border-color: rgba(100, 40, 120, .25);
}
.subservice-card:hover::before { transform: scaleX(1); }
.subservice-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(100, 40, 120, .1) 0%, rgba(200, 20, 120, .1) 100%);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--purple);
  transition: all .3s;
}
.subservice-card:hover .subservice-icon {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  transform: scale(1.05);
}
.subservice-card h3 {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.25;
}
.subservice-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.service-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.service-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.service-point i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  font-size: 11px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(100, 40, 120, .25);
}

.strategy-callout {
  background: linear-gradient(135deg, rgba(100, 40, 120, .06) 0%, rgba(200, 20, 120, .06) 100%);
  border: 1px solid rgba(100, 40, 120, .15);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 30px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.strategy-callout-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  box-shadow: 0 8px 20px rgba(100, 40, 120, .25);
}
.strategy-callout h3 {
  font-weight: 700;
  font-size: 15px;
  color: var(--purple);
  margin-bottom: 6px;
}
.strategy-callout p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .3s, box-shadow .3s, filter .3s;
  box-shadow: 0 10px 30px rgba(200, 20, 120, .3);
}
.service-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 40px rgba(200, 20, 120, .4);
}
.service-cta i { transition: transform .3s; font-size: 12px; }
.service-cta:hover i { transform: translateX(4px); }

/* ===========================================
   LAUNCHING SOON PAGE
=========================================== */
.launching-section {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: 160px 36px 100px;
  background:
    radial-gradient(circle at 15% 25%, rgba(100, 40, 120, .08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(200, 20, 120, .07) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(220, 220, 60, .04) 0%, transparent 50%),
    var(--bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.launching-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.launching-content {
  text-align: center;
}

/* Decorative floating dots */
.launching-dot {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  animation: floatDot 5s ease-in-out infinite;
  z-index: 1;
}
.launching-dot.dot-a { width: 18px; height: 18px; background: var(--yellow); top: 18%; left: 8%;    animation-delay: -1s; }
.launching-dot.dot-b { width: 14px; height: 14px; background: var(--teal);   top: 70%; right: 12%;  animation-delay: -2.5s; }
.launching-dot.dot-c { width: 16px; height: 16px; background: var(--magenta); bottom: 15%; left: 14%; animation-delay: -1.7s; }
.launching-dot.dot-d { width: 12px; height: 12px; background: var(--lime);    top: 30%; right: 18%; animation-delay: -3.2s; }

/* Animated rocket */
.launching-rocket {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 32px;
  animation: rocketFloat 4s ease-in-out infinite;
}
@keyframes rocketFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.launching-rocket-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(200, 20, 120, .3) 0%, transparent 70%);
  border-radius: 50%;
  animation: rocketGlow 2.4s ease-in-out infinite;
  z-index: 1;
}
@keyframes rocketGlow {
  0%, 100% { transform: scale(1);   opacity: .6; }
  50%      { transform: scale(1.2); opacity: 1; }
}
.launching-rocket-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, #531c64 50%, var(--magenta) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 54px;
  box-shadow:
    0 20px 60px rgba(100, 40, 120, .35),
    inset 0 -8px 20px rgba(0, 0, 0, .15),
    inset 0 4px 14px rgba(255, 255, 255, .15);
  z-index: 2;
}
.launching-rocket-circle i {
  transform: rotate(-45deg);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25));
  animation: rocketShake 3.5s ease-in-out infinite;
}
@keyframes rocketShake {
  0%, 100%   { transform: rotate(-45deg) translateX(0); }
  10%, 30%   { transform: rotate(-45deg) translateX(-2px); }
  20%, 40%   { transform: rotate(-45deg) translateX(2px); }
  50%, 100%  { transform: rotate(-45deg) translateX(0); }
}

/* Eyebrow */
.launching-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 20, 120, .08);
  border: 1px solid rgba(200, 20, 120, .2);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--magenta);
  margin-bottom: 22px;
}
.launching-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
  animation: pulse 2s ease-in-out infinite;
}

/* Title */
.launching-title {
  font-weight: 900;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 22px;
}
.launching-title .magenta {
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tagline */
.launching-tagline {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 38px;
}

/* CTA buttons */
.launching-buttons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.launching-btn { padding: 13px 26px; font-size: 13.5px; }
.launching-btn.cta-btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(200, 20, 120, .3);
}
.launching-btn.cta-btn-primary:hover {
  background: linear-gradient(135deg, var(--magenta) 0%, var(--purple) 100%);
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 14px 40px rgba(200, 20, 120, .4);
}
.launching-btn.cta-btn-secondary {
  background: #fff;
  color: var(--purple);
  border: 1.5px solid var(--line);
  backdrop-filter: none;
}
.launching-btn.cta-btn-secondary:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

/* Quick info row */
.launching-quick-info {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.launching-info-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--line);
  transition: all .3s;
  word-break: break-all;
}
.launching-info-item i {
  color: var(--magenta);
  font-size: 15px;
  flex-shrink: 0;
}
.launching-info-item:first-child i { color: var(--whatsapp); }
.launching-info-item:hover {
  border-color: rgba(100, 40, 120, .3);
  box-shadow: 0 8px 24px rgba(100, 40, 120, .1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .launching-section { padding: 130px 24px 70px; }
  .launching-rocket { width: 110px; height: 110px; margin-bottom: 26px; }
  .launching-rocket-circle { font-size: 44px; }
  .launching-tagline { font-size: 15px; margin-bottom: 30px; }
  .launching-dot { display: none; }
}

@media (max-width: 480px) {
  .launching-info-item { font-size: 12.5px; padding: 9px 12px; }
}

/* ===========================================
   WORK SECTIONS (shared)
=========================================== */
.work-section {
  padding: 100px 36px;
  background: #fff;
}
.work-section-alt { background: var(--bg-soft); }
.work-section .container { max-width: 1340px; margin: 0 auto; }
@media (max-width: 768px) {
  .work-section { padding: 70px 24px; }
}

/* ===========================================
   SECTION 1 — BRAND IDENTITY GRID
=========================================== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .brand-grid { grid-template-columns: 1fr; } }

.brand-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  box-shadow: 0 6px 30px rgba(26, 20, 36, .06);
  transition: transform .6s cubic-bezier(.7, 0, .2, 1), box-shadow .6s;
}
.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(100, 40, 120, .2);
}
.brand-card-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.brand-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.brand-card:hover .brand-card-img img { transform: scale(1.06); }
.brand-card-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 22px 22px;
  background: linear-gradient(to top, rgba(26, 20, 36, .85) 0%, rgba(26, 20, 36, .6) 60%, transparent 100%);
  color: #fff;
  transform: translateY(0);
  transition: padding .4s;
}
.brand-card-overlay h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}
.brand-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--yellow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.brand-card-cta i { font-size: 10px; transition: transform .3s; }
.brand-card:hover .brand-card-cta {
  opacity: 1;
  transform: translateY(0);
}
.brand-card:hover .brand-card-cta i { transform: translateX(4px); }

/* ===========================================
   SECTION 2 — LOGO PREVIEW GRID
=========================================== */
.logo-preview-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) { .logo-preview-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .logo-preview-grid { grid-template-columns: repeat(2, 1fr); } }

.logo-preview-card {
  background: #fff;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(26, 20, 36, .04);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), box-shadow .5s, border-color .5s;
}
.work-section-alt .logo-preview-card { background: #fff; }
.logo-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(100, 40, 120, .15);
  border-color: rgba(100, 40, 120, .25);
}
.logo-preview-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .4s;
}
.logo-preview-card:hover img { transform: scale(1.06); }

.view-all-wrap { display: flex; justify-content: center; }

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(200, 20, 120, .3);
  transition: all .3s;
}
.btn-view-all:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(200, 20, 120, .4);
}
.btn-view-all i { font-size: 12px; transition: transform .3s; }
.btn-view-all:hover i { transform: translateX(4px); }

/* ===========================================
   SECTIONS 3-6 — PLACEHOLDER GRID (until images arrive)
=========================================== */
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .placeholder-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .placeholder-grid { grid-template-columns: repeat(2, 1fr); } }

.placeholder-card {
  background: #fff;
  border: 2px dashed rgba(100, 40, 120, .2);
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(100, 40, 120, .55);
  transition: all .4s;
}
.work-section-alt .placeholder-card { background: #fff; }
.placeholder-card i { font-size: 32px; color: rgba(100, 40, 120, .35); }
.placeholder-card span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.placeholder-card:hover {
  border-color: rgba(100, 40, 120, .4);
  background: rgba(100, 40, 120, .03);
  transform: translateY(-4px);
}

/* ===========================================
   MODALS — BRAND CASE STUDIES & LOGO GALLERY
=========================================== */
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s ease, visibility .4s;
}
.work-modal.is-open {
  visibility: visible;
  opacity: 1;
}
.work-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 36, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.work-modal-content {
  position: relative;
  background: #fff;
  margin: 5vh auto;
  max-width: 880px;
  width: calc(100% - 32px);
  max-height: 90vh;
  border-radius: 24px;
  padding: 50px 44px 44px;
  overflow-y: auto;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
  transform: translateY(20px) scale(.98);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.work-modal-content-wide { max-width: 1180px; }
.work-modal.is-open .work-modal-content { transform: translateY(0) scale(1); }
@media (max-width: 768px) {
  .work-modal-content { margin: 2.5vh auto; padding: 40px 24px 28px; border-radius: 18px; max-height: 95vh; }
}

.work-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: all .3s;
}
.work-modal-close:hover {
  background: var(--purple);
  color: #fff;
  transform: rotate(90deg);
}

.work-modal-head { text-align: center; margin-bottom: 30px; }
.work-modal-head h3 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 14px 0 12px;
}
.work-modal-head p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.work-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 600px) { .work-modal-gallery { grid-template-columns: 1fr; } }

.work-modal-gallery figure {
  margin: 0;
  background: var(--bg-soft);
  border-radius: 14px;
  overflow: hidden;
}
.work-modal-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.work-modal-gallery figure:hover img { transform: scale(1.04); }
.work-modal-gallery figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  text-align: center;
  letter-spacing: .04em;
}

/* Logo modal — grid layout */
.work-modal-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .work-modal-logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .work-modal-logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 380px) { .work-modal-logo-grid { grid-template-columns: repeat(2, 1fr); } }

.modal-logo-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 18px;
  transition: all .35s;
}
.modal-logo-cell:hover {
  border-color: rgba(100, 40, 120, .25);
  box-shadow: 0 10px 24px rgba(100, 40, 120, .1);
  transform: translateY(-3px);
}
.modal-logo-cell img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.modal-logo-cell.dark-logo {
  background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ec 100%);
}

/* ===========================================
   SECTION 3 — SOCIAL MEDIA (preview grid + modal masonry)
   Preview = 5 uniform squares for clean section view.
   Modal = masonry layout (CSS columns) — every image keeps its
   natural aspect ratio (squares, portraits, story 9:16, landscape).
=========================================== */

/* ===== PREVIEW GRID — 5 cards, masonry (respects natural aspect ratios) ===== */
.social-preview-grid {
  column-count: 5;
  column-gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) { .social-preview-grid { column-count: 3; column-gap: 14px; } }
@media (max-width: 600px)  { .social-preview-grid { column-count: 2; column-gap: 12px; } }

.social-preview-card {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f7;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(26, 20, 36, .04);
  cursor: pointer;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), box-shadow .5s, border-color .5s;
}
@media (max-width: 1024px) { .social-preview-card { margin-bottom: 14px; } }
@media (max-width: 600px)  { .social-preview-card { margin-bottom: 12px; } }

.social-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(100, 40, 120, .15);
  border-color: rgba(100, 40, 120, .25);
}
.social-preview-card img {
  display: block;
  width: 100%;
  height: auto;        /* Natural aspect ratio preserved */
  transition: transform .6s cubic-bezier(.7, 0, .2, 1);
}
.social-preview-card:hover img { transform: scale(1.06); }

/* ===== MODAL — MASONRY (Pinterest-style, natural aspect ratios) =====
   Uses CSS columns: images flow top-to-bottom in each column.
   Each image displays at its full natural aspect ratio — no cropping. */
.work-modal-social-grid {
  column-count: 4;
  column-gap: 14px;
}
@media (max-width: 1100px) { .work-modal-social-grid { column-count: 3; column-gap: 12px; } }
@media (max-width: 700px)  { .work-modal-social-grid { column-count: 2; column-gap: 10px; } }
@media (max-width: 420px)  { .work-modal-social-grid { column-count: 2; column-gap: 8px; } }

.modal-social-cell {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f7;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
}
@media (max-width: 1100px) { .modal-social-cell { margin-bottom: 12px; } }
@media (max-width: 700px)  { .modal-social-cell { margin-bottom: 10px; } }
@media (max-width: 420px)  { .modal-social-cell { margin-bottom: 8px; } }

.modal-social-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(100, 40, 120, .15);
}
.modal-social-cell img {
  display: block;
  width: 100%;
  height: auto;        /* CRITICAL: lets each image keep its natural aspect ratio */
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.modal-social-cell:hover img { transform: scale(1.04); }

/* ===========================================
   SECTIONS 4 & 5 — CAROUSELS & MENUS
=========================================== */

/* Override the default 1:1 brand-card aspect ratio so the preview tiles
   match the natural shape of their cover images — no cropping needed. */

/* Section 4 — Carousels: 4:5 portrait (Instagram post format) */
#carousels .brand-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) { #carousels .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { #carousels .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { #carousels .brand-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }

#carousels .brand-card { aspect-ratio: 4 / 5; }
#carousels .brand-card-img img { object-position: center center; }

/* Section 5 — Menus: 9:16 story format. Cards naturally taller. */
#menus .brand-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { #menus .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { #menus .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { #menus .brand-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; } }

#menus .brand-card { aspect-ratio: 9 / 16; }
#menus .brand-card-img img { object-position: center center; }

/* Slightly tighter overlay on portrait cards so it doesn't dominate the cover */
#carousels .brand-card-overlay,
#menus .brand-card-overlay {
  padding: 20px 18px 18px;
  background: linear-gradient(to top, rgba(26, 20, 36, .9) 0%, rgba(26, 20, 36, .65) 50%, transparent 100%);
}
#carousels .brand-card-overlay h3,
#menus .brand-card-overlay h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
#carousels .brand-card-cta,
#menus .brand-card-cta {
  font-size: 11.5px;
}

/* On the very narrow menu cards, scale down the headline a touch more */
@media (min-width: 481px) and (max-width: 1100px) {
  #menus .brand-card-overlay h3 { font-size: 15px; }
}

/* Carousel modal gallery — 4:5 portrait slides */
.work-modal-gallery-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .work-modal-gallery-carousel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .work-modal-gallery-carousel { grid-template-columns: 1fr; } }

.work-modal-gallery-carousel figure {
  margin: 0;
  background: var(--bg-soft);
  border-radius: 14px;
  overflow: hidden;
}
.work-modal-gallery-carousel img {
  width: 100%;
  aspect-ratio: 4 / 5;        /* matches the natural slide ratio */
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.work-modal-gallery-carousel figure:hover img { transform: scale(1.04); }
.work-modal-gallery-carousel figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  text-align: center;
  letter-spacing: .04em;
}

/* Menu modal gallery — 9:16 story-format slides */
.work-modal-gallery-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .work-modal-gallery-menu { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .work-modal-gallery-menu { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .work-modal-gallery-menu { grid-template-columns: 1fr; } }

.work-modal-gallery-menu figure {
  margin: 0;
  background: var(--bg-soft);
  border-radius: 14px;
  overflow: hidden;
}
.work-modal-gallery-menu img {
  width: 100%;
  aspect-ratio: 9 / 16;       /* matches the natural story slide ratio */
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.work-modal-gallery-menu figure:hover img { transform: scale(1.04); }
.work-modal-gallery-menu figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  text-align: center;
  letter-spacing: .04em;
}

/* Section 6 — Website Previews: wide landscape box, full screenshot always visible (no cropping) */
#websites .brand-card { aspect-ratio: 16 / 10; }
#websites .brand-card-img {
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
#websites .brand-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* Website preview modal gallery — full screenshot always visible (no cropping) */
.work-modal-gallery-website {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .work-modal-gallery-website { grid-template-columns: 1fr; } }

.work-modal-gallery-website figure {
  margin: 0;
  background: var(--bg-soft);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.work-modal-gallery-website img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.work-modal-gallery-website figure:hover img { transform: scale(1.04); }
.work-modal-gallery-website figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  text-align: center;
  letter-spacing: .04em;
}

/* "Visit Live Website" CTA row inside website preview modals */
.work-modal-visit {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ===========================================
   REVIEWS PAGE
=========================================== */
.reviews-section {
  padding: 100px 36px;
  background: #fff;
}
.reviews-section .container { max-width: 1280px; margin: 0 auto; }
@media (max-width: 768px) { .reviews-section { padding: 70px 24px; } }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 880px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 34px;
  box-shadow: 0 4px 30px rgba(26, 20, 36, .04);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), box-shadow .5s, border-color .5s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.review-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(100, 40, 120, .12);
  border-color: rgba(100, 40, 120, .2);
}
.review-card:hover::before { transform: scaleX(1); }

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.review-quote-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(100, 40, 120, .1), rgba(200, 20, 120, .1));
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: all .4s;
}
.review-card:hover .review-quote-icon {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.review-stars {
  display: flex;
  gap: 4px;
  color: #f0c93c;
  font-size: 15px;
}
.review-body { flex: 1; margin-bottom: 26px; }
.review-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 14px;
}
.review-body p:last-child { margin-bottom: 0; }
.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.review-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(100, 40, 120, .25);
}
.review-author-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.2;
}
.review-author-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
}

/* Badge + stars grouped on the right of a review card's top row (used for the "New" tag) */
.review-card-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-badge-new {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime), var(--mint));
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(140, 180, 60, .3);
}

/* Truncated preview text inside a review card, expanded via the "Read Full Review" modal */
.review-body p.review-body-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  margin-bottom: 0;
}

/* "Read Full Review" trigger — reuses .service-link's look, reset as a <button> */
.review-readmore {
  border: none;
  cursor: pointer;
  margin-top: 16px;
}

/* Stars centered inside a review modal's head (vs. space-between on the card) */
.review-stars-modal {
  justify-content: center;
  font-size: 17px;
  margin-bottom: 6px;
}

/* ===========================================
   CONTACT PAGE — INTRO SPLIT
=========================================== */
.contact-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 980px) {
  .contact-intro-grid { grid-template-columns: 1fr; gap: 30px; }
}

.contact-intro-copy h2 {
  font-weight: 900;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 14px 0 18px;
}
.contact-intro-copy h2 .magenta { color: var(--magenta); }
.contact-intro-copy > p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}
.contact-intro-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-intro-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.contact-intro-list li i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  font-size: 11px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(100, 40, 120, .25);
}

.contact-intro-card {
  position: relative;
  background: linear-gradient(135deg, rgba(100, 40, 120, .04) 0%, rgba(200, 20, 120, .04) 100%);
  border: 1px solid rgba(100, 40, 120, .14);
  border-radius: 22px;
  padding: 36px 30px;
  overflow: hidden;
}
.contact-intro-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 20, 120, .12) 0%, transparent 70%);
  pointer-events: none;
}
.contact-intro-card-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(200, 20, 120, .25);
}
.contact-intro-card h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
}
.contact-intro-card > p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: all .3s cubic-bezier(.2, .7, .2, 1);
  text-decoration: none;
}
.contact-direct-item:hover {
  transform: translateX(4px);
  border-color: rgba(100, 40, 120, .25);
  box-shadow: 0 8px 24px rgba(100, 40, 120, .1);
}
.contact-direct-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(100, 40, 120, .1), rgba(200, 20, 120, .1));
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all .3s;
}
.contact-direct-item:hover .contact-direct-icon {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
}
.contact-direct-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.contact-direct-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--magenta);
}
.contact-direct-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

/* Social row inside the Direct Contact card */
.contact-direct-social {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact-direct-social-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--magenta);
  margin-bottom: 12px;
}

/* ===========================================
   CONTACT FORM
=========================================== */
.contact-form {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 10px 50px rgba(26, 20, 36, .06);
}
@media (max-width: 768px) {
  .contact-form { padding: 30px 22px; border-radius: 18px; }
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 26px;
}
@media (max-width: 600px) { .contact-form-grid { grid-template-columns: 1fr; gap: 18px; } }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group-full { grid-column: 1 / -1; }

.form-group label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color .3s, box-shadow .3s, background .3s;
  width: 100%;
  outline: none;
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
  font-family: inherit;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23642878' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
  cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(26, 20, 36, .35);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(100, 40, 120, .12);
  background: #fff;
}

/* "Service Needed" checklist */
.service-checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 700px) { .service-checklist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .service-checklist { grid-template-columns: 1fr; } }

.service-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: all .25s;
}
.service-check:hover { border-color: rgba(100, 40, 120, .3); }
.service-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.service-check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  transition: all .25s;
}
.service-check-box i {
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s, transform .25s;
}
.service-check input[type="checkbox"]:checked ~ .service-check-box {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  border-color: var(--purple);
}
.service-check input[type="checkbox"]:checked ~ .service-check-box i {
  opacity: 1;
  transform: scale(1);
}
.service-check:has(input[type="checkbox"]:checked) {
  border-color: var(--purple);
  background: rgba(100, 40, 120, .04);
}
.service-check input[type="checkbox"]:focus-visible ~ .service-check-box {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}
.service-check-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Terms checkbox row */
.contact-terms-row { margin-bottom: 28px; }
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.terms-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.terms-check-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  transition: all .25s;
  margin-top: 1px;
}
.terms-check-box i {
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s, transform .25s;
}
.terms-check input[type="checkbox"]:checked ~ .terms-check-box {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  border-color: var(--purple);
  box-shadow: 0 4px 12px rgba(100, 40, 120, .25);
}
.terms-check input[type="checkbox"]:checked ~ .terms-check-box i {
  opacity: 1;
  transform: scale(1);
}
.terms-check input[type="checkbox"]:focus-visible ~ .terms-check-box {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}
.terms-check-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.terms-link-button {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  color: var(--purple);
  text-decoration: underline;
  cursor: pointer;
  transition: color .25s;
}
.terms-link-button:hover { color: var(--magenta); }

/* Submit row */
.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.contact-submit-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
  min-width: 220px;
}

/* Hidden iframe for FormSubmit */
.hidden-iframe {
  width: 0;
  height: 0;
  border: 0;
  display: block;
  visibility: hidden;
  position: absolute;
}

/* Success banner */
.contact-success-banner {
  max-width: 880px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(80, 160, 180, .12), rgba(140, 180, 60, .12));
  border: 1px solid rgba(80, 160, 180, .35);
  border-radius: 14px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-10px);
  animation: bannerIn .4s cubic-bezier(.2, .7, .2, 1) forwards;
}
.contact-success-banner.fade-out {
  animation: bannerOut .5s cubic-bezier(.7, 0, .2, 1) forwards;
}
.contact-success-banner i {
  font-size: 26px;
  color: var(--teal);
  flex-shrink: 0;
}
.contact-success-banner strong { display: block; font-weight: 700; }
.contact-success-banner span { display: block; font-size: 13.5px; color: var(--muted); }
@keyframes bannerIn  { to { opacity: 1; transform: translateY(0); } }
@keyframes bannerOut { to { opacity: 0; transform: translateY(-10px); } }

/* ===========================================
   TERMS OF SERVICE MODAL
=========================================== */
.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s ease, visibility .4s;
}
.terms-modal.is-open {
  visibility: visible;
  opacity: 1;
}
.terms-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 36, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.terms-modal-dialog {
  position: relative;
  background: #fff;
  margin: 4vh auto;
  max-width: 860px;
  width: calc(100% - 32px);
  max-height: 92vh;
  border-radius: 24px;
  padding: 50px 44px 40px;
  overflow-y: auto;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
  transform: translateY(20px) scale(.98);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.terms-modal.is-open .terms-modal-dialog { transform: translateY(0) scale(1); }
@media (max-width: 768px) {
  .terms-modal-dialog { margin: 2.5vh auto; padding: 40px 22px 28px; border-radius: 18px; max-height: 95vh; }
}

.terms-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: all .3s;
}
.terms-modal-close:hover {
  background: var(--purple);
  color: #fff;
  transform: rotate(90deg);
}

.terms-modal-head { text-align: center; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.terms-modal-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 14px 0 12px;
}
.terms-modal-head > p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.terms-modal-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--purple);
  margin: 24px 0 10px;
  line-height: 1.25;
}
.terms-modal-body h3:first-child { margin-top: 0; }
.terms-modal-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 10px;
}
.terms-modal-body ul {
  margin: 0 0 10px;
  padding-left: 22px;
}
.terms-modal-body li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 4px;
}
.terms-modal-body strong { color: var(--purple); }

/* ===========================================
   SUCCESS MODAL
=========================================== */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s ease, visibility .4s;
}
.success-modal.is-open {
  visibility: visible;
  opacity: 1;
}
.success-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 36, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.success-modal-dialog {
  position: relative;
  background: #fff;
  margin: 14vh auto;
  max-width: 440px;
  width: calc(100% - 32px);
  border-radius: 24px;
  padding: 46px 34px 40px;
  text-align: center;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
  transform: translateY(20px) scale(.98);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.success-modal.is-open .success-modal-dialog { transform: translateY(0) scale(1); }
@media (max-width: 600px) {
  .success-modal-dialog { margin: 10vh auto; padding: 40px 26px 34px; }
}
.success-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .3s;
}
.success-modal-close:hover {
  background: var(--purple);
  color: #fff;
  transform: rotate(90deg);
}
.success-modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  color: #fff;
  font-size: 28px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(140, 180, 60, .3);
}
.success-modal-dialog h2 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.success-modal-dialog p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ===========================================
   TEAM PAGE
=========================================== */
.team-section {
  padding: 40px 36px 110px;
  background: #fff;
}
.team-section .container { max-width: 1300px; margin: 0 auto; }
@media (max-width: 768px) { .team-section { padding: 20px 24px 80px; } }

/* Flex + wrap + center instead of a strict grid, so an uneven last row
   (e.g. 7 members = 2 full rows + 1) centers itself instead of hugging the left edge. */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.team-card {
  flex: 1 1 340px;
  max-width: 380px;
  background: #fff;
  border-radius: 22px;
  padding: 36px 30px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(26, 20, 36, .04);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), box-shadow .5s, border-color .5s;
  position: relative;
  overflow: hidden;
}
@media (max-width: 600px) { .team-card { flex-basis: 100%; max-width: 380px; } }
.team-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(100, 40, 120, .12);
  border-color: rgba(100, 40, 120, .2);
}
.team-card:hover::before { transform: scaleX(1); }

.team-card-avatar {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(100, 40, 120, .1), rgba(200, 20, 120, .1));
  color: var(--purple);
  font-size: 38px;
  overflow: hidden;
  transition: all .4s;
}
/* Fallback fa-user icon sits behind the photo. If the <img> 404s (no headshot
   uploaded yet), its onerror hides it and the icon shows through automatically. */
.team-card-avatar i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.team-card-avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Same photo-with-icon-fallback treatment, sized up for the bio modal header */
.team-modal-avatar {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  font-size: 50px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(100, 40, 120, .25);
}
.team-modal-avatar i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.team-modal-avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card:hover .team-card-avatar {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  transform: scale(1.05);
}

.team-card-name {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 4px;
}
.team-card-role {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--magenta);
  margin-bottom: 14px;
}
.team-card-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}
.team-card-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.team-card-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 14px;
  transition: transform .3s, background .3s, color .3s;
}
.team-card-socials a:hover {
  transform: translateY(-3px);
  background: var(--purple);
  color: #fff;
}

/* "Read Full Bio" trigger — reuses .service-link's look, reset as a <button> */
.team-card-readmore {
  border: none;
  cursor: pointer;
}

/* Full bio text inside the team member modal */
.team-modal-bio p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 14px;
}
.team-modal-bio p:last-child { margin-bottom: 0; }
.team-modal-bio strong { color: var(--purple); }

/* "Join Our Team" CTA card — 8th grid item, styled as an invitation rather than a person */
.team-card-join {
  background: linear-gradient(150deg, rgba(100, 40, 120, .05) 0%, rgba(200, 20, 120, .05) 100%);
  border: 1.5px dashed rgba(100, 40, 120, .3);
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.team-card-join:hover {
  border-style: solid;
  border-color: rgba(100, 40, 120, .3);
}
.team-card-join .team-card-avatar {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
}
.team-card-join .team-card-role { color: var(--purple); }
.team-card-join a.team-card-readmore { text-decoration: none; }

/* ===========================================
   COLLABORATIONS PAGE
=========================================== */
.collab-section {
  padding: 40px 36px 110px;
  background: #fff;
}
.collab-section .container { max-width: 1300px; margin: 0 auto; }
@media (max-width: 768px) { .collab-section { padding: 20px 24px 80px; } }

.collab-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.collab-card {
  flex: 1 1 280px;
  max-width: 320px;
  background: #fff;
  border-radius: 22px;
  padding: 36px 30px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(26, 20, 36, .04);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1), box-shadow .5s, border-color .5s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 600px) { .collab-card { flex-basis: 100%; max-width: 380px; } }
.collab-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.collab-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(100, 40, 120, .12);
  border-color: rgba(100, 40, 120, .2);
}
.collab-card:hover::before { transform: scaleX(1); }

.collab-card-logo {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 22px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  transition: all .4s;
}
.collab-card-logo i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: rgba(100, 40, 120, .3);
}
.collab-card-logo img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.collab-card:hover .collab-card-logo {
  border-color: rgba(100, 40, 120, .25);
  box-shadow: 0 10px 24px rgba(100, 40, 120, .12);
}

.collab-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.3;
}
.collab-card-readmore { border: none; cursor: pointer; margin-top: auto; }

/* "Could Colart Add Value to Your Business?" CTA card — styled as an invitation, like Join Our Team */
.collab-card-cta {
  background: linear-gradient(150deg, rgba(100, 40, 120, .05) 0%, rgba(200, 20, 120, .05) 100%);
  border: 1.5px dashed rgba(100, 40, 120, .3);
  justify-content: center;
}
.collab-card-cta:hover {
  border-style: solid;
  border-color: rgba(100, 40, 120, .3);
}
.collab-card-cta .collab-card-logo {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  border: none;
}
.collab-card-cta .collab-card-logo i {
  position: static;
  color: #fff;
}

/* Logo shown inside a collaboration bio modal's head */
.collab-modal-logo {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px;
}
.collab-modal-logo i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: rgba(100, 40, 120, .3);
}
.collab-modal-logo img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.collab-modal-logo-cta {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  border: none;
}
.collab-modal-logo-cta i {
  position: static;
  color: #fff;
}

/* Contact tiles reused inside the "Add Value" modal */
.collab-modal-contact {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.collab-modal-contact .contact-direct-social-label {
  display: block;
  margin-bottom: 12px;
}

/* Valuable Clients grid — tighten the gap to the section above it */
.collab-clients-section { padding-top: 10px; }

/* Placeholder social row inside "coming soon" client modals */
.collab-client-social {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.collab-client-social .contact-direct-social-label { display: block; margin-bottom: 12px; }
.collab-client-social-icons { display: flex; gap: 10px; }
.collab-client-social-icons span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 20, 36, .06);
  color: var(--muted);
  font-size: 14px;
}
.collab-client-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 12px;
}

/* ===========================================
   PHOTO LIGHTBOX — full-screen zoom + swipe
   Used across every Our Work popup gallery
=========================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s ease, visibility .35s;
}
.lightbox.is-open { visibility: visible; opacity: 1; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 14, .96);
}

.lightbox-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  padding: 74px 84px 92px;
}
@media (max-width: 768px) { .lightbox-stage { padding: 64px 14px 84px; } }

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .5);
}
.lightbox-img.is-zoomed { cursor: zoom-out; }
.lightbox-img.is-dragging { transition: none; }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: all .3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 100%); }

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  font-size: 18px;
}
.lightbox-close:hover { transform: rotate(90deg); }

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 18px;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 14px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 15px; }
}

.lightbox-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 24px calc(18px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.lightbox-caption {
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}
.lightbox-caption:empty { display: none; }
.lightbox-counter {
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}
.lightbox-caption:not(:empty) + .lightbox-counter {
  border-left: 1px solid rgba(255, 255, 255, .2);
  padding-left: 14px;
}

.lightbox-hint {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}
@media (max-width: 768px) { .lightbox-hint { display: none; } }

/* Make gallery images read as clickable/zoomable inside popups */
.work-modal-gallery img,
.work-modal-logo-grid img,
.work-modal-social-grid img,
.modal-logo-cell img,
.modal-social-cell img {
  cursor: zoom-in;
}
