/* ============================================================
   components.css — All UI component styles
   ============================================================ */

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--btn-text-size);
  padding: var(--btn-padding);
  border-radius: var(--radius-btn);
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}

.btn--filled-accent {
  background-color: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

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

.btn--filled-dark {
  background-color: var(--bg-dark);
  color: #fff;
  border: 2px solid var(--bg-dark);
}

.btn--filled-dark:hover {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
}

.btn--ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn--ghost-white:hover {
  background: #fff;
  color: var(--bg-dark);
}

.btn--ghost-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn--ghost-accent:hover {
  background: var(--accent);
  color: #fff;
}

.btn--full-width {
  width: 100%;
}

/* =========================
   NAVIGATION
   ========================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              padding var(--transition-base);
}

.site-nav--scrolled {
  background-color: #fff;
  box-shadow: var(--shadow-nav);
  padding: 14px 0;
}

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

.site-nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--logo-size);
  color: #fff;
  transition: color var(--transition-base);
}

.site-nav--scrolled .site-nav__logo {
  color: var(--text-primary);
}

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

.site-nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--nav-link-size);
  text-transform: uppercase;
  letter-spacing: var(--nav-link-spacing);
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

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

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

.site-nav__link:hover {
  color: #fff;
}

.site-nav--scrolled .site-nav__link {
  color: var(--text-secondary);
}

.site-nav--scrolled .site-nav__link:hover {
  color: var(--text-primary);
}

.site-nav__cta {
  font-size: 14px;
  padding: 10px 24px;
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1002;
  position: relative;
}

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

.hamburger__line:nth-child(1) {
  margin-bottom: 6px;
}

.hamburger__line:nth-child(3) {
  margin-top: 6px;
}

.site-nav--scrolled .hamburger__line {
  background: var(--text-primary);
}

/* Hamburger active state (X) */
.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: #fff;
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: #fff;
}

/* --- Mobile overlay --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(10, 10, 10, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-overlay--active {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--text-on-dark);
  transition: color var(--transition-fast);
}

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

.mobile-overlay__cta {
  margin-top: 16px;
}

/* =========================
   TRUST BAR
   ========================= */

.trust-bar {
  text-align: center;
}

.trust-bar__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--trust-label-size);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-bar__logo {
  opacity: 0.65;
  transition: opacity var(--transition-base);
  flex-shrink: 0;
}

.trust-bar__logo:hover {
  opacity: 1;
}

.trust-bar__logo svg {
  height: 28px;
  width: auto;
}

.trust-bar__quote {
  max-width: 640px;
  margin: 0 auto;
}

.trust-bar__quote blockquote {
  margin: 0 auto;
}

/* =========================
   GRADIENT DIVIDER
   ========================= */

.gradient-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

/* =========================
   BRAND STATEMENT
   ========================= */

.brand-statement {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.brand-statement__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.brand-statement__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* =========================
   STAT CALLOUT BOX
   ========================= */

.stat-callout {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0;
  margin-top: 48px;
  max-width: 700px;
}

.stat-callout--center {
  margin-left: auto;
  margin-right: auto;
}

.stat-callout__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.stat-callout__text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.6;
}

/* =========================
   CARDS — DARK BACKGROUND
   ========================= */

.card-dark {
  background: var(--card-dark-bg);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base),
              opacity 300ms ease;
}

/* =========================
   TABS (filter component)
   ========================= */

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.6);
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.tab:hover {
  color: #fff;
}

.tab--active {
  color: #fff;
  border-bottom-color: var(--accent);
}

/* Tab variant for light bg */
.tabs--light .tab {
  color: var(--text-muted);
}

.tabs--light .tab:hover {
  color: var(--text-primary);
}

.tabs--light .tab--active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
}

/* Card number overlay */
.card-dark__number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

/* Card bullet lines */
.card-dark__bullets {
  margin-bottom: 20px;
}

.card-dark__bullet {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

/* Hidden card (tab filtering) */
.card-dark--hidden,
.card-light--hidden {
  display: none !important;
}

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

.card-dark__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--accent);
}

.card-dark__icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.card-dark__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--card-title-size);
  color: #fff;
  margin-bottom: 12px;
}

.card-dark__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--text-on-dark-muted);
  line-height: var(--card-desc-line-height);
  margin-bottom: 20px;
}

.card-dark__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--small-size);
  color: var(--accent);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.card-dark__link:hover {
  color: var(--accent-hover);
  transform: translateX(4px);
}

/* =========================
   CARDS — LIGHT BACKGROUND (Insights)
   ========================= */

.card-light {
  background: var(--card-light-bg);
  border: var(--border-width) solid var(--border-subtle);
  border-top: 4px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.card-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover-light);
  background-color: var(--bg-light-alt);
}

/* Category-colored top borders */
.card-light--border-accent { border-top-color: var(--accent); }
.card-light--border-green { border-top-color: #10B981; }
.card-light--border-amber { border-top-color: #F59E0B; }
.card-light--border-purple { border-top-color: #8B5CF6; }
.card-light--border-pink { border-top-color: #EC4899; }
.card-light--border-cyan { border-top-color: #06B6D4; }

/* Banner card (horizontal, full width) */
.card-light--banner {
  flex-direction: row;
  gap: 28px;
  align-items: center;
}

.card-light--banner .card-light__banner-accent {
  width: 120px;
  min-height: 100px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #7C3AED 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-light--banner .card-light__banner-accent span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: #fff;
}

.card-light__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.card-light__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--card-title-size);
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 12px;
}

.card-light__title--featured {
  font-size: 26px;
}

.card-light__excerpt {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--card-desc-size);
  color: var(--text-secondary);
  line-height: var(--card-desc-line-height);
  margin-bottom: 16px;
}

.card-light__meta {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
}

/* =========================
   INDUSTRY CARDS (tall, dark, with gradient overlay)
   ========================= */

.industry-card {
  min-height: 400px;
  background: var(--bg-dark);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 48px 24px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
  cursor: default;
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(26, 26, 46, 0.8) 100%);
  z-index: 0;
}

.industry-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-card-hover);
}

.industry-card__top {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.industry-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: #fff;
  margin-bottom: 8px;
}

.industry-card__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--small-size);
  color: var(--text-on-dark-muted);
  max-width: 220px;
}

.industry-card__bottom {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 20px;
}

.industry-card__processes {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.7;
}

.industry-card__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--accent);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.industry-card__link:hover {
  color: var(--accent-hover);
  transform: translateX(4px);
}

/* Decorative SVG pattern per industry card */
.industry-card__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
}

.industry-card__pattern svg {
  width: 100%;
  height: 100%;
}

/* =========================
   PARTNERSHIPS / TECH LOGOS
   ========================= */

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.partner__logo {
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.partner:hover .partner__logo {
  opacity: 1;
}

.partner__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partners-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* =========================
   NEWS / ACTUALIDAD CARDS
   ========================= */

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
}

.news-card {
  display: flex;
  background: var(--card-light-bg);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

a.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover-light);
}

.news-card__thumb {
  width: 120px;
  min-height: 120px;
  flex-shrink: 0;
}

.news-card__gradient {
  width: 100%;
  height: 100%;
}

.news-card__gradient--1 {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}

.news-card__gradient--2 {
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
}

.news-card__gradient--3 {
  background: linear-gradient(135deg, #10B981 0%, #2563EB 100%);
}

.news-card__gradient--4 {
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
}

.news-card__body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card__date {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
}

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

.form-card {
  background: var(--card-light-bg);
  border: var(--border-width) solid var(--border-subtle);
  padding: var(--form-padding);
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--small-size);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: var(--card-desc-size);
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-btn);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-input--error,
.form-select--error,
.form-textarea--error {
  border-color: #EF4444;
}

.form-error {
  font-family: var(--font-body);
  font-size: 13px;
  color: #EF4444;
  margin-top: 4px;
  display: none;
}

.form-error--visible {
  display: block;
}

/* Form submit states */
.form-submit-wrapper {
  margin-top: 28px;
}

.form-message {
  text-align: center;
  padding: 16px;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: var(--small-size);
  font-weight: 500;
  border-radius: var(--radius-btn);
  display: none;
}

.form-message--visible {
  display: block;
}

.form-message--success {
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message--error {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Loading spinner */
.btn--loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn--loading .btn__text {
  display: none;
}

.btn--loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn__spinner-text {
  display: none;
}

.btn--loading .btn__text {
  display: none;
}

.btn--loading .btn__spinner-text {
  display: inline;
}

/* =========================
   BOTTOM CTA STRIPS (within sections)
   ========================= */

.section-bottom-cta {
  margin-top: 56px;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-dark);
}

.section-bottom-cta--light {
  border-top-color: var(--border-subtle);
}

.section-bottom-cta__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--body-size);
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}

.section-bottom-cta--light .section-bottom-cta__text {
  color: var(--text-secondary);
}

/* Inline accent link */
.link-accent {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--small-size);
  color: var(--accent);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.link-accent:hover {
  color: var(--accent-hover);
  transform: translateX(4px);
}

.link-accent--center {
  display: block;
  text-align: center;
  margin-top: 40px;
}

/* =========================
   CASE STUDY DECORATIVE SVGs
   ========================= */

.case-decorative {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-decorative svg {
  width: 100%;
  max-width: 280px;
  min-width: 200px;
  min-height: 200px;
  height: auto;
  opacity: 0.3;
}

.case-body__timeline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.case-body__timeline svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.case-body__timeline span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-on-dark-muted);
}

.case-body__divider {
  height: 1px;
  background: var(--border-dark);
  margin: 20px 0;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  border-top: 1px solid var(--border-dark);
}

.footer-col__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--small-size);
  color: var(--text-on-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col__link {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--small-size);
  color: var(--text-on-dark-muted);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer-col__link:hover {
  color: #fff;
}

.footer-col__link[aria-current="page"] {
  color: #fff;
  pointer-events: none;
  cursor: default;
}

.footer-col__link[aria-current="page"]::after {
  content: ' ·';
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  margin-top: 48px;
  border-top: 1px solid var(--border-dark);
}

.footer-bottom__copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.footer-bottom__social a {
  color: var(--text-on-dark-muted);
  transition: color var(--transition-fast);
}

.footer-bottom__social a:hover {
  color: #fff;
}

.footer-bottom__social svg {
  width: 20px;
  height: 20px;
}

/* =========================
   SCROLL ANIMATION CLASSES
   ========================= */

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow),
              transform var(--transition-slow);
  animation: force-visible 0s 3s forwards;
}

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

.fade-in-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease-out,
              transform 500ms ease-out;
  animation: force-visible 0s 3.5s forwards;
}

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

@keyframes force-visible {
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger delays set via JS data attributes or inline styles */

/* =========================
   HERO SUBTITLE
   ========================= */

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--hero-subtitle-size);
  color: var(--text-on-dark-muted);
  max-width: 560px;
  line-height: var(--body-line-height);
  margin-top: 32px;
}

/* =========================
   HERO FEATURED CARD
   ========================= */

.hero__featured {
  background: #111827;
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--accent);
  padding: 32px;
}

.hero__featured-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero__featured-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.hero__featured-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero__featured-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  transition: color var(--transition-fast);
}

.hero__featured-link:hover {
  color: var(--accent-hover);
  transform: translateX(4px);
}

/* =========================
   TRENDING BAR
   ========================= */

.trending-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trending-bar__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.trending-bar__links {
  display: flex;
  align-items: center;
}

.trending-bar__links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: text-decoration-color var(--transition-fast), color var(--transition-fast);
  text-decoration: underline transparent;
}

.trending-bar__links a:hover {
  text-decoration-color: #fff;
  color: #fff;
}

.trending-bar__sep {
  color: var(--text-on-dark-muted);
  font-size: 14px;
  margin: 0 10px;
  flex-shrink: 0;
}

/* =========================
   ABOUT SECTION EXTRA
   ========================= */

.about-attribution {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--accent);
  margin-top: 24px;
}

/* =========================
   CONTACT SECTION TEXT
   ========================= */

/* =========================
   CONTACT SPLIT LAYOUT
   ========================= */

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.contact-info__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-info__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--text-primary);
}

.contact-info__item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info__testimonial {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.contact-info__quote {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.contact-info__cite {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-muted);
}
