/* ============================================
   STUDIO DA — Shared Components
   Navigation, Footer, Buttons, Cards
   ============================================ */

/* ===========================================
   NAVIGATION
   =========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-lg) 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav--scrolled {
  padding: var(--space-sm) 0;
  background: var(--color-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav--dark:not(.nav--scrolled) .nav__link,
.nav--dark:not(.nav--scrolled) .nav__logo-text {
  color: var(--color-text-on-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: calc(var(--z-nav) + 1);
}

.nav__logo img,
.nav__logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav--scrolled .nav__logo-img {
  height: 32px;
}

.nav--dark:not(.nav--scrolled) .nav__logo-img {
  filter: brightness(0) invert(1);
}

.nav__logo-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text);
  transition: color var(--duration-normal);
}

.nav__logo-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  display: block;
  margin-top: -2px;
}

/* Footer Logo */
.footer__logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav__link {
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-normal);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

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

.nav__cta {
  margin-left: var(--space-lg);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: calc(var(--z-nav) + 2);
  background: none;
  border: none;
  padding: var(--space-xs);
}

.nav__hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: all var(--duration-normal) var(--ease-out);
  display: block;
}

.nav--dark:not(.nav--scrolled) .nav__hamburger span {
  background: var(--color-text-on-dark);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: var(--z-nav);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.nav__mobile.active {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile .nav__link {
  font-size: var(--text-h3);
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: var(--tracking-normal);
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }
}


/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-text);
  color: #FFFFFF;
  border: 1.5px solid var(--color-text);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.btn--primary:hover {
  background: #333;
  border-color: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-text);
}

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

.btn--outline-light {
  background: transparent;
  color: var(--color-text-on-dark);
  border: 1.5px solid var(--color-border-on-dark);
}

.btn--outline-light:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  padding: 0.5rem 0;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.btn--ghost::after {
  content: '→';
  transition: transform var(--duration-normal) var(--ease-out);
  display: inline-block;
  margin-left: var(--space-xs);
}

.btn--ghost:hover::after {
  transform: translateX(6px);
}

.btn--lg {
  padding: 1.1rem 2.8rem;
  font-size: var(--text-body);
}

/* Magnetic Button Wrapper */
.magnetic-wrap {
  display: inline-block;
  position: relative;
}


/* ===========================================
   CARDS
   =========================================== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: var(--space-xl);
}

.card__overline {
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.card__text {
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.card__meta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
}

/* Service Card (icon variant) */
.service-card {
  padding: var(--space-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--duration-slow) var(--ease-out);
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  color: var(--color-accent);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: var(--space-md);
  font-weight: 400;
}

/* Stat Card */
.stat {
  text-align: center;
  padding: var(--space-xl);
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.stat--dark .stat__label {
  color: var(--color-text-on-dark-secondary);
}


/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: #2E2A25;
  color: var(--color-text-on-dark);
  padding: var(--space-5xl) 0 var(--space-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.footer__brand-text {
  font-size: var(--text-body);
  color: var(--color-text-on-dark-secondary);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-lg);
  max-width: 36ch;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.footer__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--text-small);
  color: var(--color-text-on-dark-secondary);
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast);
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-small);
  color: var(--color-text-on-dark-secondary);
  margin-bottom: var(--space-sm);
}

.footer__contact-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  border-top: 1px solid var(--color-border-on-dark);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__legal {
  font-size: var(--text-caption);
  color: var(--color-text-on-dark-secondary);
}

.footer__legal-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal-links a {
  font-size: var(--text-caption);
  color: var(--color-text-on-dark-secondary);
  transition: color var(--duration-fast);
}

.footer__legal-links a:hover {
  color: var(--color-accent);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal);
  color: var(--color-text-on-dark-secondary);
}

.footer__social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s var(--ease-out) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44,44,44,0.75) 0%,
    rgba(44,44,44,0.3) 40%,
    rgba(44,44,44,0.08) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-4xl) 0;
  width: 100%;
}

.hero__title {
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-lg);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line span {
  display: block;
  transform: translateY(120%);
  animation: lineReveal 1s var(--ease-out) forwards;
}

.hero__title .line:nth-child(2) span { animation-delay: 0.15s; }
.hero__title .line:nth-child(3) span { animation-delay: 0.3s; }

@keyframes lineReveal {
  to { transform: translateY(0); }
}

.hero__subtitle {
  font-size: var(--text-body-lg);
  color: var(--color-text-on-dark-secondary);
  max-width: 48ch;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-on-dark-secondary);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

@media (max-width: 640px) {
  .hero {
    min-height: 90vh;
    align-items: center;
  }
  .hero__content {
    padding: var(--space-5xl) var(--gutter) var(--space-3xl);
  }
  .hero__title {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
}


/* ===========================================
   SECTION HEADER
   =========================================== */
.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header--center {
  text-align: center;
}

.section-header--center .divider {
  margin-left: auto;
  margin-right: auto;
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__text {
  font-size: var(--text-body-lg);
  color: var(--color-text-secondary);
  max-width: 60ch;
  line-height: var(--leading-relaxed);
}

.section-header--center .section-header__text {
  margin-left: auto;
  margin-right: auto;
}


/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
  position: relative;
  padding: var(--space-5xl) 0;
  background: #3A3630;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section__title {
  font-size: var(--text-h1);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-md);
}

.cta-section__text {
  font-size: var(--text-body-lg);
  color: var(--color-text-on-dark-secondary);
  max-width: 50ch;
  margin: 0 auto var(--space-2xl);
}


/* ===========================================
   PAGE HERO (for subpages) — Light, warm style
   =========================================== */
.page-hero {
  padding: calc(var(--space-5xl) + 80px) 0 var(--space-3xl);
  background: var(--color-bg-alt);
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
}

.page-hero__overline {
  margin-bottom: var(--space-md);
}

.page-hero__title {
  font-size: var(--text-h1);
  max-width: 18ch;
  position: relative;
  color: var(--color-text);
}

.page-hero__description {
  font-size: var(--text-body-lg);
  color: var(--color-text-secondary);
  max-width: 50ch;
  margin-top: var(--space-lg);
}


/* ===========================================
   MARQUEE
   =========================================== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.marquee__track {
  display: flex;
  gap: var(--space-3xl);
  animation: marquee 30s linear infinite;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--color-text-tertiary);
  opacity: 0.3;
  flex-shrink: 0;
}

.marquee__separator {
  color: var(--color-accent);
  opacity: 0.5;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ===========================================
   STICKY CTA
   =========================================== */
.sticky-cta {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-modal);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.sticky-cta--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.sticky-cta--dismissed {
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
}

.sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-on-dark);
  position: relative;
}

.sticky-cta__text {
  font-size: var(--text-small);
  color: var(--color-text-on-dark-secondary);
  white-space: nowrap;
}

.sticky-cta__text strong {
  color: var(--color-text-on-dark);
  display: block;
  margin-bottom: 2px;
}

.sticky-cta__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-bg-darker);
  border: 1px solid var(--color-border-on-dark);
  color: var(--color-text-on-dark-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  transition: all var(--duration-fast);
  padding: 0;
}

.sticky-cta__close:hover {
  background: var(--color-error);
  color: white;
  border-color: var(--color-error);
}

@media (max-width: 640px) {
  .sticky-cta {
    bottom: var(--space-md);
    right: var(--space-md);
    left: var(--space-md);
  }

  .sticky-cta__inner {
    justify-content: center;
  }

  .sticky-cta__text {
    display: none;
  }
}

/* Sticky CTA: invert button to white on dark background */
.sticky-cta .btn--primary {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}
.sticky-cta .btn--primary:hover {
  background: #F7F5F2;
  border-color: #F7F5F2;
  color: var(--color-text);
}

/* Focus Card link hover */
.focus-card__link:hover {
  color: #8B6B4A;
}


/* ===========================================
   MODAL BASE
   =========================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 10);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.modal--open {
  opacity: 1;
  pointer-events: all;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2xl);
  transform: scale(0.95) translateY(10px);
  transition: transform var(--duration-normal) var(--ease-out);
}

.modal--open .modal__content {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
  padding: 0;
}

.modal__close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: rotate(90deg);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.modal__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  padding-right: var(--space-2xl);
}

.modal__text {
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
}

/* Modal Form Inputs */
.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.modal__input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: var(--text-body);
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast);
}

.modal__input::placeholder {
  color: var(--color-text-tertiary);
}

.modal__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.modal__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.modal__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
  cursor: pointer;
}

.modal__checkbox span {
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.modal__checkbox a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Modal Form Error */
.pdf-form__error {
  font-size: var(--text-caption);
  color: var(--color-error);
  padding: var(--space-sm) var(--space-md);
  background: rgba(196,90,90,0.08);
  border-radius: var(--radius-sm);
  display: none;
}

/* Modal Success State */
.pdf-success-state {
  text-align: center;
  padding: var(--space-xl) 0;
  display: none;
}

.pdf-success-state__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: var(--color-success);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-success-state__icon svg {
  width: 32px;
  height: 32px;
}

.pdf-success-state__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.pdf-success-state__text {
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  line-height: var(--leading-relaxed);
}

/* Exit Intent specific */
.exit-intent__emoji {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}


/* ===========================================
   PDF EXPORT BUTTON
   =========================================== */
.btn--pdf {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.65rem 1.2rem;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

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

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

@media print {
  .sticky-cta, .modal, .nav, .footer, .btn--pdf,
  .filter-bar, .tool-tabs, .tool-cta {
    display: none !important;
  }
}


/* ===========================================
   FAQ ACCORDION
   =========================================== */
.faq-section {
  background-color: var(--color-bg-alt);
}

.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--color-text);
  line-height: var(--leading-snug);
  transition: color var(--duration-normal) var(--ease-out);
}

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

.faq-item--open .faq-item__question {
  color: var(--color-accent);
}

.faq-item__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item--open .faq-item__icon {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--color-text);
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item__icon::before {
  width: 14px;
  height: 1.5px;
}

.faq-item__icon::after {
  width: 1.5px;
  height: 14px;
}

.faq-item--open .faq-item__icon::before,
.faq-item--open .faq-item__icon::after {
  background: var(--color-bg-dark);
}

.faq-item--open .faq-item__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-item__answer-inner {
  padding: 0 0 var(--space-2xl) 0;
}

.faq-item__answer-inner p {
  font-size: var(--text-body);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.faq-item__answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-item__answer-inner strong {
  color: var(--color-text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .faq-item__question {
    font-size: var(--text-body);
    gap: var(--space-md);
  }

  .faq-item__icon {
    width: 30px;
    height: 30px;
  }

  .faq-item__icon::before {
    width: 12px;
  }

  .faq-item__icon::after {
    height: 12px;
  }
}


/* ===========================================
   PROJECT BADGES
   =========================================== */
.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

.project-badge--success {
  background: rgba(74,124,89,0.12);
  color: var(--color-success);
}

.project-badge--info {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
