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

:root{
  --primary-color:#e55a2a;
  --accent-color:#ff8149;
  --text-color:#1a1a1a;
  --light:#ffffff;
  --muted:#4a4a4a;
 
  --secondary:#ffffff;

  --glass-bg: rgba(255,255,255,.7);
  --glass-brd: rgba(255,255,255,.35);

  --radius-s:12px;
  --radius-m:18px;
  --radius-l:28px;

  --shadow-s:0 6px 16px rgba(0,0,0,.08);
  --shadow-m:0 12px 32px rgba(0,0,0,.12);
  --shadow-l:0 22px 60px rgba(229,90,42,.28);

  --t-fast:.25s ease;
  --t-med:.35s cubic-bezier(.2,.8,.2,1);

  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

html {
  scroll-behavior: smooth;
}

body{
  background:var(--bg);
  color:var(--text-color);
  line-height:1.6;
  font-size:16px;
  overflow-x:hidden;
}

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

.container{width:90%;max-width:1200px;margin:0 auto}

.header-video-wrapper {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5); /* bottom shadow */
}


.header-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: saturate(112%) contrast(104%);
}

.header-video-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background: rgba(6, 17, 29, 0.486); 
  pointer-events:none;
}



.header-content{
  position: relative;
  z-index: 2147483647;  
}

.header-content,
.header-content h1,.header-content h2,.header-content h3,
.header-content p,.header-content li,.header-content a,
.header-content .count{color:#fff}

.top-bar{
  background-color: transparent;
  font-size:.875rem;
  padding:.5rem 0;
}

.top-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 0.8rem;
  }
  
  .top-container {
    justify-content: center;
    gap: 1rem;
  }
  
  .call-info {
    order: 1;
    flex: 1 1 100%;
    text-align: center;
  }
  
  .social-icons {
    order: 2;
  }
  
  .quote-btn {
    order: 3;
  }
}

.top-bar .call-info a{color:var(--accent-color)}

.social-icons a img {
  width: 20px;
  height: 20px;
  display: inline-block;
  filter: brightness(0) saturate(100%) invert(56%) sepia(81%) saturate(459%) hue-rotate(356deg) brightness(95%) contrast(95%);
  transition: filter var(--t-fast), transform var(--t-fast);
}

.social-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(315deg) brightness(103%) contrast(103%);
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .social-icons {
    display: flex;
    gap: 0.5rem;
  }
  
  .social-icons a img {
    width: 18px;
    height: 18px;
  }
}

.quote-btn{
  background:var(--primary-color);
  color:#fff;
  padding:.45rem 1rem;
  border-radius:8px;
  font-weight:600;
  transition:filter var(--t-fast),transform var(--t-fast);
  white-space: nowrap;
}

.quote-btn:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
}

@media (max-width: 640px) {
  .quote-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

.nav-bar{
  margin:12px 4rem 0;
  padding:.75rem 1rem;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.22);
  border-radius:16px;
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  position: relative;
  z-index: 9998;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
  transition: transform 0.3s ease;
  position: relative;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-container{
  display:flex;
  align-items:center;
  justify-content:center;
}

nav .menu{
  list-style:none;
  display:flex;
  gap:1.4rem;
  flex-wrap:wrap;
  justify-content:center;
}

.menu li a{
  color:#fff;
  font-weight:500;
  letter-spacing:.2px;
  position:relative;
  transition:color var(--t-fast);
}

.menu li a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:2px;
  background:linear-gradient(90deg,var(--primary-color),var(--accent-color));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform var(--t-med);
}

.menu li a:hover{color:#fff}
.menu li a:hover::after{transform:scaleX(1)}

@media (max-width: 768px) {
  .nav-bar{
    position: relative;
    margin: 10px 1rem 0;
    padding: 0.6rem 0.8rem;
    z-index: 2147483647;
    isolation: isolate;
  }

  .menu-toggle{ display: flex; margin-left: auto; align-self: flex-end; }
  .nav-container{ flex-direction: row; align-items: center; justify-content: flex-end; width: 100%; }
nav{ width: auto; position: static; }

nav .menu{
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 8px;
    right: 8px;
    margin-top: 10px;

    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px 0;

    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.38);

    background:
      linear-gradient(135deg,
        rgba(58,183,149,.28) 0%,
        rgba(242,201,76,.30) 55%,
        rgba(168,224,235,.28) 100%),
      rgba(17,25,40,.60);

    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.35),
      0 6px 20px rgba(0,0,0,.18);

    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height .4s ease, opacity .28s ease, transform .28s ease;

    overflow: hidden;        
    overflow-x: hidden;        

    pointer-events: none;
    visibility: hidden;

    max-width: calc(100vw - 16px);

    z-index: 2147483647;
  }

  nav .menu.active{
    max-height: 70vh;
    opacity: 1;
    transform: translateY(0);

    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;

    pointer-events: auto;
    visibility: visible;

    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background:
      linear-gradient(135deg,
        rgba(58,183,149,.42) 0%,
        rgba(242,201,76,.46) 55%,
        rgba(168,224,235,.42) 100%),
      rgba(17,25,40,.82);
  }
 
  nav .menu::before{
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit; pointer-events: none;
    background:
      radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 60%),
      linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
    mix-blend-mode: screen;
  }

  nav .menu.is-dragging{ cursor: grabbing; user-select: none; }

  nav .menu li{ width: 100%; border-bottom: 1px solid rgba(255,255,255,.18); }
  nav .menu li:last-child{ border-bottom: none; }
  nav .menu li a{
    display: block;
    padding: 14px 18px;
    width: 100%;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
    cursor: pointer;
    transition: background .2s ease, padding-left .25s ease;
  }
  nav .menu li a:hover{ background: rgba(229,90,42,.22); padding-left: 28px; }
  nav .menu li a::after{ display: none; }
}

@media (max-width: 768px) {
  .nav-container { display: flex; }           
  .menu-toggle { margin-left: auto !important; }  
  nav .menu li a { text-align: center !important; } 
}

@media (max-width: 768px) {
  html.is-nav-open #whatsappBtn {
    z-index: 2147483640 !important; 
    pointer-events: none;       
  }
}

@media (max-width: 640px) {
  .nav-bar {
    margin: 10px 0.5rem 0;
    padding: 0.5rem 0.5rem;
  }
}

.hero {
  padding: clamp(3rem, 6vw, 6rem) 0;
  position: relative;
  text-align: left;
  color: #fff;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: left;
  z-index: 2;
  position: relative;
}

@media (max-width: 640px) {
  .hero {
    padding: 2rem 0;
  }
  
  .hero-container {
    padding: 0 0.5rem;
  }
}

.hero-logo {
  max-width: clamp(150px, 18vw, 240px);
  width: 100%;
  height: auto;
  margin-bottom: 1.2rem;
  animation: floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.tagline {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-color);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-top: 0.3rem;
  text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  margin: 1.2rem 0 2rem;
  max-width: 700px;
  color: #f5f5f5;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
  text-align: justify;
  text-justify: inter-word;
  letter-spacing: 0.3px;
}

.cta-wrapper {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cta-wrapper {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .cta-wrapper .btn {
    width: 100%;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.ai-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.brochure-btn {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
}
.brochure-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px) scale(1.03);
}

.stats-success-section {
  --orange: var(--primary-color);
  --orange-2: #ff8149;
  --glass-bg: rgba(255,255,255,.12);
  --glass-brd: rgba(255,255,255,.24);
max-width: 1300px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(1.25rem,2vw,2rem);

  margin: auto;
  padding: 20px calc(clamp(1rem,3vw,2rem) + 20px) 0 calc(clamp(1rem,3vw,2rem) + 20px);

  width: 100%;
  background: #ffffff;
}

@media (max-width: 768px) {
  .stats-success-section {
    padding: 20px 1rem 0;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .stats-success-section {
    padding: 15px 0.5rem 0;
    max-width: 2800px;
  }
}

.stats-success-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(1.25rem,2vw,2rem);
  max-width: 1200px;
  margin: 0 auto;
}

.stats-cards{
  flex:1 1 420px;display:grid;
  grid-template-columns:repeat(2,minmax(180px,1fr));
  gap:clamp(.9rem,2vw,1.25rem);
}

.glass-card{
  position:relative;text-align:center;overflow:hidden;
  background:var(--glass-bg);
  border:1px solid var(--glass-brd);
  border-radius:18px;
  backdrop-filter:blur(14px) saturate(180%);-webkit-backdrop-filter:blur(14px) saturate(180%);
  box-shadow:0 10px 32px rgba(0,0,0,.14);
  padding:clamp(1.5rem,2.5vw,2rem) clamp(1.2rem,2vw,1.6rem);
  transition:transform var(--t-med),box-shadow var(--t-med),border-color var(--t-med),background var(--t-med);
  isolation:isolate;
}

.glass-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 60px rgba(229,90,42,.22), 0 8px 20px rgba(0,0,0,.18);
  border-color:rgba(255,255,255,.4);
  background:rgba(255,255,255,.16);
}

.glass-card h2{
  margin:0 0 .35rem;
  font-size:clamp(1.6rem,2.2vw + .6rem,2.6rem);
  font-weight:900;letter-spacing:.2px;
  color:transparent;
  background:linear-gradient(180deg,var(--orange),var(--orange-2));
  -webkit-background-clip:text; background-clip:text;
  text-shadow:0 1px 8px rgba(229,90,42,.15);
  font-variant-numeric:tabular-nums;
}
.glass-card p{
  margin:0;font-size:.97rem;color:#000;
}

.success-panel {
  flex: 1 1 520px;
  position: relative;
  top: -90px; /* move up */
  overflow: hidden;
  color: #0f1724;
  border-radius: 28px;
  padding: clamp(1.8rem, 2.5vw, 2.8rem);
  background: linear-gradient(135deg, rgba(229, 90, 42, 0.97), rgba(255, 129, 73, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 22px 60px rgba(229, 90, 42, 0.28),
    0 14px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  animation: panelShift 14s ease-in-out infinite alternate;
  isolation: isolate;
  z-index: 545566454555;
}


@media (max-width:640px){
  .success-panel {
  top: -10px; /* move up */
}}



.success-panel::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);
}
.success-panel::after{
  content:"";position:absolute;right:-70px;bottom:-70px;width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle at 40% 40%, rgba(255,255,255,.42), rgba(255,255,255,0) 60%);
  filter:blur(8px);pointer-events:none;mix-blend-mode:screen;
}
@keyframes panelShift{
  0%{background:linear-gradient(135deg, rgba(229,90,42,.97), rgba(255,129,73,.92))}
  100%{background:linear-gradient(135deg, rgba(255,129,73,.97), rgba(229,90,42,.92))}
}
.success-panel h4{
  margin:0 0 .4rem;font-weight:800;letter-spacing:.35px;color:#05233a;opacity:.9
}
.success-panel h2{
  margin:.1rem 0 1rem;font-size:clamp(1.75rem,2.4vw + 1rem,3rem);
  font-weight:900;line-height:1.12;color:#071d31
}
.success-panel p{
  margin:0 0 0.8rem;
  line-height:1.8;
  color:#173046;
  max-width:60ch;
  text-align: justify;
  text-justify: inter-word;
  letter-spacing: 0.3px;
}
.success-btn{
  display:inline-block;padding:.9rem 1.4rem;border-radius:12px;background:#0f1724;color:#fff;
  font-weight:800;letter-spacing:.3px;box-shadow:0 8px 20px rgba(15,23,36,.25);
  transition:transform var(--t-fast),box-shadow var(--t-fast),filter var(--t-fast)
}
.success-btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,23,36,.32);filter:brightness(1.03)}




@media (max-width:980px){
  .stats-success-section{flex-direction:column}
  .success-panel{border-radius:22px}
   
}
@media (max-width:640px){
  .stats-cards{grid-template-columns:1fr}
  .glass-card{border-radius:14px}
}

.provide-section {
  background: var(--secondary);
  padding: 4rem 0;
}

.provide-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.provide-text {
  flex: 1 1 55%;
  text-align: justify;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 600px;
  text-align: justify;
  text-justify: inter-word;
  letter-spacing: 0.3px;
}

.provide-logo {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.provide-logo img {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 25px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
  margin-top: -70px;
}

.provide-logo img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .provide-container {
    flex-direction: column;
    text-align: center;
  }

  .provide-text {
    text-align: center;
  }

  .provide-logo {
    margin-top: 2rem;
  }
}

.products-section {
  background: var(--secondary);
  padding: 4rem 0;
  margin-top: -5rem;
}

.product-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  border-radius: 16px;
  transition: transform .18s ease-out, box-shadow .18s ease-out;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  padding: 0;
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}

.product-card picture,
.product-card .product-thumb {
  width: 100%;
  display: block;
}

.product-card .product-thumb {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: translateZ(8px);
  transition: transform 0.45s ease;
  border-radius: 16px;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 20%, rgba(0, 0, 0, 0.05) 70%);
  z-index: 1;
  transition: opacity 0.35s ease;
}

.product-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateZ(24px);
  z-index: 2;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .product-label {
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
    letter-spacing: 0.8px;
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  .product-label {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    letter-spacing: 0.5px;
    bottom: 8px;
    border-radius: 8px;
    max-width: 85%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

.product-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.product-card:hover .product-thumb {
  transform: translateZ(8px) scale(1.08);
}

.product-card:hover::before {
  opacity: 0.85;
}

.product-card:not(:has(img)) {
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.commit-section{
  background:var(--secondary);
  padding:4rem 0;
}

.commit-container{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
}

.commit-left,.commit-right{
  flex:1 1 300px;
  padding:2rem;
  border-radius:12px;
}

.commit-left{
  background:linear-gradient(135deg,#fff6f2 0%,#ffeee0 50%,#fff9f4 100%);
}

.commit-heading{
  font-size:1.5rem;
  color:var(--primary-color);
  margin-bottom:1rem;
  font-weight:700;
}

.commit-desc{
  color:var(--muted);
  margin-bottom:1.5rem;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

.touch-btn{
  margin-top:1rem;
}

.commit-right{
  background:linear-gradient(135deg,var(--primary-color) 0%,var(--accent-color) 100%);
  color:#fff;
}

.practice-heading{
  font-size:1.5rem;
  margin-bottom:.75rem;
  font-weight:700;
}

.practice-desc{
  margin-bottom:1rem;
  color:#fff;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

.practice-list{
  list-style:disc;
  margin-left:1rem;
}

.practice-list li{
  margin-bottom:.5rem;
  font-weight:600;
  color:#fff;
}

.dealer-section{
  background: linear-gradient(135deg, #0a0a0a 0%, #1e1e1e 100%);
  color:#fff;
  padding:4rem 0;
  position: relative;
}

.dealer-container{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.dealer-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.cosmoplast-logo{
  height:70px;
  width:auto;
  filter:
    drop-shadow(0 0 12px rgba(229,90,42,0.8))
    drop-shadow(0 0 24px rgba(229,90,42,0.5));
  transition: transform .3s ease, filter .3s ease;
}
.cosmoplast-logo:hover{
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 16px rgba(255,140,0,0.9))
    drop-shadow(0 0 30px rgba(229,90,42,0.8));
}

.dealer-section .section-heading{
  color:#fff;
  font-weight:800;
  letter-spacing:.5px;
  margin:0;
}

.dealer-desc{
  color:#ddd;
  margin-top:1rem;
  font-size:1.05rem;
  line-height:1.8;
  text-align: justify;
  text-justify: inter-word;
  letter-spacing: 0.3px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.dealer-section{ border-top:3px solid #e55a2a; }

@media (max-width: 640px){
  .cosmoplast-logo{ height:56px; }
  .dealer-section .section-heading{ font-size:1.4rem; }
  .dealer-desc{ font-size:1rem; }
}

.collection-section {
  background: var(--secondary);
  padding: 5rem 0;
}

.collection-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.collection-left {
  flex: 1.5 1 64%;
  background: linear-gradient(135deg, rgba(229,90,42,.97), rgba(255,129,73,.92));
  padding: 2.6rem 1.8rem;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 22px 60px rgba(229,90,42,.28), 0 14px 36px rgba(0,0,0,.18);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-left:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(229,90,42,.35), 0 18px 42px rgba(0,0,0,.22);
}

.collection-left::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}

.collection-left::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.42), rgba(255,255,255,0) 60%);
  filter: blur(8px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.collection-heading {
  font-size: clamp(1.5rem, 1.9vw + 0.85rem, 2.2rem);
  color: #071d31;
  font-weight: 900;
  max-width: 560px;
  line-height: 1.18;
  position: relative;
  z-index: 1;
  text-align: justify;
  text-justify: inter-word;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.collection-right {
  flex: 1 1 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.branches-btn {
  padding: 1.3rem 2.5rem;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 
    0 12px 30px rgba(229,90,42,.35),
    0 4px 12px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}

.branches-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.branches-btn:hover::before {
  left: 100%;
}

.branches-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 16px 40px rgba(229,90,42,.45),
    0 6px 16px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,.4);
  filter: brightness(1.08);
}

.branches-btn:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .collection-container {
    flex-direction: column;
  }
  
  .collection-left {
    padding: 2.8rem 2rem;
    text-align: center;
  }
  
  .collection-heading {
    margin: 0 auto;
    text-align: center;
  }
  
  .branches-btn {
    padding: 1.2rem 2.2rem;
    font-size: 1rem;
  }
}

.testimonials-section {
  background: var(--secondary);
  padding: 5rem 0;
  margin-top: -5rem;
  overflow: hidden;
  position: relative;
  
}

.testimonials-container {
  position: relative;
  max-width: 1800px;
}

.testimonials-grid {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  padding-left: 1rem;
  padding-right: 1rem;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  position: relative;
  min-width: calc((100% - 3rem - 2rem) / 3);
  max-width: calc((100% - 3rem - 2rem) / 3);
  flex-shrink: 0;
  padding: 2rem 1.6rem;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-bottom: 3px solid var(--primary-color);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: calc(100% - 0.25rem); 
    max-width: calc(100% - 0.25rem);
    padding: 1.6rem 1.3rem;          
  }
}


@media (max-width: 480px) {
  .testimonial-card {
    min-width: calc(100% - 0.5rem);  
    max-width: calc(100% - 0.5rem);
    padding: 1.4rem 1.1rem;         
  }
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -15px;
  left: -8px;
  font-size: 6rem;
  font-weight: bold;
  color: rgba(229, 90, 42, 0.08);
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.placeholder-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--primary-color);
  margin-bottom: 0.9rem;
}

.testimonial-role {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 0.4px;
}

.testimonial-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0f1724;
}

.testimonial-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  letter-spacing: 0.2px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  padding: 0.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(229, 90, 42, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.testimonial-dot:hover {
  background: rgba(229, 90, 42, 0.6);
  transform: scale(1.2);
}

.testimonial-dot.active {
  background: var(--primary-color);
  width: 12px;
  height: 12px;
  box-shadow: 0 0 8px rgba(229, 90, 42, 0.6);
}

@media (max-width: 480px) {
  .testimonial-name {
    font-size: 1.1rem;
  }
  
  .testimonial-desc {
    font-size: 0.88rem;
  }
  
  .testimonial-dots {
    margin-bottom: 0.6rem;
  }
  
  .testimonial-dot {
    width: 8px;
    height: 8px;
  }
  
  .testimonial-dot.active {
    width: 10px;
    height: 10px;
  }
}

.quote-faq-section {
  background: linear-gradient(180deg, var(--secondary) 0%, #fff5ef 100%);
  padding: 4.25rem 0;
}

.quote-faq-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.quote-form,
.faq-section {
  flex: 1 1 360px;
  background: #ffffff;
  padding: 2.2rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 10px 20px rgba(0,0,0,0.06),
    0 2px 8px rgba(0,0,0,0.04);
  position: relative;
}

.quote-form::before,
.faq-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

@media (min-width: 992px) {
  .quote-form { position: sticky; top: 90px; }
}

.quote-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  background: var(--secondary);
  border: 1px solid #e6e8ee;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder { color: #98a2b3; }

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(229, 90, 42, 0.18);
  background: #fff;
}

.quote-form input:user-valid,
.quote-form textarea:user-valid { border-color: #12b76a; }

.quote-form input:user-invalid:focus,
.quote-form textarea:user-invalid:focus {
  border-color: #f04438;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.15);
}

.quote-form textarea { resize: vertical; min-height: 140px; }

.submit-btn {
  align-self: stretch;
  margin-top: .5rem;
  padding: 0.95rem 1.4rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(229, 90, 42, 0.25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  cursor: pointer;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(229, 90, 42, 0.35);
  filter: brightness(1.03);
}

.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.accordion-item {
  border-bottom: 1px solid #eef0f4;
  padding: .35rem 0;
}

.accordion-item.active {
  border-left: 3px solid var(--primary-color);
  padding-left: .75rem;
}

.accordion-title {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-color);
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  cursor: pointer;
  transition: color .2s ease;
}

.accordion-title:hover { color: var(--primary-color); }

.accordion-title::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .25s ease;
}

.accordion-item.active .accordion-title::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  will-change: max-height, opacity, transform;
  transform: translateY(-6px);
  transition: max-height .32s ease, opacity .25s ease, transform .25s ease;
  color: var(--muted);
  font-size: .95rem;
  padding-right: .5rem;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.7;
  letter-spacing: 0.2px;
}

.accordion-item.active .accordion-content {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .submit-btn,
  .accordion-title::after,
  .accordion-content {
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .quote-faq-container { gap: 2rem; }
  .submit-btn { align-self: center; width: 100%; }
}

footer {
  background: linear-gradient(135deg, rgba(229,90,42,.97), rgba(255,129,73,.92));
  color: #0f1724;
  padding: 3.25rem 0;
  font-size: .95rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid rgba(255,255,255,.38);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}

footer::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.42), rgba(255,255,255,0) 60%);
  filter: blur(8px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 0.5rem;
  animation: footerFadeUp .5s ease both;
  position: relative;
  z-index: 1;
}

.footer-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
  color: #071d31;
  text-align: left;
  letter-spacing: .6px;
  line-height: 1.2;
}

.footer-content-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  justify-content: space-between;
  text-align: left;
}

.footer-col { flex: 1 1 0; min-width: 0; }
.footer-company { flex: 1.5 1 0; }

.footer-col p {
  margin: 0;
  line-height: 1.8;
  opacity: .95;
  color: #173046;
  text-align: justify;
  text-justify: inter-word;
  letter-spacing: 0.2px;
}

.footer-col h4 {
  margin-bottom: .75rem;
  color: #071d31;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  margin-top: .35rem;
  padding: 0;
}

.footer-links li,
.footer-services li {
  margin-bottom: .45rem;
}

.footer-links a,
.footer-services a {
  color: #173046;
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
}

.footer-links a:hover,
.footer-services a:hover,
.footer-links a:focus-visible,
.footer-services a:focus-visible {
  color: #071d31;
  background-size: 100% 2px;
  outline: none;
}

.footer-note {
  margin-top: 2.25rem;
  padding-top: 1rem;
  text-align: center;
  font-size: .86rem;
  color: #05233a;
  border-top: 1px solid rgba(255,255,255,.35);
  letter-spacing: .2px;
  opacity: .9;
}

.footer-col a:focus-visible {
  outline: 3px solid rgba(7,29,49,.35);
  outline-offset: 2px;
  border-radius: 4px;
}

#whatsappBtn {
  position: fixed;
  bottom: 70px;
  right: 36px;
  background: var(--accent-color);
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2147483647 !important;
}

#whatsappBtn img {
  width: 28px;
  height: 28px;
  display: block;
  filter: brightness(0) invert(1);
}

#whatsappBtn:hover {
  background: #25D366;
  transform: translateY(-3px);
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 36px;
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 10px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 545566454557;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTopBtn:hover {
  transform: translateY(-3px);
  background: var(--primary-color);
}

@media (max-width: 900px) {
  .footer-content-wrapper { flex-wrap: wrap; }
  .footer-company { flex-basis: 100%; }
}

@media (max-width: 600px) {
  .footer-title { text-align: left; }
  .footer-content-wrapper { gap: 1.5rem; }
  .footer-col { flex: 1 1 100%; }
  .footer-note { font-size: .84rem; }
}

@keyframes footerFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero--video { position: relative; }
.hero-video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-container{ position: relative; z-index: 2; }

@media (max-width:768px){
  .commit-container,.collection-container,.quote-faq-container{flex-direction:column}
  .footer-content-wrapper{flex-direction:column;align-items:flex-start}
}

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(.97);
  transition:
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: transform, opacity;
}
.reveal-left { transform: translate3d(-35px, 0, 0) scale(.97); }
.reveal-right { transform: translate3d(35px, 0, 0) scale(.97); }
.reveal-fade { transform: scale(.97); opacity: 0; }
.is-inview { 
  opacity: 1 !important; 
  transform: translate3d(0, 0, 0) scale(1) !important; 
}

.ai-btn,
.brochure-btn { will-change: transform, box-shadow; }

.cosmoplast-logo { position: relative; overflow: visible; }
.cosmoplast-logo::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  transform: translateX(-120%) rotate(0.001deg);
  pointer-events: none;
  animation: logoSheen 6s ease-in-out infinite;
}
@keyframes logoSheen {
  0%, 20%   { transform: translateX(-120%) rotate(0.001deg); }
  45%       { transform: translateX(120%)  rotate(0.001deg); }
  100%      { transform: translateX(120%)  rotate(0.001deg); }
}

.header-bg-video,
.hero-video { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-fade,
  .ai-btn,
  .brochure-btn,
  .product-card,
  .cosmoplast-logo::after,
  .header-bg-video,
  .hero-video {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

.fx-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.dealer-section { position: relative; }
.dealer-container { position: relative; z-index: 1; }

html.is-nav-open, body.is-nav-open {
  overflow: hidden !important;
  max-width: 100%;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, 
    rgba(15, 23, 36, 0.95) 0%, 
    rgba(30, 41, 59, 0.95) 50%, 
    rgba(15, 23, 36, 0.95) 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  backdrop-filter: blur(25px) saturate(140%);
  -webkit-backdrop-filter: blur(25px) saturate(140%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}


@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

#preloader[hidden] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: floatParticle 8s infinite ease-in-out;
}

.particle:nth-child(1) { width: 80px; height: 80px; background: radial-gradient(circle, rgba(229, 90, 42, 0.3), transparent); left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { width: 60px; height: 60px; background: radial-gradient(circle, rgba(255, 129, 73, 0.3), transparent); right: 15%; top: 30%; animation-delay: 1s; }
.particle:nth-child(3) { width: 100px; height: 100px; background: radial-gradient(circle, rgba(229, 90, 42, 0.2), transparent); left: 20%; bottom: 25%; animation-delay: 2s; }
.particle:nth-child(4) { width: 70px; height: 70px; background: radial-gradient(circle, rgba(255, 129, 73, 0.3), transparent); right: 25%; bottom: 20%; animation-delay: 3s; }
.particle:nth-child(5) { width: 90px; height: 90px; background: radial-gradient(circle, rgba(229, 90, 42, 0.25), transparent); left: 50%; top: 15%; animation-delay: 1.5s; }
.particle:nth-child(6) { width: 50px; height: 50px; background: radial-gradient(circle, rgba(255, 129, 73, 0.4), transparent); right: 40%; bottom: 35%; animation-delay: 2.5s; }

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
  25% { transform: translateY(-30px) translateX(20px) scale(1.1); opacity: 0.8; }
  50% { transform: translateY(-50px) translateX(-15px) scale(0.9); opacity: 0.5; }
  75% { transform: translateY(-30px) translateX(15px) scale(1.05); opacity: 0.7; }
}

.preloader-logo-container {
  position: relative;
  margin-bottom: 2.5rem;
  animation: logoEntrance 1s ease-out;
}

@keyframes logoEntrance {
  0% { opacity: 0; transform: scale(0.3) rotate(-10deg); }
  60% { transform: scale(1.1) rotate(5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.preloader-logo {
  width: 200px;
  height: auto;
  animation: logoPulse 2.5s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(229, 90, 42, 0.4));
  position: relative;
  z-index: 2;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 8px 20px rgba(229, 90, 42, 0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 12px 30px rgba(255, 129, 73, 0.6)); }
}

.preloader-logo-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary-color);
  border-right-color: var(--accent-color);
  animation: spinRing 2s linear infinite;
  opacity: 0.5;
}

.preloader-logo-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: var(--accent-color);
  border-left-color: var(--primary-color);
  animation: spinRing 3s linear infinite reverse;
  opacity: 0.3;
}

@keyframes spinRing {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.preloader-messages {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  min-height: 40px;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.preloader-message {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  animation: messageRotate 12s infinite;
}

.preloader-message:nth-child(1) { animation-delay: 0s; }
.preloader-message:nth-child(2) { animation-delay: 3s; }
.preloader-message:nth-child(3) { animation-delay: 6s; }
.preloader-message:nth-child(4) { animation-delay: 9s; }

@keyframes messageRotate {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
  8%, 25% { opacity: 1; transform: translateX(-50%) translateY(0); }
  33% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

.preloader-progress-container {
  width: 320px;
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.preloader-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, 
    var(--primary-color) 0%, 
    var(--accent-color) 50%, 
    var(--primary-color) 100%);
  background-size: 200% 100%;
  border-radius: 20px;
  position: relative;
  animation: progressShine 2s ease-in-out infinite, progressFill 10s ease-out forwards;
  box-shadow: 0 0 15px rgba(229, 90, 42, 0.6);
}

@keyframes progressShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes progressFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

.preloader-percentage {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 0.5rem;
  letter-spacing: 1px;
  animation: percentagePulse 1s ease-in-out infinite;
}

@keyframes percentagePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.preloader-dots {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 8px;
  margin-top: 1rem;
}

.preloader-dots span {
  animation: dotBounce 1.4s 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; }

@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 1; }
  40% { transform: translateY(-20px); opacity: 0.5; }
}

body > *:not(#preloader) {
  filter: blur(15px) brightness(0.7);
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transition: filter 0.6s ease, opacity 0.6s ease;
}

body.video-ready > *:not(#preloader) {
  filter: none;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

html.preloading,
body.preloading {
  overflow: hidden !important;
  height: 100vh;
  max-height: 100vh;
}

@media (max-width: 768px) {
  .preloader-logo {
    width: 160px;
  }
  
  .preloader-logo-container::before {
    width: 200px;
    height: 200px;
  }
  
  .preloader-logo-container::after {
    width: 220px;
    height: 220px;
  }
  
  .preloader-messages {
    font-size: 1.05rem;
  }
  
  .preloader-progress-container {
    width: 280px;
  }
  
  .particle {
    transform: scale(0.7);
  }
}

@media (max-width: 480px) {
  .preloader-logo {
    width: 140px;
  }
  
  .preloader-messages {
    font-size: 0.95rem;
  }
  
  .preloader-progress-container {
    width: 240px;
  }
}

.header-video-wrapper.video-failed {
  background: radial-gradient(1100px 450px at 20% -10%, rgba(229, 90, 42, .28), transparent 60%), 
              linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
}

.header-video-wrapper.video-failed .header-bg-video {
  display: none;
}

@media (max-width: 480px) {
  .glass-card {
    padding: 1.9rem 1.5rem;          
    border-radius: 16px;
  }
  .glass-card h2 {
    font-size: 2.2rem;               
    letter-spacing: 0.3px;
  }
  .glass-card p {
    font-size: 1.02rem;             
  }
  .stats-cards {
    gap: 1.15rem;                    
  }
}
