/* ==========================================================================
   FroGirls - Natural Hair Care Brand
   Design System & Global Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --primary-brown: #5d4037;
  --light-brown: #8d6e63;
  --dark-brown: #3e2723;
  --accent-orange: #f57c00;
  --light-orange: #ffb74d;
  --bg-cream: #faf3e0;
  --white: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;

  /* Typography */
  --font-main: 'Outfit', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 24px rgba(93, 64, 55, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-normal: 0.3s ease;
  --trans-slow: 0.5s ease;

  /* Spacing scale */
  --section-pad: 3.5rem;
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark-brown);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
}

a {
  text-decoration: none;
  color: var(--primary-brown);
  transition: color var(--trans-fast);
}

a:hover {
  color: var(--accent-orange);
}

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

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.section {
  padding: var(--section-pad) 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.625rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--trans-normal);
  border: none;
  outline: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-brown);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--dark-brown);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background-color: var(--accent-orange);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background-color: #e65100;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 124, 0, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--primary-brown);
  color: var(--white);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  padding: 0.375rem 0;
  transition: all var(--trans-normal);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.625rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--text-main);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-orange);
  transition: width var(--trans-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--dark-brown);
  cursor: pointer;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--dark-brown);
  color: var(--white);
  padding: 2.5rem 0 1.25rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.footer h3 {
  color: var(--bg-cream);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.875rem;
}

.footer p, .footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.footer li {
  margin-bottom: 0.375rem;
}

.footer a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
}

/* ==========================================================================
   WhatsApp Float
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background-color: var(--accent-orange);
  color: var(--white);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.4);
  z-index: 999;
  transition: all var(--trans-normal);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #e65100;
  box-shadow: 0 6px 16px rgba(245, 124, 0, 0.6);
  color: var(--white);
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 7.75rem 0 3.5rem;
  background: linear-gradient(135deg, var(--bg-cream) 0%, rgba(141, 110, 99, 0.08) 100%);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 88%;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background-color: transparent;
  height: 460px !important;
}

.hero-image-wrapper:hover .slideshow-image.active {
  transform: scale(1.03);
}

/* ==========================================================================
   Trust Badges
   ========================================================================== */
.trust-badges {
  background-color: var(--white);
  padding: 1.875rem 0;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.badges-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  max-width: 220px;
}

.badge-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(245, 124, 0, 0.08);
  color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-item h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.badge-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Featured Section ("Embrace Your Crown")
   ========================================================================== */
.featured-product {
  background-color: var(--primary-brown);
  color: var(--white);
}

.featured-product h2 {
  color: var(--bg-cream);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.featured-image {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background-color: transparent;
  height: 460px !important;
}


.featured-content {
  padding-right: 1rem;
}

.featured-content p {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* ==========================================================================
   Products Page
   ========================================================================== */
.page-header {
  padding: 7rem 0 2.5rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-cream), var(--white));
}

.filters {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--light-brown);
  color: var(--primary-brown);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-brown);
  color: var(--white);
  border-color: var(--primary-brown);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-info {
  padding: 1.125rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-tags {
  margin-bottom: 0.375rem;
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-title {
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.product-price {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--light-brown);
  margin-bottom: 1rem;
}

.product-info .btn {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   Services Page
   ========================================================================== */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-item {
  margin-bottom: 1.25rem;
  padding: 1.375rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-normal);
  border-left: 3px solid var(--accent-orange);
}

.service-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.service-item h3 {
  color: var(--primary-brown);
  margin-bottom: 0.375rem;
}

.services-images {
  position: sticky;
  top: 90px;
}

.carousel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   FAQ Page
   ========================================================================== */
.faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--white);
  margin-bottom: 0.625rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-header {
  padding: 1.125rem 1.25rem;
  background: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--primary-brown);
  transition: background var(--trans-fast);
}

.accordion-header:hover {
  background: #fdfaf5;
}

.accordion-icon {
  transition: transform var(--trans-normal);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #fdfaf5;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-content p {
  padding: 1.125rem 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact & About
   ========================================================================== */
.contact-card {
  background: var(--white);
  padding: 2.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.contact-card .btn {
  margin: 0.625rem 0;
  width: 100%;
  max-width: 280px;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-story:nth-child(even) {
  direction: rtl;
}

.about-story:nth-child(even) > * {
  direction: ltr;
}

/* ==========================================================================
   Responsive — Tablet (≤ 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .featured-grid,
  .services-split,
  .about-story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-story:nth-child(even) {
    direction: ltr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .featured-content {
    padding-right: 0;
    /* Content reads before image on narrow screens */
    order: -1;
  }
}

/* ==========================================================================
   Responsive — Mobile (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --section-pad: 2.25rem;
  }

  /* --- Navbar --- */
  .navbar {
    padding: 0.5rem 0;
  }

  .logo img {
    height: 60px;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 1.375rem;
    border-radius: 8px;
    background: rgba(93, 64, 55, 0.06);
  }

  /* Full-screen slide-down menu */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--bg-cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(93, 64, 55, 0.07);
  }

  .nav-links li:first-child {
    border-top: 1px solid rgba(93, 64, 55, 0.07);
  }

  .nav-links a {
    display: block;
    padding: 1.1rem 2rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-brown);
    letter-spacing: 0.01em;
  }

  .nav-links a.active {
    color: var(--accent-orange);
  }

  .nav-links a::after {
    display: none;
  }

  /* Keep hamburger above the menu overlay */
  .mobile-menu-btn {
    position: relative;
    z-index: 999;
  }

  /* --- Hero --- */
  .hero {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .hero-content p {
    max-width: 100%;
    font-size: 0.9375rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.625rem;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .hero-image-wrapper {
    height: 300px !important;
  }

  /* --- Trust Badges --- */
  .badges-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .badge-item {
    max-width: 100%;
    width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }

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

  .badge-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }

  /* --- Featured Section --- */
  .featured-image {
    height: 280px !important;
  }

  /* --- Products --- */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-info {
    padding: 0.875rem 1rem 1rem;
  }

  /* --- Services --- */
  .carousel {
    aspect-ratio: 16/10;
  }

  .services-images {
    position: static;
  }

  /* --- FAQ --- */
  .accordion-header {
    font-size: 0.9rem;
    padding: 1rem 1.125rem;
  }

  /* --- Contact --- */
  .contact-card {
    padding: 2rem 1.375rem;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-grid > div:first-child img {
    margin: 0 auto;
  }

  .footer ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* --- Page header (inner pages) --- */
  .page-header {
    padding-top: 5rem;
    padding-bottom: 1.5rem;
  }

  /* --- Preloader on mobile --- */
  .preloader-logo {
    height: 150px;
  }

  /* --- WhatsApp float: avoid iOS home bar --- */
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1rem;
    width: 48px;
    height: 48px;
  }
}

/* ==========================================================================
   Responsive — Small phones (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-wrapper {
    height: 260px !important;
  }

  .featured-image {
    height: 240px !important;
  }

  .btn {
    font-size: 0.9375rem;
  }

  .footer-grid {
    gap: 1.25rem;
  }

  /* Skeleton dots on mobile */
  .skeleton-cards {
    flex-direction: column;
  }

  .skeleton-card {
    min-width: 100%;
    height: 140px;
  }
}

/* Site credit in footer */
.credit-link {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  font-weight: 400;
}

.credit-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Slideshow
   ========================================================================== */
.slideshow-wrapper {
  position: relative;
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.slideshow-image {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 0 !important;
  transition: opacity 1s ease-in-out, transform 10s ease;
}

.slideshow-image.active {
  opacity: 1 !important;
  z-index: 1;
}

/* ==========================================================================
   Product Table
   ========================================================================== */
.product-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 600px;
}

.product-table th, .product-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--bg-cream);
}

.product-table th {
  background: var(--primary-brown);
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
}

.product-table tr:hover {
  background: #fdfaf5;
}

.product-table td {
  color: var(--text-main);
  font-size: 0.9rem;
}

/* ==========================================================================
   Preloader & Skeleton System
   ========================================================================== */

/* Hide page content while loaders are active */
body.page-loading {
  overflow: hidden;
}

body > *:not(#preloader):not(#skeleton-loader):not(script) {
  transition: opacity 0.5s ease;
}

body.page-loading > *:not(#preloader):not(#skeleton-loader):not(script) {
  opacity: 0 !important;
  pointer-events: none;
}

/* --- Grain texture mixin (shared) --- */
#preloader,
#skeleton-loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-cream);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.045'/%3E%3C/svg%3E");
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

/* --- Preloader --- */
#preloader {
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

/* Beat visibility – JS toggles .visible */
.preloader-logo-wrap,
.preloader-anim-wrap,
.preloader-powered {
  opacity: 0;
  transition: opacity 0.55s ease;
}

.preloader-logo-wrap.visible,
.preloader-anim-wrap.visible,
.preloader-powered.visible {
  opacity: 1;
}

.preloader-logo {
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(93, 64, 55, 0.22));
}

.preloader-powered {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.preloader-powered strong {
  color: var(--accent-orange);
  font-weight: 600;
}

/* Dots animation */
.preloader-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preloader-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  animation: dot-bounce 1.4s ease-in-out infinite;
}

.preloader-dots span:nth-child(1) { animation-delay: 0s; }
.preloader-dots span:nth-child(2) { animation-delay: 0.2s; }
.preloader-dots span:nth-child(3) { animation-delay: 0.4s; }
.preloader-dots span:nth-child(4) { animation-delay: 0.6s; }
.preloader-dots span:nth-child(5) { animation-delay: 0.8s; }

@keyframes dot-bounce {
  0%, 60%, 100% { transform: translateY(0);    opacity: 0.25; }
  30%            { transform: translateY(-14px); opacity: 1;    }
}

/* Subtle mode: hide logo & branding, run dots 4× faster */
#preloader.subtle .preloader-logo-wrap,
#preloader.subtle .preloader-powered {
  display: none;
}

#preloader.subtle .preloader-dots span {
  animation-duration: 0.35s;
}

/* --- Skeleton Loader --- */
#skeleton-loader {
  z-index: 9998;
  display: none;
  flex-direction: column;
  padding: 0;
}

#skeleton-loader.active {
  display: flex;
}

#skeleton-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes shimmer {
  0%   { background-position: -700px 0; }
  100% { background-position: 700px 0; }
}

.skeleton-nav {
  width: 100%;
  height: 58px;
  background: linear-gradient(
    90deg,
    rgba(93, 64, 55, 0.07) 25%,
    rgba(93, 64, 55, 0.14) 50%,
    rgba(93, 64, 55, 0.07) 75%
  );
  background-size: 1400px 100%;
  animation: shimmer 1.6s infinite linear;
  flex-shrink: 0;
}

.skeleton-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem 1.75rem 2rem;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

.skeleton-block,
.skeleton-card {
  background: linear-gradient(
    90deg,
    rgba(93, 64, 55, 0.07) 25%,
    rgba(93, 64, 55, 0.14) 50%,
    rgba(93, 64, 55, 0.07) 75%
  );
  background-size: 1400px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: var(--radius);
}

.skeleton-hero-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
}

.sk-title  { height: 52px; width: 75%; }
.sk-text   { height: 18px; width: 58%; }
.sk-text-short { width: 40%; }
.sk-btn    { height: 42px; width: 150px; border-radius: 50px; }

.skeleton-cards {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.skeleton-card {
  flex: 1;
  min-width: 180px;
  height: 180px;
}

@media (max-width: 480px) {
  .skeleton-card { min-width: 100%; }
}
