/*
Theme Name: Tefo Fitness Bespoke
Theme URI: https://tefofitness.com
Author: StudioDigital
Author URI: https://studiodigital.co
Description: Tema bespoke nativo de ultra-alto rendimiento para Tefo Fitness (Lift and Live). Zero-bloat, sin constructores visuales, diseno luminoso moderno y 100% semantico.
Version: 1.1.0
Text Domain: tefo-fitness
*/

:root {
  --tf-bg: #ffffff;
  --tf-bg-alt: #f8fafc;
  --tf-card: #ffffff;
  --tf-card-border: #e2e8f0;
  --tf-dark: #0f172a;
  --tf-dark-surface: #1e293b;
  --tf-teal: #008b8b;
  --tf-teal-hover: #007373;
  --tf-teal-light: #e6f7f7;
  --tf-coral: #ff4500;
  --tf-coral-hover: #e03e00;
  --tf-coral-light: #fff0eb;
  --tf-text-main: #1e293b;
  --tf-text-heading: #0f172a;
  --tf-text-muted: #64748b;
  --tf-white: #ffffff;
  --tf-container: 1140px;
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--tf-text-main);
  background-color: var(--tf-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--tf-bg);
  color: var(--tf-text-main);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--tf-text-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

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

/* Layout Utilities */
.tf-container {
  width: 100%;
  max-width: var(--tf-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.tf-container-sm {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Typography Scale */
.text-hero {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.text-section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-card-title {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
}

/* Buttons */
.tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  line-height: 1;
  text-align: center;
}

.tf-btn-coral {
  background-color: var(--tf-coral);
  color: var(--tf-white);
}

.tf-btn-coral:hover {
  background-color: var(--tf-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(255, 69, 0, 0.35);
}

.tf-btn-teal {
  background-color: var(--tf-teal);
  color: var(--tf-white);
}

.tf-btn-teal:hover {
  background-color: var(--tf-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 139, 139, 0.35);
}

.tf-btn-outline {
  background-color: transparent;
  color: var(--tf-text-heading);
  border: 2px solid #cbd5e1;
}

.tf-btn-outline:hover {
  border-color: var(--tf-teal);
  color: var(--tf-teal);
  background-color: var(--tf-teal-light);
  transform: translateY(-2px);
}

/* Form Controls */
.tf-input, .tf-select, .tf-textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--tf-text-main);
  padding: 0.85rem 1.15rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.tf-input:focus, .tf-select:focus, .tf-textarea:focus {
  border-color: var(--tf-teal);
  box-shadow: 0 0 0 3px rgba(0, 139, 139, 0.15);
}

.tf-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

/* Badges */
.tf-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background-color: var(--tf-teal-light);
  color: var(--tf-teal);
  border: 1px solid rgba(0, 139, 139, 0.25);
}

/* Cards */
.tf-card {
  background-color: var(--tf-card);
  border: 1px solid var(--tf-card-border);
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 139, 139, 0.35);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
}

/* Category Card Specific (Teal Accent Card) */
.tf-category-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--tf-teal);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.tf-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px -5px rgba(0, 139, 139, 0.15);
  border-color: var(--tf-teal);
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.grid-5-categories {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 580px) {
  .grid-5-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .grid-5-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .grid-5-categories {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.tf-home-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -8px rgba(0, 139, 139, 0.18);
  border-top-color: var(--tf-coral) !important;
}

/* Header (Glassmorphic Ergonomics & Responsive Architecture) */
.tf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.tf-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.65rem;
  max-width: 1260px;
}

.tf-header-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.2rem 0;
}

.tf-header-logo-img {
  height: 74px;
  max-height: 82px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 2px 12px rgba(0, 139, 139, 0.42));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tf-header-logo-link:hover .tf-header-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 18px rgba(0, 139, 139, 0.65));
}

@media (max-width: 640px) {
  .tf-header-container {
    height: 5.25rem;
  }
  .tf-header-logo-img {
    height: 64px;
  }
}

.tf-desktop-nav {
  display: none;
}

.tf-nav-list {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
}

.tf-nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #cbd5e1;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  position: relative;
}

.tf-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.tf-nav-link.active {
  color: #ffffff;
  background: rgba(0, 139, 139, 0.22);
  border: 1px solid rgba(0, 139, 139, 0.45);
  box-shadow: 0 2px 10px rgba(0, 139, 139, 0.2);
}

.tf-nav-pill-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 69, 0, 0.25);
  color: #ff6b3d;
  border: 1px solid rgba(255, 69, 0, 0.4);
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  line-height: 1;
}

.tf-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tf-header-social {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.tf-header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.tf-header-icon-btn:hover {
  background: var(--tf-teal);
  border-color: var(--tf-teal);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 139, 139, 0.35);
}

.tf-header-cta-btn {
  background: linear-gradient(135deg, #ff4500 0%, #ea3800 100%);
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(255, 69, 0, 0.35);
  transition: all 0.2s ease;
}

.tf-header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
}

.tf-header-cta-arrow {
  transition: transform 0.2s ease;
}

.tf-header-cta-btn:hover .tf-header-cta-arrow {
  transform: translateX(3px);
}

.tf-mobile-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .tf-desktop-nav {
    display: block !important;
  }
  .tf-header-social {
    display: flex !important;
  }
  .tf-mobile-btn {
    display: none !important;
  }
}

/* Header Top Accent Bar */
.tf-header-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #008B8B 0%, #00B4D8 25%, #FF4500 70%, #008B8B 100%);
  background-size: 200% 100%;
  animation: tf-accent-shift 8s ease infinite;
  z-index: 101;
}

@keyframes tf-accent-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Home Hero Section (High-Impact Athletic Atmosphere) */
.tf-hero-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 88% 18%, rgba(0, 139, 139, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 8% 85%, rgba(255, 69, 0, 0.07) 0%, transparent 40%),
    radial-gradient(rgba(0, 139, 139, 0.08) 1.25px, transparent 1.25px);
  background-size: auto, auto, 28px 28px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

/* Pulsing Badge */
.tf-hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  background: rgba(0, 139, 139, 0.08);
  border: 1px solid rgba(0, 139, 139, 0.25);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tf-teal);
  box-shadow: 0 2px 10px rgba(0, 139, 139, 0.08);
  width: fit-content;
}

.tf-hero-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--tf-teal);
  position: relative;
}

.tf-hero-pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 9999px;
  border: 2px solid var(--tf-teal);
  animation: tf-pulse-wave 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes tf-pulse-wave {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* High-Impact Headline */
.tf-hero-title {
  font-size: 2.65rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--tf-text-heading);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .tf-hero-title {
    font-size: 3.4rem;
  }
}

.tf-hero-gradient-text {
  background: linear-gradient(135deg, #008B8B 0%, #009999 35%, #FF4500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Trust Strip */
.tf-hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  flex-wrap: wrap;
}

.tf-hero-avatars {
  display: flex;
  align-items: center;
}

.tf-hero-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  border: 2px solid #ffffff;
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.tf-hero-avatar:first-child {
  margin-left: 0;
}

.tf-hero-trust-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.tf-hero-trust-stars {
  color: #ff9800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1;
}

.tf-hero-trust-text {
  font-size: 0.82rem;
  color: var(--tf-text-muted);
}

/* Visual Column & Floating Elements */
.tf-hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.tf-hero-glow-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 105%;
  height: 105%;
  background: radial-gradient(circle, rgba(0, 139, 139, 0.22) 0%, rgba(255, 69, 0, 0.12) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.tf-hero-img-card {
  position: relative;
  z-index: 2;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background-color: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.16);
  aspect-ratio: 1 / 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tf-hero-visual-wrapper:hover .tf-hero-img-card {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px -15px rgba(0, 139, 139, 0.22);
}

.tf-hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tf-floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 139, 139, 0.2);
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease;
}

.tf-floating-badge:hover {
  transform: translateY(-2px) scale(1.02);
}

.tf-floating-badge-tr {
  top: -16px;
  right: -12px;
}

.tf-floating-badge-bl {
  bottom: -20px;
  left: -12px;
}

.tf-floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.65rem;
  background: var(--tf-teal-light);
  color: var(--tf-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tf-floating-stat-box {
  background: linear-gradient(135deg, #008B8B, #006060);
  color: #ffffff;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  flex-shrink: 0;
}

.tf-floating-stat-num {
  font-weight: 800;
  font-size: 0.95rem;
}

.tf-floating-stat-stars {
  font-size: 0.55rem;
  color: #ffb703;
}

.tf-floating-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--tf-text-heading);
  line-height: 1.2;
}

.tf-floating-sub {
  font-size: 0.72rem;
  color: var(--tf-text-muted);
  line-height: 1.3;
}

@media (max-width: 640px) {
  .tf-floating-badge-tr {
    right: 0;
    top: -10px;
  }
  .tf-floating-badge-bl {
    left: 0;
    bottom: -10px;
  }
}

/* Footer (Premium Dark Ergonomics with Radial Ambient Glow) */
.tf-footer {
  background: radial-gradient(circle at 85% 15%, rgba(0, 139, 139, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(255, 69, 0, 0.05) 0%, transparent 40%),
              #070b14;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.tf-footer-glow-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--tf-teal) 50%, transparent 100%);
  opacity: 0.8;
}

.tf-footer-newsletter-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.3);
}

.tf-footer-title {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
}

.tf-footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.45rem;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--tf-teal);
  border-radius: 9999px;
}

.tf-footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tf-footer-link {
  color: #cbd5e1;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.tf-footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.tf-footer-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.tf-footer-social-btn:hover {
  background: var(--tf-teal);
  border-color: var(--tf-teal);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 139, 139, 0.35);
}

.tf-footer-back-top:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px);
}

/* Mobile Menu Drawer */
.tf-mobile-menu {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.98);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tf-mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

/* Article Prose */
.tf-prose {
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.8;
}

.tf-prose p {
  margin-bottom: 1.5rem;
}

.tf-prose h2 {
  font-size: 1.85rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.tf-prose h3 {
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.tf-prose ul, .tf-prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.tf-prose li {
  margin-bottom: 0.5rem;
}

.tf-prose a {
  color: var(--tf-coral);
  text-decoration: underline;
}

.tf-prose a:hover {
  color: var(--tf-teal);
}

.tf-prose img {
  border-radius: 0.75rem;
  margin: 2rem auto;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.tf-prose blockquote {
  border-left: 4px solid var(--tf-teal);
  background-color: var(--tf-teal-light);
  padding: 1.25rem 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  margin: 2rem 0;
  color: #1e293b;
}

/* ==========================================================================
   Phase 2: Interactive Components (Before/After Slider, Testimonials, Tools)
   ========================================================================== */

/* Before / After Transformation Slider */
.tf-ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--tf-card-border);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background-color: #0f172a;
}

.tf-ba-after,
.tf-ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.tf-ba-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid #ffffff;
  pointer-events: none;
}

.tf-ba-before-wrapper .tf-ba-before {
  width: 100%;
  height: 100%;
  max-width: none;
}

.tf-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.tf-ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.tf-ba-handle-circle {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--tf-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--tf-teal);
  transition: transform 0.15s ease;
}

.tf-ba-slider:active .tf-ba-handle-circle {
  transform: scale(1.12);
}

.tf-ba-label {
  position: absolute;
  bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
  backdrop-filter: blur(8px);
  z-index: 5;
}

.tf-ba-label-before {
  left: 1.25rem;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tf-ba-label-after {
  right: 1.25rem;
  background: rgba(0, 139, 139, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Testimonials Filter Buttons */
.tf-filter-btn {
  padding: 0.6rem 1.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tf-text-muted);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tf-filter-btn:hover {
  color: var(--tf-teal);
  background: var(--tf-teal-light);
  border-color: var(--tf-teal);
}

.tf-filter-btn.active {
  color: #ffffff;
  background: var(--tf-teal);
  border-color: var(--tf-teal);
  box-shadow: 0 4px 10px rgba(0, 139, 139, 0.25);
}

.tf-testimonial-card {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tf-testimonial-card.hidden {
  display: none !important;
}

/* Unit Toggle Switchers */
.tf-unit-btn.active {
  background: #ffffff !important;
  color: var(--tf-text-heading) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   Category & Archive Experience Enhancements
   ========================================================================== */
.tf-archive-hero {
  padding-top: 4.5rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.tf-breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--tf-text-muted);
  margin-bottom: 1.5rem;
}

.tf-breadcrumb-nav a {
  color: var(--tf-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tf-breadcrumb-nav a:hover {
  color: var(--tf-teal);
}

.tf-category-icon-bubble {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #008B8B 0%, #005F5F 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(0, 139, 139, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.tf-category-icon-bubble img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.tf-category-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.4rem 1.15rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--tf-text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tf-filter-pills-wrap {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.tf-filter-pill {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tf-filter-pill.active {
  background-color: var(--tf-teal);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 139, 139, 0.3);
  border: 1px solid var(--tf-teal);
}

.tf-filter-pill.inactive {
  background-color: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.tf-filter-pill.inactive:hover {
  border-color: var(--tf-teal);
  color: var(--tf-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tf-archive-card {
  background: #ffffff;
  border: 1px solid var(--tf-card-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tf-archive-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 139, 139, 0.35);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
}

.tf-archive-card:hover .tf-card-thumb-img {
  transform: scale(1.05);
}

.tf-card-thumb-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.tf-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tf-card-read-time {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.tf-card-cta-link {
  color: var(--tf-coral);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.tf-card-cta-link:hover {
  gap: 0.55rem;
  color: var(--tf-coral-hover);
}

/* Pagination */
.tf-pagination,
.tf-pagination .nav-links,
.navigation.pagination .nav-links {
  display: flex !important;
  gap: 0.65rem !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin: 3.5rem auto 0 !important;
}

.tf-pagination .page-numbers,
.navigation.pagination .page-numbers,
.page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2.75rem !important;
  height: 2.75rem !important;
  padding: 0 1.15rem !important;
  border-radius: 0.5rem !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: var(--tf-text-heading) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tf-pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover,
.page-numbers:hover {
  border-color: var(--tf-teal) !important;
  color: var(--tf-teal) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px -2px rgba(0, 139, 139, 0.18) !important;
}

.tf-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current,
.page-numbers.current {
  background: var(--tf-teal) !important;
  border-color: var(--tf-teal) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 139, 139, 0.35) !important;
  transform: none !important;
  cursor: default !important;
}

.tf-pagination .page-numbers.dots,
.navigation.pagination .page-numbers.dots,
.page-numbers.dots {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--tf-text-muted) !important;
  cursor: default !important;
}

