/* ============================================
   YASH KHANDELWAL | PORTFOLIO
   Modern dark minimal design
   ============================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
  --bg-primary: #09090b;
  --bg-secondary: #18181b;
  --bg-tertiary: #27272a;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #f59e0b;
  --accent-hover: #d97706;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-hero: clamp(2.25rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;

  --lh-body: 1.7;
  --ls-heading: -0.02em;

  --container-max: 1100px;
  --section-pad: clamp(60px, 8vw, 100px);
  --card-radius: 12px;
  --tag-radius: 6px;
  --btn-radius: 8px;

  --transition: 0.3s ease;

  --nav-height: 72px;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-main);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--accent);
  color: var(--bg-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- FOCUS STYLES --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- CONTAINER --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVIGATION --- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.nav-header.scrolled {
  background-color: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: var(--ls-heading);
  color: var(--text-primary);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav__logo:hover {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__link.active::after {
  width: 100%;
}

.nav__link--icon {
  display: flex;
  align-items: center;
}

.nav__link--icon::after {
  display: none;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--filled {
  background-color: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

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

.btn--outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--bg-tertiary);
}

.btn--outline:hover {
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

.hero__content {
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--bg-tertiary);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero__intro {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.hero__headline {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.text-accent {
  color: var(--accent);
}

.hero__subtext {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- SECTIONS --- */
.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background-color: var(--bg-secondary);
}

.section__header {
  margin-bottom: 56px;
}

.section__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* --- TAGS --- */
.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-secondary);
  background-color: var(--bg-tertiary);
  padding: 4px 12px;
  border-radius: var(--tag-radius);
  white-space: nowrap;
}

.tag--stack {
  background-color: rgba(245, 158, 11, 0.08);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.services-grid .service-card:last-child {
  /* 6 cards: 2x3 grid, no special treatment needed */
}

.service-card {
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--bg-tertiary);
  border-radius: var(--card-radius);
  padding: 36px;
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.service-card__number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--bg-tertiary);
  letter-spacing: 0.05em;
}

.service-card:hover .service-card__number {
  color: var(--text-muted);
}

.service-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: var(--ls-heading);
  margin-bottom: 12px;
  padding-right: 40px;
}

.service-card__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  list-style: disc;
  padding-left: 1.2em;
}

.service-card__desc li {
  margin-bottom: 6px;
}

.service-card__desc li:last-child {
  margin-bottom: 0;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- WORK CARDS --- */
.work-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.work-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--bg-tertiary);
  border-radius: var(--card-radius);
  transition: border-color var(--transition), transform var(--transition);
  overflow: hidden;
}

.work-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.work-card__content {
  padding: 40px;
}

.work-card__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.work-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: var(--ls-heading);
}

.work-card__industry {
  font-size: var(--fs-small);
  color: var(--accent);
  font-weight: 500;
}

.work-card__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 800px;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- WORK CARD HIGHLIGHTS --- */
.work-card__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.work-card__highlights li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

.work-card__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.work-card__highlights li:last-child {
  margin-bottom: 0;
}

/* --- WORK CARD GALLERY --- */
.work-card__gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.work-card__gallery::-webkit-scrollbar {
  height: 4px;
}

.work-card__gallery::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
  border-radius: 2px;
}

.work-card__gallery::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 2px;
}

.work-card__screenshot {
  flex: 0 0 auto;
  width: min(85%, 480px);
  border-radius: var(--card-radius);
  border: 1px solid var(--bg-tertiary);
  scroll-snap-align: start;
  transition: border-color var(--transition);
}

.work-card__screenshot:hover {
  border-color: var(--text-muted);
}

@media (max-width: 768px) {
  .work-card__screenshot {
    width: 90%;
  }
}

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about__text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about__text p:first-child {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 500;
}

.about__text p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
  font-weight: 500;
}

.stack-group {
  margin-bottom: 28px;
}

.stack-group:last-child {
  margin-bottom: 0;
}

.stack-group__title {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.stack-group__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- CONTACT --- */

.contact-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--bg-tertiary);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-item__value {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition);
}

.contact-item__value:hover {
  color: var(--accent);
}

.contact-item__value--email {
  font-size: 1.375rem;
  font-weight: 600;
}

.contact__note {
  margin-top: 32px;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* --- FOOTER --- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--bg-tertiary);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.footer__link {
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.footer__link:hover {
  color: var(--text-primary);
}

/* --- ABOUT PHOTO --- */
.about__photo {
  display: flex;
  justify-content: center;
}

.about__img {
  width: 280px;
  height: 280px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--bg-tertiary);
}

/* --- CLIENTS STRIP --- */
.clients-section {
  padding: 48px 0;
}

.clients__label {
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.clients-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.client-logo {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
  border-radius: 8px;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- WORK CARD LOGO --- */
.work-card__logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid var(--bg-tertiary);
  margin-bottom: 16px;
  background: var(--bg-primary);
}

/* --- FADE-IN ANIMATION --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */

/* Tablet */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }

  .about__text,
  .about__stack {
    justify-self: start;
    width: 100%;
  }

  .about__img {
    width: 200px;
    height: 200px;
  }

  .clients-grid {
    gap: 24px;
  }

  .client-logo {
    height: 36px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 48px 36px;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--bg-tertiary);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 1000;
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.25rem;
  }

  .nav__link::after {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero__headline {
    line-height: 1.2;
  }

  .work-card__content {
    padding: 28px;
  }

  .work-card__meta {
    flex-direction: column;
    gap: 4px;
  }

  .service-card {
    padding: 28px;
  }

  .btn {
    padding: 12px 24px;
    width: 100%;
    justify-content: center;
  }

  .hero__cta {
    flex-direction: column;
  }
}

/* Mobile overlay background */
@media (max-width: 768px) {
  .nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
}

/* --- SKIP TO CONTENT --- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background-color: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: var(--fs-small);
  border-radius: var(--btn-radius);
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 16px;
}

/* --- NAV CTA --- */
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--bg-primary);
  background-color: var(--accent);
  border-radius: 100px;
  transition: all var(--transition);
  margin-left: 8px;
  white-space: nowrap;
}

.nav__cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* --- SCROLLING MARQUEE --- */
.marquee {
  padding: 24px 0;
  border-top: 1px solid var(--bg-tertiary);
  border-bottom: 1px solid var(--bg-tertiary);
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee__content {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.marquee__content span {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 20px;
  border: 1px solid var(--bg-tertiary);
  border-radius: 100px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.marquee__content span:hover {
  color: var(--text-secondary);
  border-color: var(--text-muted);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* --- WORK CARD METRICS --- */
.work-card__metrics {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--bg-tertiary);
  border-bottom: 1px solid var(--bg-tertiary);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric__value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: var(--ls-heading);
}

.metric__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- ENHANCED CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-details__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: var(--ls-heading);
  margin-bottom: 20px;
  color: var(--text-primary);
}

.contact-details__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.contact-details__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-details__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.contact-details__list li:last-child {
  margin-bottom: 0;
}

/* --- FOOTER TAGLINE --- */
.footer__tagline {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* --- RESPONSIVE UPDATES --- */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .work-card__metrics {
    gap: 20px;
    flex-wrap: wrap;
  }

  .nav__cta {
    display: none;
  }

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

  .footer__tagline {
    order: 2;
  }
}

@media (max-width: 480px) {
  .work-card__metrics {
    flex-direction: column;
    gap: 16px;
  }

  .metric {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }
}

/* --- THEME TOGGLE --- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--bg-tertiary);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  margin-left: 16px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

/* In dark mode: show sun icon (to switch to light), hide moon */
[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}
[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

/* In light mode: show moon icon (to switch to dark), hide sun */
[data-theme="light"] .theme-toggle__icon--sun {
  display: none;
}
[data-theme="light"] .theme-toggle__icon--moon {
  display: block;
}

/* --- LIGHT THEME --- */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-tertiary: #e5e5e5;
  --text-primary: #171717;
  --text-secondary: #525252;
  --text-muted: #737373;
  --accent: #d97706;
  --accent-hover: #b45309;
}

[data-theme="light"] .nav-header.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

[data-theme="light"] ::selection {
  background-color: var(--accent);
  color: #ffffff;
}

[data-theme="light"] .tag--stack {
  background-color: rgba(217, 119, 6, 0.08);
  color: var(--accent);
  border-color: rgba(217, 119, 6, 0.2);
}

[data-theme="light"] .nav__cta {
  color: #ffffff;
}

[data-theme="light"] .btn--filled {
  color: #ffffff;
}

[data-theme="light"] .metric__value {
  color: var(--accent);
}

[data-theme="light"] .contact-details__list li::before {
  background-color: var(--accent);
}

@media (max-width: 768px) {
  .theme-toggle {
    position: absolute;
    top: 12px;
    right: 60px;
  }

  [data-theme="light"] .nav__links {
    background-color: var(--bg-secondary);
    border-left-color: var(--bg-tertiary);
  }
}

/* --- COST OF INACTION BANNER --- */
.cta-section {
  padding: var(--section-pad) 0;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(245, 158, 11, 0.02));
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--card-radius);
  padding: 56px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.4;
}

.cta-banner__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FIT SECTION --- */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fit-card {
  border: 1px solid var(--bg-tertiary);
  border-radius: var(--card-radius);
  padding: 36px;
}

.fit-card--yes {
  border-color: rgba(34, 197, 94, 0.25);
  background-color: rgba(34, 197, 94, 0.03);
}

.fit-card--no {
  border-color: rgba(239, 68, 68, 0.25);
  background-color: rgba(239, 68, 68, 0.03);
}

.fit-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: var(--ls-heading);
  margin-bottom: 20px;
  color: var(--text-primary);
}

.fit-card--yes .fit-card__title {
  color: #22c55e;
}

.fit-card--no .fit-card__title {
  color: #ef4444;
}

.fit-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fit-card__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.fit-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.fit-card--yes .fit-card__list li::before {
  background-color: #22c55e;
}

.fit-card--no .fit-card__list li::before {
  background-color: #ef4444;
}

.fit-card__list li:last-child {
  margin-bottom: 0;
}

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

  .cta-banner {
    padding: 36px 24px;
  }
}

/* --- EXPANDABLE WORK CARDS --- */
.work-card__expand {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-tertiary);
}

.expand-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--font-main);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}

.expand-toggle:hover {
  color: var(--accent-hover);
}

.expand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 1rem;
  transition: transform var(--transition);
}

.expand-toggle[aria-expanded="true"] .expand-icon {
  transform: rotate(45deg);
}

.expand-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.expand-content.open {
  opacity: 1;
}

.expand-steps {
  list-style: none;
  counter-reset: step;
  padding: 20px 0 0 0;
  margin: 0;
}

.expand-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

.expand-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background-color: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
}

.expand-steps li:last-child {
  margin-bottom: 0;
}

.expand-steps li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
