/* ==========================================================================
   FACTORY FLEX & DESCANSO VERTEBRAL - CORPORATE DESIGN SYSTEM 2026
   Authentic Flex Palette: Navy Blue (#003366), Royal Blue (#004b93), Flex Red (#df3627)
   Clean, Human, High-converting, 100% Mobile-First Responsive
   ========================================================================== */

:root {
  --ff-navy: #002b5c;
  --ff-navy-dark: #001e40;
  --ff-navy-light: #00428a;
  --ff-blue: #0056b3;
  --ff-blue-soft: #e8f1fb;
  --ff-red: #df3627;
  --ff-red-hover: #b8281b;
  --ff-red-soft: #fdf2f1;
  --ff-cyan: #008cb7;
  
  --ff-text: #1e293b;
  --ff-text-muted: #526075;
  --ff-text-light: #8492a6;
  --ff-text-inverse: #ffffff;
  
  --ff-bg: #ffffff;
  --ff-bg-alt: #f8fafc;
  --ff-bg-subtle: #f1f5f9;
  --ff-border: #e2e8f0;
  --ff-border-dark: #cbd5e1;
  
  --ff-radius-sm: 4px;
  --ff-radius-md: 8px;
  --ff-radius-lg: 14px;
  --ff-radius-full: 9999px;
  
  --ff-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --ff-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --ff-shadow-lg: 0 12px 24px -4px rgba(0, 34, 68, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
  
  --ff-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-container: 1280px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--ff-font);
  color: var(--ff-text);
  background-color: var(--ff-bg-alt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.18s ease;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Containers */
.ff-container {
  width: 100%;
  max-width: var(--ff-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 28px);
  padding-right: clamp(16px, 3vw, 28px);
}

.ff-container-narrow {
  max-width: 900px;
}

/* Top Utility Bar */
.ff-topbar {
  background-color: var(--ff-navy-dark);
  color: #d1d5db;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ff-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ff-topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ff-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ff-topbar-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ff-topbar-contacts a {
  color: #ffffff;
  font-weight: 500;
}

.ff-topbar-contacts a:hover {
  color: #93c5fd;
}

/* ==========================================================================
   HEADER SYSTEM (2-TIER CORPORATE ARCHITECTURE)
   ========================================================================== */
.ff-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 34, 68, 0.06);
  width: 100%;
}

/* Tier 1: Brand & Direct Contact Row */
.ff-header-brand-row {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 12px 0;
}

.ff-brand-row-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 100%;
  box-sizing: border-box;
}

.ff-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.ff-brand-link {
  display: inline-flex;
  align-items: center;
}

.ff-brand-logo {
  height: 68px;
  max-height: 76px;
  width: auto;
  max-width: 440px;
  object-fit: contain;
  display: block;
}

.ff-brand-divider {
  width: 1px;
  height: 48px;
  background-color: var(--ff-border);
  display: none;
}

.ff-brand-sub {
  font-size: 0.8125rem;
  color: var(--ff-text-muted);
  line-height: 1.35;
  display: none;
}

@media (min-width: 1200px) {
  .ff-brand-divider,
  .ff-brand-sub {
    display: block;
  }
}

@media (min-width: 1400px) {
  .ff-brand-logo {
    height: 76px;
    max-height: 82px;
  }
}

/* Header Actions (Call & WhatsApp) */
.ff-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ff-header-call-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.ff-call-label {
  font-size: 0.725rem;
  color: var(--ff-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ff-btn-phone {
  background-color: var(--ff-red);
  color: #ffffff;
  padding: 9px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--ff-radius-sm);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(223, 54, 39, 0.25);
  transition: all 0.18s ease;
}

.ff-btn-phone:hover {
  background-color: var(--ff-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(223, 54, 39, 0.35);
}

/* Responsive adjustments for Brand Row (< 1024px) */
@media (max-width: 1023px) {
  .ff-header-brand-row {
    padding: 8px 0;
  }
  .ff-brand-logo {
    height: 50px;
    max-height: 56px;
    max-width: 280px;
  }
  .ff-call-label {
    display: none;
  }
  .ff-btn-phone {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 520px) {
  .ff-brand-logo {
    height: 42px;
    max-height: 46px;
    max-width: 210px;
  }
  .ff-btn-phone span.ff-phone-number {
    display: none;
  }
  .ff-btn-phone {
    padding: 8px;
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: var(--ff-radius-sm);
  }
}

/* Tier 2: Dedicated Navigation Row */
.ff-header-nav-row {
  background-color: #ffffff;
  border-bottom: 1px solid var(--ff-border);
  display: none;
}

@media (min-width: 1024px) {
  .ff-header-nav-row {
    display: block;
  }
}

.ff-nav-desktop {
  display: flex;
  align-items: center;
  width: 100%;
}

.ff-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.ff-nav-item {
  position: relative;
  flex-shrink: 0;
}

.ff-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ff-navy);
  border-radius: var(--ff-radius-sm);
  white-space: nowrap;
  transition: all 0.15s ease;
}

.ff-nav-link:hover {
  background-color: var(--ff-blue-soft);
  color: var(--ff-blue);
}

.ff-nav-item.active > .ff-nav-link {
  color: var(--ff-blue);
  background-color: var(--ff-blue-soft);
}

/* Dropdown arrow indicator */
.ff-has-dropdown > .ff-nav-link::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 3px;
  transition: transform 0.2s ease;
}

.ff-has-dropdown:hover > .ff-nav-link::after {
  transform: rotate(-135deg) translateY(-1px);
}

/* Dropdown Menu */
.ff-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background-color: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-md);
  box-shadow: var(--ff-shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
  z-index: 1100;
}

.ff-nav-item:hover .ff-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ff-dropdown-right .ff-dropdown-menu,
.ff-nav-item:nth-last-child(-n+2) .ff-dropdown-menu {
  left: auto;
  right: 0;
}

.ff-dropdown-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--ff-radius-sm);
  color: var(--ff-text);
  transition: background-color 0.15s ease;
}

.ff-dropdown-link:hover {
  background-color: var(--ff-blue-soft);
  color: var(--ff-navy);
}

.ff-dropdown-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ff-navy);
}

.ff-dropdown-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--ff-text-muted);
  margin-top: 2px;
}

.ff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--ff-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.ff-btn-primary {
  background-color: var(--ff-navy);
  color: #ffffff;
}

.ff-btn-primary:hover {
  background-color: var(--ff-navy-light);
  transform: translateY(-1px);
}

.ff-btn-red {
  background-color: var(--ff-red);
  color: #ffffff;
}

.ff-btn-red:hover {
  background-color: var(--ff-red-hover);
  transform: translateY(-1px);
}

.ff-btn-outline {
  background-color: transparent;
  color: var(--ff-navy);
  border-color: var(--ff-border-dark);
}

.ff-btn-outline:hover {
  background-color: var(--ff-bg-subtle);
  border-color: var(--ff-navy);
}

.ff-btn-whatsapp {
  background-color: #128c7e;
  color: #ffffff;
}

.ff-btn-whatsapp:hover {
  background-color: #075e54;
}

.ff-btn-sm {
  padding: 8px 14px;
  font-size: 0.8125rem;
}

.ff-btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

/* Mobile Toggle */
.ff-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-sm);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .ff-menu-toggle {
    display: none;
  }
}

.ff-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--ff-navy);
}

/* Mobile Drawer */
.ff-mobile-menu {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 20, 45, 0.65);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.ff-mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.ff-mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 380px;
  height: 100%;
  background-color: #ffffff;
  padding: 24px 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.ff-mobile-menu.open .ff-mobile-menu-panel {
  transform: translateX(0);
}

.ff-mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--ff-navy);
  cursor: pointer;
  float: right;
  line-height: 1;
  padding: 4px;
}

/* ==========================================================================
   CAROUSEL BANNER SYSTEM
   ========================================================================== */
.ff-carousel {
  position: relative;
  width: 100%;
  background-color: var(--ff-navy-dark);
  overflow: hidden;
  color: #ffffff;
}

.ff-carousel-track {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease-in-out;
}

.ff-carousel-slide {
  width: 33.333333%;
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center right;
}

@media (min-width: 768px) {
  .ff-carousel-slide {
    min-height: 560px;
  }
}

.ff-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 22, 50, 0.92) 0%, rgba(0, 32, 70, 0.78) 38%, rgba(0, 35, 75, 0.38) 72%, rgba(0, 20, 45, 0.35) 100%);
}

.ff-carousel-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 40px 0;
}

.ff-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--ff-radius-sm);
  margin-bottom: 16px;
}

.ff-badge-blue {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ff-badge-red {
  background-color: var(--ff-red);
  color: #ffffff;
}

.ff-carousel-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.ff-carousel-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 650px;
}

.ff-carousel-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Carousel Controls */
.ff-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: rgba(0, 27, 60, 0.6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--ff-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.ff-carousel-arrow:hover {
  background-color: var(--ff-red);
  border-color: var(--ff-red);
}

.ff-carousel-arrow.prev { left: 16px; }
.ff-carousel-arrow.next { right: 16px; }

.ff-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.ff-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ff-carousel-dot.active {
  width: 32px;
  border-radius: var(--ff-radius-full);
  background-color: var(--ff-red);
}

/* ==========================================================================
   VALUE PROPOSITIONS (CLEAN CORPORATE)
   ========================================================================== */
.ff-props-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--ff-border);
  padding: 32px 0;
}

.ff-props-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

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

@media (min-width: 1024px) {
  .ff-props-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ff-prop-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--ff-radius-md);
  transition: background-color 0.2s ease;
}

.ff-prop-item:hover {
  background-color: var(--ff-bg-subtle);
}

.ff-prop-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--ff-radius-sm);
  background-color: var(--ff-blue-soft);
  color: var(--ff-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ff-prop-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ff-navy);
  margin-bottom: 4px;
}

.ff-prop-desc {
  font-size: 0.8125rem;
  color: var(--ff-text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SECTIONS & DUAL SHOWROOM CARDS
   ========================================================================== */
.ff-section {
  padding: clamp(48px, 6vw, 76px) 0;
}

.ff-section-alt {
  background-color: #ffffff;
}

.ff-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.ff-section-tag {
  font-size: 0.8125rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ff-red);
  margin-bottom: 8px;
  display: block;
}

.ff-section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--ff-navy);
  line-height: 1.25;
  margin-bottom: 14px;
}

.ff-section-desc {
  font-size: 1rem;
  color: var(--ff-text-muted);
}

.ff-dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .ff-dual-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ff-showroom-card {
  background-color: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-md);
  overflow: hidden;
  box-shadow: var(--ff-shadow-sm);
  display: flex;
  flex-direction: column;
}

.ff-showroom-photo {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.ff-showroom-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ff-showroom-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ff-blue);
  margin-bottom: 8px;
  display: block;
}

.ff-showroom-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ff-navy);
  margin-bottom: 12px;
}

.ff-showroom-desc {
  font-size: 0.9rem;
  color: var(--ff-text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.ff-showroom-meta {
  border-top: 1px solid var(--ff-border);
  padding-top: 18px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--ff-text);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ff-meta-row {
  display: flex;
  gap: 8px;
}

.ff-meta-label {
  font-weight: 700;
  color: var(--ff-navy);
  min-width: 70px;
}

/* ==========================================================================
   PRODUCT & CATEGORY GRIDS
   ========================================================================== */
.ff-card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 600px) {
  .ff-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.ff-cat-item {
  background-color: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-md);
  overflow: hidden;
  box-shadow: var(--ff-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ff-cat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--ff-shadow-lg);
  border-color: var(--ff-blue);
}

.ff-cat-photo-box {
  height: 200px;
  background-color: var(--ff-bg-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-cat-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ff-cat-item:hover .ff-cat-photo {
  transform: scale(1.03);
}

.ff-cat-detail {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ff-cat-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ff-navy);
  margin-bottom: 8px;
}

.ff-cat-snippet {
  font-size: 0.875rem;
  color: var(--ff-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.ff-link-more {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ff-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ff-link-more:hover {
  color: var(--ff-red);
}

/* Product Model Cards */
.ff-model-card {
  background-color: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-md);
  padding: 24px;
  box-shadow: var(--ff-shadow-sm);
  display: flex;
  flex-direction: column;
}

.ff-model-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ff-navy);
  background-color: var(--ff-blue-soft);
  padding: 4px 10px;
  border-radius: var(--ff-radius-sm);
  align-self: flex-start;
  margin-bottom: 14px;
}

.ff-model-img {
  height: 180px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.ff-model-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ff-navy);
  margin-bottom: 8px;
}

.ff-model-features {
  font-size: 0.85rem;
  color: var(--ff-text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.ff-model-footer {
  border-top: 1px solid var(--ff-border);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   FAQ ACCORDIONS
   ========================================================================== */
.ff-accordion-group {
  max-width: 820px;
  margin: 0 auto;
}

.ff-accordion-item {
  background-color: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-sm);
  margin-bottom: 10px;
}

.ff-accordion-trigger {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--ff-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.ff-accordion-trigger::-webkit-details-marker {
  display: none;
}

.ff-accordion-trigger::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--ff-blue);
  line-height: 1;
}

.ff-accordion-item[open] .ff-accordion-trigger::after {
  content: "−";
}

.ff-accordion-panel {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--ff-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ff-footer {
  background-color: var(--ff-navy-dark);
  color: #cbd5e1;
  padding-top: 60px;
  border-top: 3px solid var(--ff-red);
}

.ff-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 48px;
}

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

@media (min-width: 1024px) {
  .ff-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.ff-footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.ff-footer-list li {
  margin-bottom: 9px;
}

.ff-footer-list a {
  color: #94a3b8;
  font-size: 0.875rem;
}

.ff-footer-list a:hover {
  color: #ffffff;
}

.ff-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 84px;
  font-size: 0.8125rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 1024px) {
  .ff-footer-bottom {
    padding-bottom: 22px;
  }
}

/* Floating Actions */
.ff-floating-wa {
  position: fixed;
  bottom: 78px;
  right: 18px;
  width: 58px;
  height: 58px;
  border-radius: var(--ff-radius-full);
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 999;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}

@media (min-width: 1024px) {
  .ff-floating-wa {
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
  }
}

.ff-floating-wa:hover {
  transform: scale(1.12);
  background-color: #20ba5a;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6), 0 3px 8px rgba(0, 0, 0, 0.18);
}

.ff-floating-wa svg {
  width: 34px;
  height: 34px;
  display: block;
}

.ff-mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  border-top: 1px solid var(--ff-border);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  z-index: 998;
}

@media (min-width: 1024px) {
  .ff-mobile-action-bar {
    display: none;
  }
}

.ff-mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ff-navy);
  gap: 3px;
  text-decoration: none;
}

.ff-mobile-action-btn.active-action {
  color: var(--ff-red);
}

/* ==========================================================================
   ENHANCED COMPONENTS 2026: Gallerias, Imágenes, Blog y Contenido Enriquecido
   ========================================================================== */

/* Single Image & Responsive Media */
.ff-image-box {
  margin: 24px 0;
  border-radius: var(--ff-radius-md);
  overflow: hidden;
  background-color: #f1f5f9;
  border: 1px solid var(--ff-border);
  box-shadow: var(--ff-shadow-sm);
}

.ff-image-box img,
.ff-img-responsive {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: inherit;
}

.ff-image-link {
  display: block;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ff-image-link:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

/* Gallery Grid */
.ff-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.ff-gallery-card {
  position: relative;
  border-radius: var(--ff-radius-md);
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--ff-border);
  box-shadow: var(--ff-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ff-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ff-shadow-md);
}

.ff-gallery-thumb-wrap {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
}

.ff-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.ff-gallery-card:hover .ff-gallery-img {
  transform: scale(1.05);
}

.ff-gallery-zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--ff-radius-full);
  background-color: rgba(0, 43, 92, 0.85);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ff-gallery-card:hover .ff-gallery-zoom {
  opacity: 1;
  transform: scale(1.1);
}

/* Slider Banner */
.ff-slider-banner {
  margin: 24px 0 36px;
  border-radius: var(--ff-radius-md);
  overflow: hidden;
  box-shadow: var(--ff-shadow-md);
  border: 1px solid var(--ff-border);
}

/* FAQ Accordion Groups */
.ff-faq-group {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ff-faq-item {
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-md);
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ff-faq-item[open] {
  border-color: var(--ff-blue);
  box-shadow: var(--ff-shadow-sm);
}

.ff-faq-summary {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ff-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  background-color: var(--ff-bg-alt);
  user-select: none;
}

.ff-faq-summary::-webkit-details-marker {
  display: none;
}

.ff-faq-toggle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ff-blue);
  transition: transform 0.25s ease;
}

.ff-faq-item[open] .ff-faq-toggle {
  transform: rotate(45deg);
  color: var(--ff-red);
}

.ff-faq-content {
  padding: 22px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ff-text);
  border-top: 1px solid var(--ff-border);
  background-color: #ffffff;
}

/* Feature Cards & Service Boxes */
.ff-feature-card {
  padding: 24px;
  border-radius: var(--ff-radius-md);
  background-color: #ffffff;
  border: 1px solid var(--ff-border);
  box-shadow: var(--ff-shadow-sm);
  margin-bottom: 20px;
}

.ff-feature-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ff-navy);
  margin-bottom: 8px;
}

.ff-feature-text {
  font-size: 0.925rem;
  color: var(--ff-text-muted);
  line-height: 1.6;
}

/* Fancy Headings & Separators */
.ff-fancy-heading {
  text-align: center;
  margin: 36px 0 28px;
}

.ff-fancy-heading h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  font-weight: 800;
  color: var(--ff-navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.ff-fancy-sub {
  font-size: 1.05rem;
  color: var(--ff-text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.ff-separator {
  border: none;
  height: 1px;
  background-color: var(--ff-border);
  margin: 36px 0;
}

.ff-text-separator {
  position: relative;
  text-align: center;
  margin: 40px 0 30px;
}

.ff-text-separator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--ff-border);
  z-index: 1;
}

.ff-text-separator span {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  padding: 0 18px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ff-text-muted);
}

.ff-quote-mark {
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--ff-blue);
  opacity: 0.3;
}

.ff-figure {
  margin: 24px 0;
}

.ff-figure figcaption {
  font-size: 0.8125rem;
  color: var(--ff-text-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Blog Feed & Articles */
.ff-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin: 36px 0;
}

.ff-blog-card {
  border-radius: var(--ff-radius-md);
  background-color: #ffffff;
  border: 1px solid var(--ff-border);
  box-shadow: var(--ff-shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ff-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ff-shadow-md);
}

.ff-blog-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--ff-bg-subtle);
  position: relative;
}

.ff-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.ff-blog-card:hover .ff-blog-img {
  transform: scale(1.05);
}

.ff-blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ff-blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--ff-text-light);
  margin-bottom: 10px;
}

.ff-blog-badge {
  background-color: var(--ff-blue-soft);
  color: var(--ff-navy);
  padding: 3px 8px;
  border-radius: var(--ff-radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
}

.ff-blog-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ff-navy);
  line-height: 1.35;
  margin-bottom: 12px;
}

.ff-blog-title a {
  color: inherit;
  text-decoration: none;
}

.ff-blog-title a:hover {
  color: var(--ff-blue);
}

.ff-blog-excerpt {
  font-size: 0.925rem;
  color: var(--ff-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.ff-blog-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ff-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ff-blog-link:hover {
  color: var(--ff-red);
}

/* Post Hero Header */
.ff-post-hero {
  margin-bottom: 36px;
  border-radius: var(--ff-radius-md);
  overflow: hidden;
  max-height: 480px;
  box-shadow: var(--ff-shadow-md);
  border: 1px solid var(--ff-border);
}

.ff-post-hero-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.ff-post-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ff-border);
  font-size: 0.875rem;
  color: var(--ff-text-muted);
}

/* Sitemap */
.ff-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
  margin: 36px 0;
}

.ff-sitemap-section h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ff-navy);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ff-blue);
  margin-bottom: 14px;
}

.ff-sitemap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ff-sitemap-list a {
  font-size: 0.925rem;
  color: var(--ff-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ff-sitemap-list a:hover {
  color: var(--ff-red);
  text-decoration: underline;
}

/* Cookie Preferences Panel */
.ff-cookie-box {
  background-color: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-md);
  padding: 32px;
  box-shadow: var(--ff-shadow-sm);
  margin: 28px 0;
}

.ff-cookie-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ff-border);
}

.ff-cookie-card:last-child {
  border-bottom: none;
}

.ff-cookie-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ff-navy);
  margin-bottom: 6px;
}

.ff-cookie-info p {
  font-size: 0.875rem;
  color: var(--ff-text-muted);
  line-height: 1.5;
  margin: 0;
}

.ff-cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 4px;
}

.ff-cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ff-cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 26px;
}

.ff-cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.ff-cookie-switch input:checked + .ff-cookie-slider {
  background-color: var(--ff-navy);
}

.ff-cookie-switch input:disabled + .ff-cookie-slider {
  background-color: var(--ff-blue);
  cursor: not-allowed;
  opacity: 0.8;
}

.ff-cookie-switch input:checked + .ff-cookie-slider:before {
  transform: translateX(24px);
}

/* Related Posts Grid */
.ff-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

