/* ========================================================================
   Franquias Connect — Main Stylesheet
   Design System: Sharp Editorial SaaS
   Color Palette: Black / White / Red accent #C8102E
   Typography: Montserrat (headings) + Inter (body)
   ======================================================================== */

/* ── 01. Custom Properties (Design Tokens) ──────────────────────────────── */

:root {
  /* Colors */
  --fc-black:       #0A0A0A;
  --fc-font-logo:   'Zen Dots', cursive;
  --fc-white:       #FFFFFF;
  --fc-gray-50:     #F8F8F8;
  --fc-gray-100:    #F0F0F0;
  --fc-gray-200:    #E5E5E5;
  --fc-gray-400:    #A0A0A0;
  --fc-gray-600:    #666666;
  --fc-gray-800:    #2A2A2A;
  --fc-accent:      #C9A84C;
  --fc-accent-dark: #A8892A;
  --fc-accent-light:#F5EDD0;
  --fc-footer-bg:   #111111;
  --fc-footer-text: #B0B0B0;

  /* Typography */
  --fc-font-heading: 'Montserrat', sans-serif;
  --fc-font-body:    'Inter', sans-serif;

  /* Font Sizes (Fluid) */
  --fc-text-xs:   0.75rem;
  --fc-text-sm:   0.875rem;
  --fc-text-base: 1rem;
  --fc-text-lg:   1.125rem;
  --fc-text-xl:   1.25rem;
  --fc-text-2xl:  1.5rem;
  --fc-text-3xl:  1.875rem;
  --fc-text-4xl:  2.25rem;
  --fc-text-5xl:  clamp(2rem, 5vw, 3rem);

  /* Spacing (8px base) */
  --fc-space-1:  0.25rem;
  --fc-space-2:  0.5rem;
  --fc-space-3:  0.75rem;
  --fc-space-4:  1rem;
  --fc-space-6:  1.5rem;
  --fc-space-8:  2rem;
  --fc-space-12: 3rem;
  --fc-space-16: 4rem;
  --fc-space-20: 5rem;
  --fc-space-24: 6rem;

  /* Containers */
  --fc-container:     1200px;
  --fc-container-sm:  860px;

  /* Borders */
  --fc-radius:    4px;
  --fc-radius-sm: 2px;
  --fc-radius-lg: 8px;

  /* Shadows */
  --fc-shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --fc-shadow:     0 4px 16px rgba(0,0,0,.10);
  --fc-shadow-lg:  0 8px 32px rgba(0,0,0,.15);

  /* Transitions */
  --fc-transition: 200ms ease;
}

/* ── 02. Reset & Base ────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fc-font-body);
  font-size: var(--fc-text-base);
  color: var(--fc-black);
  background-color: var(--fc-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

button { cursor: pointer; font-family: inherit; }

/* ── 03. Typography ──────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fc-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fc-black);
}

h1 { font-size: var(--fc-text-5xl); font-weight: 900; }
h2 { font-size: var(--fc-text-4xl); }
h3 { font-size: var(--fc-text-2xl); }
h4 { font-size: var(--fc-text-xl); }

p { margin-bottom: var(--fc-space-4); }
p:last-child { margin-bottom: 0; }

/* ── 04. Layout Utilities ────────────────────────────────────────────────── */

.fc-container {
  width: 100%;
  max-width: var(--fc-container);
  margin-inline: auto;
  padding-inline: var(--fc-space-6);
}

.fc-container--sm {
  max-width: var(--fc-container-sm);
}

.fc-section {
  padding-block: var(--fc-space-16);
}

.fc-section--alt {
  background-color: var(--fc-gray-50);
}

.fc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fc-space-8);
}

.fc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--fc-space-8);
}

/* ── 05. Buttons ─────────────────────────────────────────────────────────── */

.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--fc-space-2);
  padding: 0.625rem 1.5rem;
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--fc-radius);
  transition: background-color var(--fc-transition),
              color var(--fc-transition),
              border-color var(--fc-transition),
              transform var(--fc-transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.fc-btn:hover { text-decoration: none; transform: translateY(-1px); }
.fc-btn:active { transform: translateY(0); }

.fc-btn--primary {
  background-color: var(--fc-accent);
  color: var(--fc-white);
  border-color: var(--fc-accent);
}

.fc-btn--primary:hover {
  background-color: var(--fc-accent-dark);
  border-color: var(--fc-accent-dark);
}

.fc-btn--dark {
  background-color: var(--fc-black);
  color: var(--fc-white);
  border-color: var(--fc-black);
}

.fc-btn--dark:hover {
  background-color: var(--fc-gray-800);
  border-color: var(--fc-gray-800);
}

.fc-btn--outline {
  background-color: transparent;
  color: var(--fc-black);
  border-color: var(--fc-black);
}

.fc-btn--outline:hover {
  background-color: var(--fc-black);
  color: var(--fc-white);
}

.fc-btn--outline-white {
  background-color: transparent;
  color: var(--fc-white);
  border-color: var(--fc-white);
}

.fc-btn--outline-white:hover {
  background-color: var(--fc-white);
  color: var(--fc-black);
}

.fc-btn--danger {
  background-color: transparent;
  color: #dc2626;
  border-color: #dc2626;
}

.fc-btn--danger:hover {
  background-color: #dc2626;
  color: var(--fc-white);
}

.fc-btn--full { width: 100%; }
.fc-btn--sm   { padding: 0.4rem 1rem; font-size: var(--fc-text-xs); }
.fc-btn--lg   { padding: 0.875rem 2rem; font-size: var(--fc-text-base); }

/* ── 06. Header ──────────────────────────────────────────────────────────── */

.fc-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--fc-white);
  border-bottom: 1px solid var(--fc-gray-200);
  transition: box-shadow var(--fc-transition);
}

.fc-header.is-scrolled {
  box-shadow: var(--fc-shadow);
}

.fc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--fc-space-8);
}

/* Logo */
.fc-logo {
  display: flex;
  align-items: center;
  gap: var(--fc-space-2);
  flex-shrink: 0;
  text-decoration: none;
}

.fc-logo__text {
  font-family: 'Zen Dots', cursive;
  font-size: 1rem;
  font-weight: 900 !important;
  color: var(--fc-black);
  line-height: 1;
  letter-spacing: 0;
}

.fc-logo__text span {
  color: inherit;
}

/* Primary Navigation */
.fc-nav {
  display: flex;
  align-items: center;
  gap: var(--fc-space-1);
  margin-left: auto;
}

.fc-nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.fc-nav__link {
  display: block;
  padding: var(--fc-space-2) var(--fc-space-4);
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 600;
  color: var(--fc-gray-800);
  border-radius: var(--fc-radius-sm);
  transition: color var(--fc-transition), background-color var(--fc-transition);
  text-decoration: none;
}

.fc-nav__link:hover, .fc-nav__link.current-menu-item {
  color: var(--fc-black);
  background-color: var(--fc-gray-100);
  text-decoration: none;
}

/* Header CTA area */
.fc-nav__mobile-cta {
  display: none;
}

.fc-header__cta {
  display: flex;
  align-items: center;
  gap: var(--fc-space-3);
}

/* Mobile hamburger */
.fc-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.fc-hamburger__line {
  width: 24px;
  height: 2px;
  background-color: var(--fc-black);
  transition: transform var(--fc-transition), opacity var(--fc-transition);
  display: block;
}

.fc-hamburger.is-open .fc-hamburger__line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.fc-hamburger.is-open .fc-hamburger__line:nth-child(2) { opacity: 0; }
.fc-hamburger.is-open .fc-hamburger__line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── 07. Hero Section (Editorial) ────────────────────────────────────────── */

.fc-hero {
  padding-block: var(--fc-space-8);
  background-color: var(--fc-white);
}

.fc-hero__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--fc-space-8);
  align-items: start;
}

/* Featured post */
.fc-featured {
  position: relative;
}

.fc-featured__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--fc-radius);
  display: block;
}

.fc-featured__image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--fc-gray-200);
  border-radius: var(--fc-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-gray-400);
  font-size: var(--fc-text-sm);
}

.fc-featured__category {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background-color: var(--fc-accent);
  color: var(--fc-white);
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--fc-radius-sm);
  margin-bottom: var(--fc-space-4);
  margin-top: var(--fc-space-4);
}

.fc-featured__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--fc-black);
  line-height: 1.15;
  margin-bottom: var(--fc-space-4);
}

.fc-featured__excerpt {
  font-size: var(--fc-text-base);
  color: var(--fc-gray-600);
  margin-bottom: var(--fc-space-6);
}

.fc-featured__meta {
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-400);
  margin-bottom: var(--fc-space-4);
}

.fc-read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--fc-space-2);
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 700;
  color: var(--fc-accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--fc-transition);
}

.fc-read-more:hover {
  border-bottom-color: var(--fc-accent);
  text-decoration: none;
}

.fc-read-more::after { content: ' →'; }

/* Sidebar: Recent posts */

.fc-sidebar__title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-gray-400);
  border-bottom: 2px solid var(--fc-gray-200);
  padding-bottom: var(--fc-space-2);
  margin-bottom: var(--fc-space-4);
}


.fc-recent-post {
  padding-block: var(--fc-space-8);
  border-bottom: 1px solid var(--fc-gray-200);
}

.fc-recent-post:first-child { padding-top: 0; }

.fc-recent-post:last-child { border-bottom: none; }

.fc-recent-post__thumb { display: none; }


.fc-recent-post__category {
  display: block;
  font-family: var(--fc-font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fc-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--fc-space-2);
}

.fc-recent-post__title {
  display: block;
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-lg);
  font-weight: 900;
  line-height: 1.25;
  color: var(--fc-black);
  text-decoration: none;
  margin-bottom: var(--fc-space-2);
}

.fc-recent-post__title:hover { color: var(--fc-accent); text-decoration: none; }

.fc-recent-post__excerpt {
  display: block;
  font-size: var(--fc-text-sm);
  font-style: italic;
  color: var(--fc-gray-400);
  line-height: 1.5;
}

/* ── 08. AdSense / Banner Area ───────────────────────────────────────────── */

.fc-banner {
  padding-block: var(--fc-space-4);
}

.fc-banner__inner {
  background: linear-gradient(135deg, var(--fc-accent) 0%, var(--fc-accent-dark) 100%);
  border-radius: var(--fc-radius);
  padding: var(--fc-space-4) var(--fc-space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fc-space-6);
  min-height: 80px;
  overflow: hidden;
  position: relative;
}

.fc-banner__inner::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.fc-banner__text {
  color: var(--fc-white);
}

.fc-banner__text strong {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xl);
  font-weight: 900;
  display: block;
  margin-bottom: var(--fc-space-1);
}

.fc-banner__text span {
  font-size: var(--fc-text-sm);
  opacity: 0.9;
}

.fc-adsense-placeholder {
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--fc-gray-100);
  border: 1px dashed var(--fc-gray-200);
  color: var(--fc-gray-400);
  font-size: var(--fc-text-xs);
  font-family: var(--fc-font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--fc-radius);
}

/* ── 09. Articles Grid Section ───────────────────────────────────────────── */

.fc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--fc-space-4);
  border-bottom: 2px solid var(--fc-black);
  margin-bottom: var(--fc-space-8);
}

.fc-section-title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xl);
  font-weight: 900;
  color: var(--fc-black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* "Ver mais" link — plain text, no button border */
.fc-section-header .fc-btn--outline {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fc-gray-600);
  text-decoration: none;
}

.fc-section-header .fc-btn--outline:hover {
  background: none;
  color: var(--fc-black);
}

/* Article Card */
.fc-article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  overflow: hidden;
  transition: box-shadow var(--fc-transition), transform var(--fc-transition);
  background: var(--fc-white);
}

.fc-article-card:hover {
  box-shadow: var(--fc-shadow);
  transform: translateY(-2px);
}

.fc-article-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--fc-gray-100);
}

.fc-article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.fc-article-card:hover .fc-article-card__image img {
  transform: scale(1.04);
}

.fc-article-card__body {
  padding: var(--fc-space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fc-article-card__cat {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background-color: transparent;
  color: var(--fc-gray-800);
  font-family: var(--fc-font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 1px solid var(--fc-gray-200);
  border-radius: 2px;
  margin-bottom: var(--fc-space-3);
  text-decoration: none;
}

.fc-article-card__title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-lg);
  font-weight: 900;
  line-height: 1.25;
  color: var(--fc-black);
  margin-bottom: var(--fc-space-3);
  text-decoration: none;
  display: block;
}

.fc-article-card__title:hover { color: var(--fc-accent); text-decoration: none; }

.fc-article-card__excerpt {
  font-size: var(--fc-text-sm);
  color: #4B5563;
  line-height: 1.55;
  flex: 1;
  margin-bottom: var(--fc-space-4);
}

.fc-article-card__footer {
  margin-top: auto;
  padding: 0 var(--fc-space-4) var(--fc-space-4) var(--fc-space-4);
}

/* ── 10. CTA Franchise Banner ─────────────────────────────────────────────── */

.fc-cta-section {
  background-color: var(--fc-black);
  padding-block: var(--fc-space-12);
}

.fc-cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fc-space-8);
}


.fc-cta-section__label {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  color: var(--fc-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--fc-space-3);
}

.fc-cta-section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--fc-white);
  line-height: 1.2;
  margin-bottom: var(--fc-space-3);
}

.fc-cta-section__text {
  font-size: var(--fc-text-base);
  color: var(--fc-gray-400);
  max-width: 480px;
}

/* ── 11. Franchise Directory ─────────────────────────────────────────────── */

.fc-directory {
  padding-block: var(--fc-space-16);
  background-color: var(--fc-white);
}

.fc-directory__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--fc-space-8);
  align-items: start;
}

/* Sidebar filter */

.fc-filter-sidebar__title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-gray-400);
  margin-bottom: var(--fc-space-4);
  padding-bottom: var(--fc-space-2);
  border-bottom: 2px solid var(--fc-gray-200);
}

.fc-filter-list {
  list-style: none;
}

.fc-filter-list__item {
  border-bottom: 1px solid var(--fc-gray-200);
}

.fc-filter-list__link {
  display: block;
  padding: var(--fc-space-3) 0;
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-800);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--fc-transition), padding-left var(--fc-transition);
}

.fc-filter-list__link:hover,
.fc-filter-list__link.is-active {
  color: var(--fc-accent);
  padding-left: var(--fc-space-2);
  text-decoration: none;
}

.fc-filter-list__count {
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-400);
  float: right;
}

/* Boxed filter list */
.fc-filter-list--boxes {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-3);
}

.fc-filter-list--boxes .fc-filter-list__item {
  border: none;
}

.fc-filter-list--boxes .fc-filter-list__link {
  display: block;
  border: 1px solid var(--fc-gray-200);
  padding: 0.8rem 1rem;
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 700;
  color: var(--fc-black);
  text-decoration: none;
  background-color: var(--fc-white);
  transition: all var(--fc-transition);
}

.fc-filter-list--boxes .fc-filter-list__link:hover,
.fc-filter-list--boxes .fc-filter-list__link.is-active {
  border-color: var(--fc-black);
  color: var(--fc-black);
  padding-left: 1rem;
}

/* Franchise Card */
.fc-franchise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fc-space-6);
  transition: opacity 0.3s ease;
}

.fc-franchise-grid.is-loading {
  opacity: 0.4;
  pointer-events: none;
}

.fc-franchise-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  overflow: hidden;
  background: var(--fc-white);
  transition: box-shadow var(--fc-transition), transform var(--fc-transition);
}

.fc-franchise-card:hover {
  box-shadow: var(--fc-shadow);
  transform: translateY(-2px);
}

.fc-franchise-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: var(--fc-gray-100);
  position: relative;
}

.fc-franchise-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.fc-franchise-card:hover .fc-franchise-card__image img {
  transform: scale(1.04);
}

.fc-franchise-card__body {
  padding: var(--fc-space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-2);
}

.fc-franchise-card__name {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-base);
  font-weight: 700;
  color: var(--fc-black);
  margin-bottom: var(--fc-space-1);
}

.fc-franchise-card__desc {
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-600);
  line-height: 1.4;
  flex: 1;
}

.fc-franchise-card__investment {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 700;
  color: var(--fc-black);
}

.fc-franchise-card__investment span {
  color: var(--fc-gray-400);
  font-weight: 400;
}

.fc-franchise-card__footer {
  padding: var(--fc-space-4);
  padding-top: 0;
}

.fc-franchise-card__cta {
  width: 100%;
}

/* Load more */
.fc-load-more {
  text-align: center;
  padding-top: var(--fc-space-8);
}

/* ── 12. Forms ───────────────────────────────────────────────────────────── */

.fc-form-wrapper {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.fc-form {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-5);
}

.fc-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-2);
}

.fc-form__group label {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 600;
  color: var(--fc-black);
}

.fc-form__group input,
.fc-form__group textarea,
.fc-form__group select {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  font-family: var(--fc-font-body);
  font-size: var(--fc-text-base);
  color: var(--fc-black);
  background: var(--fc-white);
  transition: border-color var(--fc-transition), box-shadow var(--fc-transition);
  outline: none;
}

.fc-form__group input:focus,
.fc-form__group textarea:focus,
.fc-form__group select:focus {
  border-color: var(--fc-black);
  box-shadow: 0 0 0 3px rgba(10,10,10,.08);
}

.fc-form__hint {
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-400);
}

.fc-form__check {
  display: flex;
  align-items: center;
  gap: var(--fc-space-2);
  font-size: var(--fc-text-sm);
}

.fc-form__footer {
  text-align: center;
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-600);
  margin-top: var(--fc-space-2);
}

.fc-form__footer a {
  color: var(--fc-accent);
  font-weight: 600;
  text-decoration: underline;
}

/* Alerts */
.fc-alert {
  padding: var(--fc-space-3) var(--fc-space-4);
  border-radius: var(--fc-radius);
  font-size: var(--fc-text-sm);
  font-weight: 500;
}

.fc-alert--error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.fc-alert--success {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* ── 13. Dashboard ───────────────────────────────────────────────────────── */


.fc-dashboard__welcome {
  margin-bottom: var(--fc-space-8);
}

.fc-dashboard__welcome h2 {
  font-size: var(--fc-text-3xl);
  font-weight: 900;
}

.fc-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--fc-space-6);
  margin-bottom: var(--fc-space-8);
}

.fc-dashboard__card {
  padding: var(--fc-space-6);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  background: var(--fc-white);
}

.fc-dashboard__card h3 {
  font-size: var(--fc-text-base);
  font-weight: 700;
  margin-bottom: var(--fc-space-4);
}

.fc-dashboard__section {
  margin-bottom: var(--fc-space-8);
}

.fc-dashboard__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--fc-space-6);
}

.fc-dashboard__logout {
  padding-top: var(--fc-space-6);
  border-top: 1px solid var(--fc-gray-200);
}

.fc-status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  margin-bottom: var(--fc-space-3);
}

.fc-status-badge--active   { background-color: #dcfce7; color: #16a34a; }
.fc-status-badge--inactive { background-color: #fef9c3; color: #854d0e; }

.fc-status-pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: var(--fc-text-xs);
  font-weight: 600;
}

.fc-status-pill--publish  { background: #dcfce7; color: #16a34a; }
.fc-status-pill--pending  { background: #fef9c3; color: #854d0e; }
.fc-status-pill--draft    { background: var(--fc-gray-100); color: var(--fc-gray-600); }


.fc-franchise-list__item {
  display: flex;
  align-items: center;
  gap: var(--fc-space-4);
  padding: var(--fc-space-4);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  margin-bottom: var(--fc-space-3);
}

.fc-franchise-list__thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--fc-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.fc-franchise-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-franchise-list__info { flex: 1; }
.fc-franchise-list__info h4 { font-size: var(--fc-text-base); font-weight: 700; margin-bottom: var(--fc-space-1); }

.fc-franchise-list__actions {
  display: flex;
  gap: var(--fc-space-2);
}

.fc-empty {
  padding: var(--fc-space-12);
  text-align: center;
  border: 2px dashed var(--fc-gray-200);
  border-radius: var(--fc-radius);
  color: var(--fc-gray-600);
}

/* ── 14. Footer ──────────────────────────────────────────────────────────── */

.fc-footer {
  background-color: var(--fc-footer-bg);
  color: var(--fc-footer-text);
  padding-top: var(--fc-space-16);
}

.fc-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--fc-space-12);
  padding-bottom: var(--fc-space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fc-footer__col-title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-white);
  margin-bottom: var(--fc-space-4);
}

.fc-footer__logo {
  display: flex;
  align-items: center;
  gap: var(--fc-space-2);
  margin-bottom: var(--fc-space-4);
  text-decoration: none;
}

.fc-footer__logo-text {
  font-family: 'Zen Dots', cursive;
  font-size: 1rem;
  font-weight: 400;
  color: var(--fc-white);
  letter-spacing: 0;
}

.fc-footer__logo-text span { color: inherit; }

.fc-footer__desc {
  font-size: var(--fc-text-sm);
  line-height: 1.7;
  color: var(--fc-footer-text);
  margin-bottom: var(--fc-space-4);
}

.fc-footer__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-2);
}

.fc-footer__nav a {
  font-size: var(--fc-text-sm);
  color: var(--fc-footer-text);
  text-decoration: none;
  transition: color var(--fc-transition);
}

.fc-footer__nav a:hover { color: var(--fc-white); text-decoration: none; }

/* Newsletter */
.fc-newsletter-form {
  display: flex;
  gap: var(--fc-space-2);
  margin-top: var(--fc-space-2);
}

.fc-newsletter-form input {
  flex: 1;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--fc-radius);
  color: var(--fc-white);
  font-size: var(--fc-text-sm);
  outline: none;
}

.fc-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.fc-newsletter-form input:focus {
  border-color: rgba(255,255,255,0.4);
}

/* Footer bottom */
.fc-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--fc-space-6);
  gap: var(--fc-space-4);
}

.fc-footer__copyright {
  font-size: var(--fc-text-xs);
  color: rgba(255,255,255,0.4);
}

.fc-social-links {
  display: flex;
  align-items: center;
  gap: var(--fc-space-3);
}

.fc-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--fc-footer-text);
  font-size: 14px;
  text-decoration: none;
  transition: border-color var(--fc-transition), color var(--fc-transition), background-color var(--fc-transition);
}

.fc-social-link:hover {
  border-color: var(--fc-accent);
  color: var(--fc-accent);
  background-color: rgba(200,16,46,0.1);
  text-decoration: none;
}

/* ── 15. Scroll Reveal Animation ─────────────────────────────────────────── */

.fc-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fc-reveal--delay-1 { transition-delay: 100ms; }
.fc-reveal--delay-2 { transition-delay: 200ms; }
.fc-reveal--delay-3 { transition-delay: 300ms; }

/* ── 16. Utilities ────────────────────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.fc-notice { padding: var(--fc-space-4); }

.fc-meta {
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-400);
}

/* ── 17. Responsive ─────────────────────────────────────────────────────── */

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

  .fc-filter-sidebar {
    display: flex;
    gap: var(--fc-space-2);
    flex-wrap: wrap;
    align-items: center;
  }

  .fc-filter-sidebar__title {
    width: 100%;
    margin-bottom: var(--fc-space-2);
  }

  .fc-filter-list {
    display: flex;
    gap: var(--fc-space-2);
    flex-wrap: wrap;
  }

  .fc-filter-list__item { border: none; }

  .fc-filter-list__link {
    display: inline-flex;
    padding: 0.35rem 0.875rem;
    background-color: var(--fc-gray-100);
    border-radius: 999px;
    font-size: var(--fc-text-xs);
    font-weight: 600;
    border: 1px solid var(--fc-gray-200);
  }

  .fc-filter-list__link:hover,
  .fc-filter-list__link.is-active {
    background-color: var(--fc-accent);
    color: var(--fc-white);
    border-color: var(--fc-accent);
    padding-left: 0.875rem;
  }

  .fc-filter-list__count { display: none; }

  .fc-franchise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fc-hero__layout {
    grid-template-columns: 1fr;
  }

  .fc-hero-sidebar {
    display: none;
  }

  .fc-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--fc-space-8);
  }
}

@media (max-width: 768px) {
  :root {
    --fc-space-16: 3rem;
    --fc-space-12: 2.5rem;
  }

  .fc-hamburger { display: flex; }

  .fc-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fc-white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--fc-space-6);
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid var(--fc-gray-200);
  }

  .fc-nav.is-open { display: flex; }

  .fc-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .fc-nav__link {
    padding: var(--fc-space-4);
    font-size: var(--fc-text-base);
    border-bottom: 1px solid var(--fc-gray-200);
    border-radius: 0;
  }

  .fc-nav__mobile-cta {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: var(--fc-space-6);
    padding-bottom: var(--fc-space-4);
  }

  .fc-header__cta { display: none; }

  .fc-grid-3, .fc-franchise-grid {
    grid-template-columns: 1fr;
  }

  .fc-grid-2 { grid-template-columns: 1fr; }

  .fc-cta-section__inner {
    flex-direction: column;
    text-align: center;
  }

  .fc-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--fc-space-8);
  }

  .fc-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--fc-space-4);
  }

  .fc-dashboard__grid { grid-template-columns: 1fr; }

  .fc-banner__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ── 18. Login and Register Pages ────────────────────────────────────────── */

.fc-login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 150px);
  padding: var(--fc-space-6) var(--fc-space-4);
  background-color: var(--fc-gray-50);
}

.fc-login-card {
  width: 100%;
  max-width: 440px;
  background-color: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  padding: 2.5rem;
  border-radius: var(--fc-radius-sm);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .fc-login-card {
    padding: 3.5rem;
  }
}

.fc-login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.fc-login-title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-3xl);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--fc-black);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.fc-login-subtitle {
  font-size: var(--fc-text-sm);
  font-weight: 500;
  color: var(--fc-gray-500);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

.fc-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fc-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fc-form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fc-form-label {
  font-family: var(--fc-font-heading);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fc-black);
}

.fc-form-forgot {
  font-family: var(--fc-font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fc-gray-400);
  text-decoration: none;
  transition: color var(--fc-transition);
}

.fc-form-forgot:hover {
  color: var(--fc-black);
}

.fc-form-control {
  width: 100%;
  height: 3.5rem;
  background-color: transparent;
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius-sm);
  padding: 0 1rem;
  color: var(--fc-black);
  font-size: var(--fc-text-sm);
  font-family: var(--fc-font-sans);
  transition: all var(--fc-transition);
}

.fc-form-control:focus {
  outline: none;
  border-color: var(--fc-black);
  box-shadow: 0 0 0 1px var(--fc-black);
}

.fc-form-control::placeholder {
  color: var(--fc-gray-400);
}

.fc-login-btn {
  height: 3.5rem;
  margin-top: 1rem;
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  width: 100%;
  justify-content: center;
}

.fc-login-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--fc-gray-200);
  text-align: center;
}

.fc-login-text {
  font-size: var(--fc-text-xs);
  font-weight: 500;
  color: var(--fc-gray-500);
}

.fc-login-link {
  color: var(--fc-black);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.25rem;
  transition: color var(--fc-transition);
}

.fc-login-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Feedback messages */
.fc-form-feedback {
  padding: 1rem;
  border-radius: var(--fc-radius-sm);
  font-size: var(--fc-text-sm);
  font-weight: 500;
  text-align: center;
}

.fc-feedback-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.fc-feedback-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* ==========================================================================
   SIGNUP PAGE
   ========================================================================== */

.fc-signup-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 150px);
  padding: 3rem 1.5rem;
  background-color: var(--fc-white);
}

.fc-signup-layout {
  width: 100%;
  max-width: 480px;
}

.fc-signup-header {
  margin-bottom: 4rem;
}

.fc-signup-title {
  font-family: var(--fc-font-heading);
  font-size: clamp(2rem, 8vw, 3.75rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--fc-black);
  margin-bottom: 1rem;
}

.fc-signup-subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
}

.fc-signup-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.fc-signup-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fc-signup-label {
  font-family: var(--fc-font-heading);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.5);
}

.fc-input-underline {
  position: relative;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  transition: border-bottom-color var(--fc-transition);
}

.fc-input-underline:focus-within {
  border-bottom: 2px solid var(--fc-black);
  margin-bottom: -1px; /* Avoid jump from border thickness */
}

.fc-signup-control {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  color: var(--fc-black);
  outline: none;
}

.fc-signup-control::placeholder {
  color: rgba(0, 0, 0, 0.2);
}

.fc-signup-control:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.fc-password-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: rgba(0, 0, 0, 0.4);
  transition: color var(--fc-transition), opacity var(--fc-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-password-toggle:hover {
  color: var(--fc-black);
}

.fc-signup-actions {
  padding-top: 1.5rem;
}

.fc-signup-btn {
  width: 100%;
  height: 4rem;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  justify-content: center;
}

.fc-signup-btn:active {
  transform: scale(0.98);
}

.fc-signup-footer {
  margin-top: 3rem;
  text-align: center;
}

.fc-signup-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
}

.fc-signup-link {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--fc-black);
  margin-left: 0.5rem;
  border-bottom: 1px solid var(--fc-black);
  text-decoration: none;
  padding-bottom: 2px;
}

.fc-signup-link:hover {
  opacity: 0.7;
}

/* ==========================================================================
   PRICING / ASSINAR PLANO PAGE
   ========================================================================== */

.fc-pricing-page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 150px);
  padding: 4rem 1.5rem;
  background-color: var(--fc-white);
  overflow: hidden;
}

.fc-pricing-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(#131516 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  opacity: 0.03;
  pointer-events: none;
}

.fc-pricing-layout {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fc-pricing-header {
  text-align: center;
  max-width: 800px;
  margin-bottom: 3rem;
}

.fc-pricing-title {
  font-family: var(--fc-font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--fc-black);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .fc-pricing-title {
    font-size: 4.5rem;
  }
}

.fc-pricing-subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  color: #6e7a7c;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .fc-pricing-subtitle {
    font-size: 1.25rem;
  }
}

.fc-pricing-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
}

.fc-pricing-card-shadow {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
  pointer-events: none;
}

.fc-pricing-card {
  position: relative;
  background-color: var(--fc-white);
  border: 1px solid #131516;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

@media (min-width: 768px) {
  .fc-pricing-card {
    padding: 3.5rem;
  }
}

.fc-pricing-badge {
  font-family: var(--fc-font-heading);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  background-color: var(--fc-gray-100);
  padding: 0.25rem 0.75rem;
  margin-bottom: 2rem;
}

.fc-pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.fc-pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.5rem;
  line-height: 1;
}

.fc-pricing-amount {
  font-size: 6rem;
  font-weight: 900;
  font-family: var(--fc-font-heading);
  letter-spacing: -0.05em;
  line-height: 1;
}

.fc-pricing-period {
  color: #6e7a7c;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.fc-pricing-divider {
  width: 100%;
  height: 1px;
  background-color: var(--fc-gray-200);
  border: none;
  margin: 2rem 0;
}

.fc-pricing-features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  list-style: none;
  padding: 0;
}

.fc-pricing-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fc-pricing-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.fc-pricing-feature-text {
  display: flex;
  flex-direction: column;
}

.fc-pricing-feature-text strong {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.fc-pricing-feature-text span {
  font-size: 11px;
  color: #6e7a7c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fc-pricing-btn {
  width: 100%;
  height: 4rem;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  justify-content: center;
  border-radius: 0; /* Keep it square like editorial */
}

.fc-pricing-btn:active {
  transform: scale(0.98);
}

.fc-pricing-meta {
  font-size: 10px;
  color: #6e7a7c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.6;
  margin-top: 2rem;
}

/* ==========================================================================
   ACCOUNT / DASHBOARD PAGE
   ========================================================================== */

.fc-account-page {
  position: relative;
  min-height: calc(100vh - 64px);
  background-color: var(--fc-gray-50);
  padding-block: var(--fc-space-8);
  overflow: hidden;
}

.fc-account-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 260px;
  background-color: var(--fc-black);
  z-index: 0;
}

.fc-account-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Layout */
.fc-account-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--fc-space-8);
  align-items: start;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */

.fc-account-sidebar {
  position: sticky;
  top: calc(64px + var(--fc-space-8));
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-6);
}

/* Profile Card */
.fc-profile-card {
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  padding: var(--fc-space-8) var(--fc-space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fc-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fc-accent) 0%, var(--fc-accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--fc-space-4);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25);
}

.fc-profile-avatar span {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xl);
  font-weight: 900;
  color: var(--fc-white);
  letter-spacing: 0.05em;
}

.fc-profile-name {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-base);
  font-weight: 700;
  color: var(--fc-black);
  margin-bottom: var(--fc-space-1);
}

.fc-profile-email {
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-400);
  word-break: break-all;
  margin-bottom: var(--fc-space-4);
}

.fc-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--fc-space-1);
  padding: 0.3rem 0.75rem;
  font-family: var(--fc-font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
}

.fc-profile-badge--active {
  background-color: #dcfce7;
  color: #15803d;
}

.fc-profile-badge--inactive {
  background-color: #fef9c3;
  color: #854d0e;
}

/* Account Navigation */
.fc-account-nav {
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  overflow: hidden;
}

.fc-account-nav__list {
  list-style: none;
}

.fc-account-nav__link {
  display: flex;
  align-items: center;
  gap: var(--fc-space-3);
  padding: 0.875rem var(--fc-space-4);
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 600;
  color: var(--fc-gray-800);
  text-decoration: none;
  border-bottom: 1px solid var(--fc-gray-200);
  transition: background-color var(--fc-transition), color var(--fc-transition), padding-left var(--fc-transition);
}

.fc-account-nav__link:hover {
  background-color: var(--fc-gray-50);
  padding-left: 1.25rem;
  text-decoration: none;
}

.fc-account-nav__list li:last-child .fc-account-nav__link {
  border-bottom: none;
}

.fc-account-nav__link svg {
  flex-shrink: 0;
  color: var(--fc-gray-400);
  transition: color var(--fc-transition);
}

.fc-account-nav__link:hover svg {
  color: var(--fc-black);
}

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

.fc-account-nav__link--accent svg {
  color: var(--fc-accent);
}

.fc-account-nav__link--accent:hover {
  background-color: var(--fc-accent-light);
}

.fc-account-nav__link--danger {
  color: #dc2626;
}

.fc-account-nav__link--danger svg {
  color: #dc2626;
}

.fc-account-nav__link--danger:hover {
  background-color: #fef2f2;
}

/* Sidebar Meta */
.fc-account-meta {
  text-align: center;
}

.fc-account-meta p {
  font-size: 11px;
  color: var(--fc-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── Main Content ─────────────────────────────────────────────────────────── */

.fc-account-main {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-6);
}

/* Welcome Bar */
.fc-account-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fc-space-4);
  padding-bottom: var(--fc-space-4);
}

.fc-account-welcome__label {
  font-family: var(--fc-font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fc-accent);
  margin-bottom: var(--fc-space-2);
}

.fc-account-welcome__title {
  font-family: var(--fc-font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--fc-white);
  line-height: 1.2;
}

/* Stats Grid */
.fc-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fc-space-4);
}

.fc-stat-card {
  display: flex;
  align-items: flex-start;
  gap: var(--fc-space-4);
  padding: var(--fc-space-6);
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  transition: box-shadow var(--fc-transition), transform var(--fc-transition);
}

.fc-stat-card:hover {
  box-shadow: var(--fc-shadow-sm);
  transform: translateY(-1px);
}

.fc-stat-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--fc-radius);
  background-color: var(--fc-gray-100);
  color: var(--fc-gray-600);
  flex-shrink: 0;
}

.fc-stat-card--success .fc-stat-card__icon {
  background-color: #dcfce7;
  color: #15803d;
}

.fc-stat-card--warning .fc-stat-card__icon {
  background-color: #fef9c3;
  color: #854d0e;
}

.fc-stat-card__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fc-stat-card__label {
  font-family: var(--fc-font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-gray-400);
}

.fc-stat-card__value {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xl);
  font-weight: 900;
  color: var(--fc-black);
  line-height: 1.3;
}

.fc-stat-card__detail {
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-400);
}

.fc-stat-card__detail a {
  color: var(--fc-accent);
  font-weight: 600;
  text-decoration: none;
}

.fc-stat-card__detail a:hover {
  text-decoration: underline;
}

/* Account Section */
.fc-account-section {
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  overflow: hidden;
}

.fc-account-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--fc-space-4) var(--fc-space-6);
  border-bottom: 1px solid var(--fc-gray-200);
}

.fc-account-section__title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-black);
}

/* Franchise Row */
.fc-franchise-row {
  display: flex;
  align-items: center;
  gap: var(--fc-space-4);
  padding: var(--fc-space-4) var(--fc-space-6);
  border-bottom: 1px solid var(--fc-gray-200);
  transition: background-color var(--fc-transition);
}

.fc-franchise-row:last-child {
  border-bottom: none;
}

.fc-franchise-row:hover {
  background-color: var(--fc-gray-50);
}

.fc-franchise-row__thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--fc-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--fc-gray-100);
}

.fc-franchise-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-franchise-row__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-gray-400);
}

.fc-franchise-row__info {
  flex: 1;
  min-width: 0;
}

.fc-franchise-row__name {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 700;
  color: var(--fc-black);
  margin-bottom: var(--fc-space-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc-franchise-row__meta {
  display: flex;
  align-items: center;
  gap: var(--fc-space-3);
}

.fc-franchise-row__invest {
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-400);
  font-weight: 500;
}

.fc-franchise-row__actions {
  display: flex;
  align-items: center;
  gap: var(--fc-space-2);
  flex-shrink: 0;
}

/* Icon Buttons */
.fc-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--fc-radius);
  border: 1px solid var(--fc-gray-200);
  background: var(--fc-white);
  color: var(--fc-gray-600);
  cursor: pointer;
  transition: all var(--fc-transition);
  text-decoration: none;
}

.fc-icon-btn:hover {
  background-color: var(--fc-gray-100);
  color: var(--fc-black);
  border-color: var(--fc-gray-400);
  text-decoration: none;
}

.fc-icon-btn--danger:hover {
  background-color: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

/* Empty State */
.fc-account-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--fc-space-12) var(--fc-space-6);
}

.fc-account-empty__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--fc-gray-100);
  color: var(--fc-gray-400);
  margin-bottom: var(--fc-space-6);
}

.fc-account-empty h3 {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-lg);
  font-weight: 700;
  color: var(--fc-black);
  margin-bottom: var(--fc-space-2);
}

.fc-account-empty p {
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-600);
  max-width: 320px;
  margin-bottom: var(--fc-space-6);
}

/* Account Info Grid */
.fc-account-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.fc-info-item {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-1);
  padding: var(--fc-space-4) var(--fc-space-6);
  border-bottom: 1px solid var(--fc-gray-200);
  border-right: 1px solid var(--fc-gray-200);
}

.fc-info-item:nth-child(even) {
  border-right: none;
}

.fc-info-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.fc-info-item__label {
  font-family: var(--fc-font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fc-gray-400);
}

.fc-info-item__value {
  font-size: var(--fc-text-sm);
  font-weight: 600;
  color: var(--fc-black);
}

/* ── Account Page Responsive ──────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .fc-account-layout {
    grid-template-columns: 240px 1fr;
    gap: var(--fc-space-6);
  }

  .fc-stats-grid {
    grid-template-columns: 1fr;
    gap: var(--fc-space-3);
  }
}

@media (max-width: 768px) {
  .fc-account-page {
    padding-block: 0;
  }

  .fc-account-bg {
    height: 180px;
  }

  .fc-account-layout {
    grid-template-columns: 1fr;
    gap: var(--fc-space-4);
    padding-top: var(--fc-space-4);
  }

  .fc-account-sidebar {
    position: static;
    order: -1;
  }

  .fc-profile-card {
    flex-direction: row;
    text-align: left;
    gap: var(--fc-space-4);
    padding: var(--fc-space-4);
  }

  .fc-profile-avatar {
    width: 52px;
    height: 52px;
    margin-bottom: 0;
  }

  .fc-profile-avatar span {
    font-size: var(--fc-text-sm);
  }

  .fc-profile-name {
    font-size: var(--fc-text-sm);
  }

  .fc-profile-email {
    margin-bottom: var(--fc-space-2);
  }

  .fc-account-nav__link {
    padding: 0.75rem var(--fc-space-4);
    font-size: var(--fc-text-xs);
  }

  .fc-account-welcome {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--fc-space-3);
  }

  .fc-account-welcome__title {
    font-size: var(--fc-text-2xl);
  }

  .fc-stats-grid {
    grid-template-columns: 1fr;
  }

  .fc-stat-card {
    padding: var(--fc-space-4);
  }

  .fc-franchise-row {
    padding: var(--fc-space-3) var(--fc-space-4);
  }

  .fc-franchise-row__thumb {
    width: 44px;
    height: 44px;
  }

  .fc-franchise-row__actions {
    flex-direction: column;
    gap: 4px;
  }

  .fc-icon-btn {
    width: 32px;
    height: 32px;
  }

  .fc-icon-btn svg {
    width: 14px;
    height: 14px;
  }

  .fc-account-info-grid {
    grid-template-columns: 1fr;
  }

  .fc-info-item {
    border-right: none;
  }

  .fc-info-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--fc-gray-200);
  }

  .fc-info-item:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   CONFIRM MODAL
   ========================================================================== */

#fc-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--fc-space-4);
}

.fc-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 250ms ease;
}

#fc-confirm-modal.is-open .fc-modal-overlay {
  opacity: 1;
}

.fc-modal-box {
  position: relative;
  z-index: 1;
  background: var(--fc-white);
  border: 1px solid var(--fc-black);
  border-radius: var(--fc-radius);
  padding: var(--fc-space-8);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--fc-shadow-lg);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 250ms ease, opacity 250ms ease;
}

#fc-confirm-modal.is-open .fc-modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.fc-modal-title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-lg);
  font-weight: 900;
  color: var(--fc-black);
  margin-bottom: var(--fc-space-3);
  letter-spacing: -0.02em;
}

.fc-modal-message {
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-600);
  line-height: 1.6;
  margin-bottom: var(--fc-space-6);
}

.fc-modal-message strong {
  color: var(--fc-black);
  font-weight: 700;
}

.fc-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--fc-space-3);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

#fc-toast-container {
  position: fixed;
  bottom: var(--fc-space-6);
  right: var(--fc-space-6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-3);
  pointer-events: none;
}

.fc-toast {
  display: flex;
  align-items: center;
  gap: var(--fc-space-3);
  padding: 0.875rem var(--fc-space-5);
  border-radius: var(--fc-radius);
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 600;
  box-shadow: var(--fc-shadow-lg);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: auto;
  max-width: 340px;
}

.fc-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fc-toast--success {
  background: var(--fc-black);
  color: var(--fc-white);
  border-left: 3px solid var(--fc-accent);
}

.fc-toast--error {
  background: #1a0000;
  color: #fca5a5;
  border-left: 3px solid #dc2626;
}

@media (max-width: 480px) {
  #fc-toast-container {
    bottom: var(--fc-space-4);
    right: var(--fc-space-4);
    left: var(--fc-space-4);
  }

  .fc-toast {
    max-width: 100%;
  }

  .fc-modal-box {
    padding: var(--fc-space-6);
  }

  .fc-modal-actions {
    flex-direction: column-reverse;
  }

  .fc-modal-actions .fc-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── 19. Prefers reduced motion ────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .fc-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   PRICING PAGE
   ========================================================================== */

.fc-pricing-page {
  min-height: 100vh;
  background: var(--fc-white);
  position: relative;
  padding-block: var(--fc-space-16) var(--fc-space-12);
}

.fc-pricing-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.07) 0%, transparent 65%);
  pointer-events: none;
}

.fc-pricing-layout {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding-inline: var(--fc-space-6);
}

.fc-pricing-header { text-align: center; margin-bottom: var(--fc-space-12); }

.fc-pricing-current-plan {
  display: inline-block;
  font-size: var(--fc-text-xs);
  font-family: var(--fc-font-heading);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fc-accent);
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 999px;
  padding: .25rem 1rem;
  margin-bottom: var(--fc-space-4);
}

.fc-pricing-title {
  font-family: var(--fc-font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--fc-black);
  letter-spacing: -.03em;
  margin-bottom: var(--fc-space-4);
}

.fc-pricing-subtitle {
  font-size: var(--fc-text-base);
  color: var(--fc-gray-600);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Plans Grid ── */

.fc-plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fc-space-6);
  margin-bottom: var(--fc-space-8);
}

@media (max-width: 620px) {
  .fc-plans-grid { grid-template-columns: 1fr; }
}

/* ── Plan Card ── */

.fc-plan-card {
  position: relative;
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius-lg);
  padding: var(--fc-space-8);
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, transform 200ms ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.fc-plan-card:hover {
  border-color: var(--fc-gray-300);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.fc-plan-card--featured {
  background: var(--fc-white);
  border-color: var(--fc-accent);
  box-shadow: 0 0 0 2px var(--fc-accent), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.fc-plan-card--featured .fc-plan-card__name,
.fc-plan-card--featured .fc-plan-card__amount,
.fc-plan-card--featured .fc-plan-card__currency,
.fc-plan-card--featured .fc-plan-card__cents,
.fc-plan-card--featured .fc-plan-card__period { color: var(--fc-black); }

.fc-plan-card--featured .fc-plan-card__divider { border-color: #e5e5e5; }
.fc-plan-card--featured .fc-plan-card__features li { color: var(--fc-gray-700); }
.fc-plan-card--featured .fc-plan-check { color: var(--fc-black); }

.fc-plan-card__badge,
.fc-plan-card__current-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-family: var(--fc-font-heading);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .875rem;
  border-radius: 999px;
  white-space: nowrap;
}

.fc-plan-card__badge {
  background: var(--fc-black);
  color: var(--fc-accent);
  border: 1px solid var(--fc-black);
}

.fc-plan-card__current-badge {
  background: var(--fc-accent);
  color: var(--fc-black);
}

.fc-plan-card__header { margin-bottom: var(--fc-space-4); }

.fc-plan-card__name {
  display: block;
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fc-gray-600);
  margin-bottom: var(--fc-space-3);
}

.fc-plan-card--featured .fc-plan-card__name { color: var(--fc-gray-600); }

.fc-plan-card__price {
  display: flex;
  align-items: flex-start;
  gap: .125rem;
  line-height: 1;
}

.fc-plan-card__currency {
  font-family: var(--fc-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fc-black);
  padding-top: .5rem;
}

.fc-plan-card__amount {
  font-family: var(--fc-font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--fc-black);
  letter-spacing: -.04em;
}

.fc-plan-card__cents {
  font-family: var(--fc-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fc-black);
  padding-top: .75rem;
}

.fc-plan-card__period {
  display: block;
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-500);
  margin-top: var(--fc-space-2);
}

.fc-plan-card__divider {
  border: none;
  border-top: 1px solid var(--fc-gray-200);
  margin-block: var(--fc-space-6);
}

.fc-plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--fc-space-8);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-3);
}

.fc-plan-card__features li {
  display: flex;
  align-items: center;
  gap: var(--fc-space-3);
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-700);
}

.fc-plan-check { color: var(--fc-accent); flex-shrink: 0; }
.fc-plan-x     { color: var(--fc-gray-400); flex-shrink: 0; }

.fc-plan-card__feature--disabled { opacity: .5; }

.fc-pricing-btn { margin-top: auto; }

.fc-pricing-btn--disabled {
  opacity: .5;
  pointer-events: none;
  cursor: default;
}

.fc-pricing-meta {
  text-align: center;
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-600);
  margin-bottom: var(--fc-space-6);
}

.fc-pricing-back { text-align: center; }

.fc-pricing-back__link {
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-500);
  text-decoration: none;
  transition: color 200ms ease;
}

.fc-pricing-back__link:hover { color: var(--fc-accent); }

/* ==========================================================================
   AVATAR UPLOAD
   ========================================================================== */

.fc-profile-avatar {
  position: relative;
  cursor: pointer;
}

.fc-profile-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto var(--fc-space-4);
  border: 3px solid var(--fc-accent);
}

.fc-avatar-upload-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms ease;
  color: var(--fc-white);
  width: 80px;
  height: 80px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.fc-profile-avatar:hover .fc-avatar-upload-overlay { opacity: 1; }

.fc-profile-avatar.is-loading .fc-avatar-upload-overlay {
  opacity: 1;
  animation: fc-spin 1s linear infinite;
}

#fc-avatar-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   FRANCHISE LIMIT PROGRESS BAR
   ========================================================================== */

.fc-stat-card__value small {
  font-size: .65em;
  font-weight: 600;
  color: var(--fc-gray-500);
  margin-left: .15em;
}

.fc-limit-bar {
  height: 4px;
  background: var(--fc-gray-200);
  border-radius: 999px;
  overflow: hidden;
  margin-block: var(--fc-space-2);
}

.fc-limit-bar__fill {
  height: 100%;
  background: var(--fc-accent);
  border-radius: 999px;
  transition: width 600ms ease;
  min-width: 4px;
}

/* ==========================================================================
   PASSWORD FORM
   ========================================================================== */

.fc-password-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: var(--fc-space-4);
  align-items: end;
  padding: var(--fc-space-6);
  background: var(--fc-gray-50);
  border-radius: var(--fc-radius);
  border: 1px solid var(--fc-gray-200);
}

.fc-form__group--action { padding-top: 1.5rem; }

.fc-form-feedback {
  margin-top: var(--fc-space-4);
  padding: .75rem var(--fc-space-4);
  border-radius: var(--fc-radius);
  font-size: var(--fc-text-sm);
  font-family: var(--fc-font-heading);
  font-weight: 600;
}

.fc-feedback-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.fc-feedback-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (max-width: 900px) {
  .fc-password-form__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FRANCHISE CRUD FORM
   ========================================================================== */

.fc-crud-header {
  margin-bottom: var(--fc-space-8);
  text-align: center;
}

.fc-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--fc-space-2);
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-500);
  text-decoration: none;
  margin-bottom: var(--fc-space-6);
  transition: color 200ms ease;
}

.fc-back-link:hover { color: var(--fc-accent); }

.fc-crud-title {
  font-family: var(--fc-font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--fc-black);
  margin-bottom: var(--fc-space-2);
}

.fc-crud-subtitle {
  font-size: var(--fc-text-base);
  color: var(--fc-gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.fc-crud-card {
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius-lg);
  padding: var(--fc-space-8) var(--fc-space-10);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.fc-form-section {
  margin-bottom: var(--fc-space-10);
  padding-bottom: var(--fc-space-8);
  border-bottom: 1px solid var(--fc-gray-200);
}

.fc-form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.fc-form-section__title {
  font-family: var(--fc-font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fc-black);
  margin-bottom: var(--fc-space-6);
}

.fc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fc-space-6);
}

/* ── Thumbnail Uploader ── */

.fc-thumb-upload {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 16 / 9;
  background: var(--fc-gray-50);
  border: 2px dashed var(--fc-gray-300);
  border-radius: var(--fc-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 200ms ease;
}

.fc-thumb-upload:hover { border-color: var(--fc-accent); }

.fc-thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fc-space-3);
  color: var(--fc-gray-500);
}

.fc-thumb-placeholder svg { color: var(--fc-gray-400); }

.fc-thumb-upload img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  color: var(--fc-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--fc-space-2);
  opacity: 0;
  transition: opacity 200ms ease;
  font-size: var(--fc-text-sm);
  font-weight: 600;
}

.fc-thumb-upload:hover .fc-thumb-overlay { opacity: 1; }

.fc-editor-wrapper {
  border: 1px solid var(--fc-gray-300);
  border-radius: var(--fc-radius);
  overflow: hidden;
}

.fc-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--fc-space-4);
  margin-top: var(--fc-space-10);
  padding-top: var(--fc-space-6);
  border-top: 1px solid var(--fc-gray-200);
}

/* ── Limit Reached Card ── */

.fc-limit-reached-card {
  max-width: 500px;
  margin: var(--fc-space-16) auto;
  text-align: center;
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius-lg);
  padding: var(--fc-space-10);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.fc-limit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #fef2f2;
  color: #ef4444;
  border-radius: 50%;
  margin-bottom: var(--fc-space-6);
}

.fc-limit-reached-card h2 {
  font-family: var(--fc-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--fc-space-4);
  color: var(--fc-black);
}

.fc-limit-reached-card p {
  color: var(--fc-gray-600);
  margin-bottom: var(--fc-space-8);
}

.fc-limit-actions {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-3);
}

@media (max-width: 640px) {
  .fc-form-grid { grid-template-columns: 1fr; }
  .fc-crud-card { padding: var(--fc-space-6) var(--fc-space-4); }
  .fc-form-actions { flex-direction: column-reverse; }
  .fc-form-actions .fc-btn { width: 100%; }
}

/* ==========================================================================
   SINGLE FRANCHISE PAGE
   ========================================================================== */

.fc-single-page {
  padding-block: var(--fc-space-8);
  background-color: var(--fc-gray-50);
  min-height: calc(100vh - 200px);
}

.fc-breadcrumb {
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-500);
  margin-bottom: var(--fc-space-6);
}

.fc-breadcrumb a {
  color: var(--fc-black);
  text-decoration: none;
  font-weight: 600;
  transition: color 200ms ease;
}

.fc-breadcrumb a:hover {
  color: var(--fc-accent);
}

.fc-single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--fc-space-8);
  align-items: start;
}

.fc-single-content {
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius-lg);
  padding: var(--fc-space-8);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.fc-single-header {
  margin-bottom: var(--fc-space-6);
  padding-bottom: var(--fc-space-6);
  border-bottom: 1px solid var(--fc-gray-200);
}

.fc-single-title {
  font-family: var(--fc-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--fc-black);
  margin-bottom: var(--fc-space-2);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fc-single-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--fc-gray-700);
}

.fc-single-body h2, 
.fc-single-body h3 {
  font-family: var(--fc-font-heading);
  color: var(--fc-black);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.fc-single-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--fc-radius);
  margin-block: var(--fc-space-4);
}

/* Sidebar Info Card */
.fc-single-sidebar {
  position: sticky;
  top: calc(80px + var(--fc-space-8));
}

.fc-info-card {
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius-lg);
  padding: var(--fc-space-6);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.fc-info-card__logo {
  margin-bottom: var(--fc-space-6);
  display: flex;
  justify-content: center;
}

.fc-info-card__img {
  max-width: 180px;
  max-height: 120px;
  object-fit: contain;
}

.fc-info-card__placeholder {
  width: 100%;
  height: 120px;
  background: var(--fc-gray-100);
  border-radius: var(--fc-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-gray-500);
  font-size: var(--fc-text-sm);
  font-weight: 600;
}

.fc-info-card__details {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-4);
  margin-bottom: var(--fc-space-6);
  padding-bottom: var(--fc-space-6);
  border-bottom: 1px solid var(--fc-gray-200);
}

.fc-info-card__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fc-info-card__label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-gray-500);
}

.fc-info-card__value {
  font-size: 1.25rem;
  color: var(--fc-black);
}

/* Related Section */
.fc-related-section {
  margin-top: var(--fc-space-16);
  padding-top: var(--fc-space-12);
  border-top: 1px solid var(--fc-gray-200);
}

.fc-related-title {
  font-family: var(--fc-font-heading);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--fc-space-8);
}

/* Responsive */
@media (max-width: 900px) {
  .fc-single-layout {
    grid-template-columns: 1fr;
  }
  
  .fc-single-sidebar {
    position: static;
    order: -1; /* Put card on top on mobile */
  }
}

/* ==========================================================================
   ARCHIVE FRANCHISES PAGE
   ========================================================================== */

.fc-archive-page .fc-directory {
  background-color: var(--fc-gray-50);
  min-height: 50vh;
}

/* ==========================================================================
   ANUNCIANTES PAGE (DIRECTORY STITCH)
   ========================================================================== */

.fc-anunciantes-page {
  padding-block: var(--fc-space-12);
  background-color: var(--fc-white);
  color: var(--fc-black);
  transition: background-color 0.2s, color 0.2s;
}

.fc-anunciantes-header {
  margin-bottom: var(--fc-space-12);
  border-bottom: 4px solid var(--fc-black);
  padding-bottom: var(--fc-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-6);
}

@media (min-width: 768px) {
  .fc-anunciantes-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.fc-anunciantes-header__title {
  font-family: var(--fc-font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: var(--fc-space-4);
}

.fc-anunciantes-header__subtitle {
  font-size: 1.125rem;
  color: var(--fc-gray-500);
  font-weight: 500;
  max-width: 32rem;
  line-height: 1.6;
}

.fc-anunciantes-header__actions {
  display: flex;
  gap: var(--fc-space-2);
}

.fc-anunc-btn-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--fc-black);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--fc-black);
  cursor: pointer;
  transition: all 0.2s;
}

.fc-anunc-btn-icon:hover {
  background: var(--fc-black);
  color: var(--fc-white);
}

.fc-anunciantes-layout {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-12);
}

@media (min-width: 1024px) {
  .fc-anunciantes-layout {
    flex-direction: row;
  }
}

.fc-anunciantes-sidebar {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .fc-anunciantes-sidebar {
    width: 288px;
  }
}

.fc-anunciantes-sidebar__inner {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-10);
}

.fc-anunc-filter__title {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--fc-space-6);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: var(--fc-space-2);
}

.fc-anunc-cat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fc-anunc-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--fc-space-2);
  color: var(--fc-black);
  text-decoration: none;
  transition: all 0.2s;
}

.fc-anunc-cat-link:hover, .fc-anunc-cat-link.is-active {
  background-color: var(--fc-black);
  color: var(--fc-white);
}

.fc-anunc-cat-link__name {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fc-anunc-cat-link__icon {
  font-size: 0.875rem;
}

.fc-anunc-invest-list {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-2);
}

.fc-anunc-invest-radio {
  cursor: pointer;
}

.fc-anunc-invest-radio__input {
  display: none;
}

.fc-anunc-invest-radio__box {
  border: 1px solid rgba(0,0,0,0.2);
  padding: var(--fc-space-3);
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}

.fc-anunc-invest-radio__input:checked + .fc-anunc-invest-radio__box {
  background-color: var(--fc-black);
  color: var(--fc-white);
}

.fc-anunc-invest-radio__val {
  font-size: 0.875rem;
  font-weight: 700;
}

.fc-anunc-invest-radio__desc {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

.fc-anunc-btn-clear {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.4);
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--fc-space-2);
  cursor: pointer;
  padding: 0;
  margin-top: 5px;
  text-decoration: none;
}

.fc-anunc-btn-clear:hover {
  color: var(--fc-black);
}

.fc-anunciantes-main {
  flex: 1;
}

.fc-anunciantes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fc-space-8);
}

@media (min-width: 768px) {
  .fc-anunciantes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .fc-anunciantes-grid { grid-template-columns: repeat(3, 1fr); }
}

.fc-anunc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--fc-white);
  padding: var(--fc-space-6);
  transition: all 0.2s ease-in-out;
  position: relative;
}

.fc-anunc-card:hover {
  box-shadow: 8px 8px 0px 0px var(--fc-black);
  transform: translate(-2px, -2px);
}

.fc-anunc-card__img-wrap {
  margin-bottom: var(--fc-space-6);
  overflow: hidden;
  background-color: var(--fc-gray-100);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-anunc-card__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  transition: filter 0.5s;
}

.fc-anunc-card:hover .fc-anunc-card__img {
  filter: grayscale(0%);
}

.fc-anunc-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fc-anunc-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--fc-space-2);
}

.fc-anunc-card__title {
  font-family: var(--fc-font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin: 0;
}

.fc-anunc-card__badge {
  background-color: var(--fc-black);
  color: var(--fc-white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 4px 8px;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.fc-anunc-card__desc {
  color: var(--fc-gray-500);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: var(--fc-space-6);
}

.fc-anunc-card__footer {
  margin-top: auto;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: var(--fc-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-4);
}

.fc-anunc-card__invest-label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-gray-400);
  font-weight: 700;
}

.fc-anunc-card__invest-val {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
}

.fc-anunc-btn-details {
  display: block;
  width: 100%;
  background-color: var(--fc-black);
  color: var(--fc-white);
  text-align: center;
  padding: var(--fc-space-3);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.2s;
}

.fc-anunc-btn-details:hover {
  background-color: var(--fc-accent);
  color: var(--fc-white);
}

.fc-anunc-pagination {
  margin-top: var(--fc-space-16);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--fc-space-4);
}

.fc-anunc-pagination .page-numbers {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fc-black);
  font-weight: 900;
  color: var(--fc-black);
  text-decoration: none;
  transition: all 0.2s;
}

.fc-anunc-pagination .page-numbers:hover {
  background-color: rgba(0,0,0,0.05);
}

.fc-anunc-pagination .page-numbers.current {
  background-color: var(--fc-black);
  color: var(--fc-white);
}

/* ── 15. Premium Wizard Form (Multi-Step) ────────────────────────────────── */

.fc-wizard-page {
  background-color: var(--fc-gray-50);
  padding-block: var(--fc-space-12);
  min-height: 80vh;
}

.fc-wizard-heading {
  margin-bottom: var(--fc-space-12);
}

.fc-wizard-title {
  font-size: var(--fc-text-4xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: var(--fc-space-3);
}

.fc-wizard-subtitle {
  font-size: var(--fc-text-lg);
  color: var(--fc-gray-600);
  max-width: 600px;
}

.fc-wizard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--fc-space-12);
  align-items: start;
}

@media (max-width: 768px) {
  .fc-wizard-layout {
    grid-template-columns: 1fr;
    gap: var(--fc-space-8);
  }
}

/* Sidebar Timeline */
.fc-wizard-sidebar {
  position: sticky;
  top: 100px;
}

.fc-wizard-steps {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .fc-wizard-steps {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: var(--fc-space-4);
  }
}

.fc-step-indicator {
  display: flex;
  gap: var(--fc-space-4);
  align-items: flex-start;
  min-height: 70px;
}

.fc-step-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.fc-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--fc-gray-200);
  background: var(--fc-white);
  color: var(--fc-gray-400);
  transition: all var(--fc-transition);
}

.fc-step-line {
  width: 2px;
  flex-grow: 1;
  background-color: var(--fc-gray-200);
  min-height: 20px;
  margin-block: 4px;
}

.fc-step-text {
  padding-top: 8px;
}

.fc-step-name {
  display: block;
  font-family: var(--fc-font-heading);
  font-weight: 700;
  font-size: var(--fc-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-gray-400);
  transition: color var(--fc-transition);
}

.fc-step-desc {
  display: block;
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-400);
  margin-top: 2px;
}

/* States */
.fc-step-indicator.is-active .fc-step-icon {
  background: var(--fc-black);
  border-color: var(--fc-black);
  color: var(--fc-accent); /* Golden touch */
}

.fc-step-indicator.is-active .fc-step-name {
  color: var(--fc-black);
}

.fc-step-indicator.is-completed .fc-step-icon {
  background: var(--fc-accent); /* Golden touch */
  border-color: var(--fc-accent);
  color: var(--fc-black);
}
.fc-step-indicator.is-completed .fc-step-line {
  background-color: var(--fc-accent);
}
.fc-step-indicator.is-completed .fc-step-name {
  color: var(--fc-gray-800);
}

/* Wizard Main Content */
.fc-wizard-card {
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius-lg);
  padding: var(--fc-space-8) var(--fc-space-12);
  box-shadow: var(--fc-shadow-sm);
}

@media (max-width: 768px) {
  .fc-wizard-card {
    padding: var(--fc-space-6);
  }
}

.fc-panel-header {
  margin-bottom: var(--fc-space-8);
}

.fc-panel-title {
  font-size: var(--fc-text-2xl);
  font-weight: 900;
  margin-bottom: var(--fc-space-2);
}

.fc-panel-divider {
  width: 48px;
  height: 4px;
  background-color: var(--fc-accent);
}

.fc-panel-body {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-8);
}

/* Premium Inputs */
.fc-label-premium {
  display: block;
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fc-gray-600);
  margin-bottom: var(--fc-space-2);
}

.fc-input-premium {
  width: 100%;
  height: 56px;
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  padding: 0 var(--fc-space-4);
  font-size: var(--fc-text-base);
  font-family: var(--fc-font-body);
  color: var(--fc-black);
  background-color: var(--fc-white);
  transition: all var(--fc-transition);
}

.fc-input-premium:focus {
  outline: none;
  border-color: var(--fc-black);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

.fc-input-premium.has-error {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.fc-textarea-premium {
  height: auto;
  padding: var(--fc-space-4);
  resize: vertical;
}

.fc-input-icon-wrapper {
  position: relative;
}

.fc-input-icon {
  position: absolute;
  left: var(--fc-space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--fc-gray-400);
  font-weight: 600;
}

.fc-input-with-icon {
  padding-left: 3rem;
}

.fc-char-count {
  font-size: 10px;
  text-align: right;
  color: var(--fc-gray-400);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Upload Area */
.fc-upload-premium {
  border: 2px dashed var(--fc-gray-200);
  border-radius: var(--fc-radius-lg);
  padding: var(--fc-space-12) var(--fc-space-6);
  text-align: center;
  background-color: var(--fc-gray-50);
  cursor: pointer;
  position: relative;
  transition: all var(--fc-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fc-upload-premium:hover {
  border-color: var(--fc-accent);
  background-color: var(--fc-accent-light);
}

.fc-upload-content.has-image {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.fc-upload-icon {
  width: 64px;
  height: 64px;
  background: var(--fc-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-gray-400);
  margin-bottom: var(--fc-space-4);
  transition: all var(--fc-transition);
}

.fc-upload-premium:hover .fc-upload-icon {
  background: var(--fc-accent);
  color: var(--fc-black);
}

.fc-upload-text {
  font-size: var(--fc-text-sm);
  font-weight: 600;
  color: var(--fc-black);
}

.fc-upload-link {
  color: var(--fc-accent);
  text-decoration: underline;
}

.fc-upload-hint {
  font-size: var(--fc-text-xs);
  color: var(--fc-gray-400);
  margin-top: 4px;
}

#fc-thumb-preview {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  border-radius: var(--fc-radius);
  z-index: 1;
}

.fc-upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: var(--fc-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--fc-transition);
  z-index: 2;
  gap: 8px;
  font-weight: 700;
}

.fc-upload-premium:hover .fc-upload-overlay {
  opacity: 1;
}

/* Review Box */
.fc-review-box {
  background-color: var(--fc-gray-50);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius-lg);
  padding: var(--fc-space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fc-space-4);
}

.fc-review-icon {
  background-color: var(--fc-white);
  padding: var(--fc-space-4);
  border-radius: 50%;
  box-shadow: var(--fc-shadow-sm);
}

/* Actions Footer */
.fc-wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--fc-space-8);
  padding-top: var(--fc-space-8);
  border-top: 1px solid var(--fc-gray-200);
}

.fc-actions-right {
  display: flex;
  gap: var(--fc-space-4);
  margin-left: auto;
}

.fc-btn-premium {
  display: flex;
  align-items: center;
  gap: var(--fc-space-2);
  background-color: var(--fc-black);
  color: var(--fc-white);
  height: 56px;
  padding: 0 var(--fc-space-8);
  border-radius: var(--fc-radius);
  font-family: var(--fc-font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--fc-text-sm);
  border: none;
  cursor: pointer;
  transition: all var(--fc-transition);
}

.fc-btn-premium:hover {
  background-color: var(--fc-accent);
  color: var(--fc-black);
  transform: translateY(-2px);
}

.fc-btn-prev, .fc-btn-cancel {
  display: flex;
  align-items: center;
  gap: var(--fc-space-2);
  background: none;
  border: none;
  color: var(--fc-gray-600);
  font-family: var(--fc-font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--fc-text-sm);
  cursor: pointer;
  transition: all var(--fc-transition);
  text-decoration: none;
}

.fc-btn-prev:hover, .fc-btn-cancel:hover {
  color: var(--fc-black);
}

.fc-wizard-info {
  display: flex;
  align-items: flex-start;
  gap: var(--fc-space-4);
  margin-top: var(--fc-space-8);
  padding: var(--fc-space-6);
  background-color: var(--fc-gray-100);
  border-radius: var(--fc-radius-lg);
  color: var(--fc-gray-600);
  font-size: var(--fc-text-xs);
  line-height: 1.6;
}

.fc-wizard-info svg {
  flex-shrink: 0;
  color: var(--fc-gray-400);
}

/* Review Summary */
.fc-review-summary {
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  padding: var(--fc-space-6);
  margin-bottom: var(--fc-space-6);
}

.fc-review-summary-title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-lg);
  font-weight: 700;
  margin-bottom: var(--fc-space-4);
  padding-bottom: var(--fc-space-2);
  border-bottom: 1px solid var(--fc-gray-200);
}

.fc-review-list {
  display: flex;
  flex-direction: column;
  gap: var(--fc-space-3);
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-800);
}

.fc-review-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--fc-gray-100);
  padding-bottom: 4px;
}

.fc-review-list strong {
  color: var(--fc-gray-600);
}
.fc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fc-modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.fc-modal-content {
  background: var(--fc-white);
  padding: var(--fc-space-8);
  border-radius: var(--fc-radius-lg);
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: var(--fc-shadow-lg);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fc-modal-overlay.is-visible .fc-modal-content {
  transform: translateY(0) scale(1);
}

.fc-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--fc-gray-400);
  cursor: pointer;
  transition: color var(--fc-transition);
  line-height: 1;
}

.fc-modal-close:hover {
  color: var(--fc-black);
}

.fc-modal-icon {
  margin-bottom: var(--fc-space-4);
  display: flex;
  justify-content: center;
}

.fc-modal-title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xl);
  font-weight: 700;
  margin-bottom: var(--fc-space-2);
  color: var(--fc-black);
}

.fc-modal-text {
  font-size: var(--fc-text-sm);
  color: var(--fc-gray-600);
  margin-bottom: var(--fc-space-6);
  line-height: 1.5;
}

.fc-modal-btn {
  width: 100%;
  padding: var(--fc-space-3);
  font-size: var(--fc-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* ── Search Toggle (Header) ──────────────────────────────────────────────── */

.fc-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1.5px solid var(--fc-gray-200);
  border-radius: 50%;
  color: var(--fc-black);
  cursor: pointer;
  transition: all var(--fc-transition);
  flex-shrink: 0;
}

.fc-search-toggle:hover {
  border-color: var(--fc-black);
  background-color: var(--fc-black);
  color: var(--fc-white);
}

/* ── Search Overlay (Fullscreen) ─────────────────────────────────────────── */

.fc-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.fc-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.fc-search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fc-search-overlay__content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 640px;
  transform: translateY(-20px);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fc-search-overlay.is-open .fc-search-overlay__content {
  transform: translateY(0);
}

.fc-search-overlay__close {
  position: absolute;
  top: -56px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--fc-white);
  cursor: pointer;
  transition: all var(--fc-transition);
}

.fc-search-overlay__close:hover {
  border-color: var(--fc-white);
  background: rgba(255, 255, 255, 0.1);
}

.fc-search-overlay__label {
  display: block;
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fc-accent);
  margin-bottom: var(--fc-space-4);
}

.fc-search-overlay__field {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color var(--fc-transition);
}

.fc-search-overlay__field:focus-within {
  border-bottom-color: var(--fc-accent);
}

.fc-search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--fc-font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--fc-white);
  padding: var(--fc-space-4) 0;
  caret-color: var(--fc-accent);
}

.fc-search-overlay__input::placeholder {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 400;
}

/* Remove native search cancel button */
.fc-search-overlay__input::-webkit-search-cancel-button,
.fc-search-overlay__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.fc-search-overlay__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color var(--fc-transition);
  flex-shrink: 0;
}

.fc-search-overlay__submit:hover {
  color: var(--fc-accent);
}

.fc-search-overlay__hint {
  font-size: var(--fc-text-xs);
  color: rgba(255, 255, 255, 0.35);
  margin-top: var(--fc-space-4);
  line-height: 1.5;
}

/* ── Search Results Page ─────────────────────────────────────────────────── */

.fc-search-page {
  background: var(--fc-white);
}

.fc-search-header {
  background-color: var(--fc-white);
  border-bottom: 4px solid var(--fc-black);
  padding: 60px 0 48px;
}

.fc-search-header__label {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fc-accent);
  margin-bottom: var(--fc-space-3);
}

.fc-search-header__title {
  font-family: var(--fc-font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--fc-black);
  line-height: 1.2;
  margin-bottom: var(--fc-space-8);
}

/* Inline search form on results page */
.fc-search-inline {
  max-width: 480px;
}

.fc-search-inline__field {
  display: flex;
  align-items: center;
  border: 1px solid var(--fc-gray-200);
  border-radius: var(--fc-radius);
  overflow: hidden;
  transition: border-color var(--fc-transition);
}

.fc-search-inline__field:focus-within {
  border-color: var(--fc-black);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}

.fc-search-inline__input {
  flex: 1;
  border: none;
  outline: none;
  padding: var(--fc-space-3) var(--fc-space-4);
  font-family: var(--fc-font-body);
  font-size: var(--fc-text-sm);
  color: var(--fc-black);
  background: var(--fc-white);
}

.fc-search-inline__input::-webkit-search-cancel-button,
.fc-search-inline__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.fc-search-inline__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--fc-black);
  border: none;
  color: var(--fc-white);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--fc-transition);
}

.fc-search-inline__btn:hover {
  background: var(--fc-accent);
  color: var(--fc-black);
}

/* Section count badge */
.fc-search-section__count {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-xs);
  font-weight: 700;
  color: var(--fc-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Franchise grid on search — limit to 3 cols */
.fc-franchise-grid--search {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fc-space-6);
}

/* Franchise card segment label */
.fc-franchise-card__segment {
  display: inline-block;
  font-family: var(--fc-font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fc-accent);
}

/* Franchise card placeholder image */
.fc-franchise-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fc-gray-100);
}

/* Franchise card name link */
.fc-franchise-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--fc-transition);
}

.fc-franchise-card__name a:hover {
  color: var(--fc-accent);
  text-decoration: none;
}

/* Pagination */
.fc-search-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--fc-space-2);
}

.fc-search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--fc-space-3);
  border: 1px solid var(--fc-gray-200);
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-sm);
  font-weight: 700;
  color: var(--fc-black);
  text-decoration: none;
  transition: all var(--fc-transition);
}

.fc-search-pagination .page-numbers:hover,
.fc-search-pagination .page-numbers.current {
  background: var(--fc-black);
  color: var(--fc-white);
  border-color: var(--fc-black);
  text-decoration: none;
}

.fc-search-pagination .page-numbers.dots {
  border: none;
  pointer-events: none;
}

/* No Results state */
.fc-search-empty__content {
  text-align: center;
  padding: var(--fc-space-16) 0;
  max-width: 480px;
  margin: 0 auto;
}

.fc-search-empty__icon {
  margin-bottom: var(--fc-space-6);
}

.fc-search-empty__title {
  font-family: var(--fc-font-heading);
  font-size: var(--fc-text-2xl);
  font-weight: 900;
  margin-bottom: var(--fc-space-4);
}

.fc-search-empty__text {
  font-size: var(--fc-text-base);
  color: var(--fc-gray-600);
  margin-bottom: var(--fc-space-8);
  line-height: 1.6;
}

.fc-search-empty__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--fc-space-4);
  flex-wrap: wrap;
}

/* ── Search Responsive ───────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .fc-franchise-grid--search {
    grid-template-columns: repeat(2, 1fr);
  }
  .fc-search-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fc-search-toggle {
    width: 32px;
    height: 32px;
  }
  .fc-search-toggle svg {
    width: 15px;
    height: 15px;
  }
  .fc-search-overlay {
    padding-top: 12vh;
  }
  .fc-franchise-grid--search,
  .fc-search-blog-grid {
    grid-template-columns: 1fr;
  }
  .fc-search-header {
    padding: 40px 0 32px;
  }
  .fc-search-empty__actions {
    flex-direction: column;
  }
  .fc-search-empty__actions .fc-btn {
    width: 100%;
  }
}
