:root {
    --cosmic-dark: #0a0a2a;
    --cosmic-darker: #050518;
    --cosmic-blue: #1a237e;
    --cosmic-purple: #4a148c;
    --cosmic-accent: #00b0ff;
    --cosmic-glow: rgba(0, 176, 255, 0.5);
    --cosmic-nebula: linear-gradient(135deg, #0a0a2a 0%, #1a237e 50%, #4a148c 100%);
    --cosmic-card-bg: rgba(15, 15, 40, 0.8);
    --cosmic-text: #e8eaf6;
    --cosmic-text-light: #8a9bff;
    --cosmic-success: #00e676;
    --cosmic-warning: #ff9100;
    --cosmic-error: #ff1744;
    --cosmic-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    --cosmic-glow-shadow: 0 0 20px rgba(0, 176, 255, 0.3);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--cosmic-text);
    background: var(--cosmic-nebula);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20px 30px, #eee, transparent), radial-gradient(2px 2px at 40px 70px, #fff, transparent), radial-gradient(1px 1px at 90px 40px, #fff, transparent), radial-gradient(1px 1px at 130px 80px, #fff, transparent), radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: stars-move 100s linear infinite;
}

.stars-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(1px 1px at 50px 100px, #fff, transparent), radial-gradient(1px 1px at 80px 20px, #fff, transparent), radial-gradient(1px 1px at 120px 60px, #fff, transparent), radial-gradient(1px 1px at 180px 90px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: stars-move 150s linear infinite;
    opacity: 0.7;
}

@keyframes stars-move {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

.comet {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px var(--cosmic-accent);
    animation: comet-flight 20s linear infinite;
}

@keyframes comet-flight {
    0% { transform: translate(0, 0); opacity: 0; }
    5% { opacity: 1; }
    10% { transform: translate(-100px, 100px); opacity: 0; }
    100% { transform: translate(-100px, 100px); opacity: 0; }
}

.planet {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.planet-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 5%;
    background: radial-gradient(circle at 30% 30%, #4a148c, #1a237e);
    box-shadow: 0 0 30px rgba(74, 20, 140, 0.5);
    animation: planet-rotate 60s linear infinite;
}

.planet-2 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 8%;
    background: radial-gradient(circle at 30% 30%, #1a237e, #0a0a2a);
    box-shadow: 0 0 20px rgba(26, 35, 126, 0.5);
    animation: planet-rotate 40s linear infinite reverse;
}

@keyframes planet-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.satellite {
    position: absolute;
    top: 40%;
    left: 15%;
    width: 20px;
    height: 10px;
    background: #ccc;
    border-radius: 5px;
    animation: satellite-orbit 30s linear infinite;
}

@keyframes satellite-orbit {
    from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--cosmic-accent);
    color: var(--cosmic-dark);
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: var(--transition);
}

.skip-link:focus {
    top: 6px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cosmic-header {
    background: linear-gradient(135deg, rgba(10, 10, 42, 0.95) 0%, rgba(26, 35, 126, 0.8) 100%);
    color: var(--cosmic-text);
    padding: 0.8rem 0 1.5rem 0;
    position: relative;
    overflow: hidden;
    min-height: 205px;
    backdrop-filter: blur(15px);
    margin-top: 0;
    border-top: 5px solid transparent;
    margin-top: -5px;
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    min-height: 160px;
}

.header-left, .header-center, .header-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-center {
    text-align: center;
    flex-direction: column;
    justify-content: center;
}

.header-right {
    justify-content: flex-end;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.planet-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 1px solid rgba(0, 176, 255, 0.3);
    border-radius: 50%;
    animation: orbit-rotate 20s linear infinite;
}

.orbiting-satellite {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--cosmic-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cosmic-accent);
}

@keyframes orbit-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.cosmic-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--cosmic-glow);
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse-glow 2s infinite alternate;
    opacity: 0.4;
}

@keyframes pulse-glow {
    from { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.logo {
    max-width: 120px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)) brightness(1.2);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.header-text {
    text-align: center;
}

.cosmic-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 20px var(--cosmic-accent);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--cosmic-text) 0%, var(--cosmic-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cosmic-tagline {
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.9;
    margin: 0.3rem 0;
    line-height: 1.4;
}

.cosmic-image-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    height: fit-content;
    margin: 0;
    border: 1px solid rgba(0, 176, 255, 0.2);
    box-shadow: var(--cosmic-glow-shadow);
}

.nebula-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.3) 0%, rgba(0, 176, 255, 0.2) 100%);
    border-radius: var(--radius);
    z-index: 1;
}

.shop-image {
    max-width: min(280px, 100%);
    max-height: 160px;
    border-radius: 8px;
    box-shadow: var(--cosmic-shadow);
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.cosmic-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cosmic-accent);
    border-radius: 50%;
    animation: particle-float 6s infinite ease-in-out;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 70%; left: 10%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 60%; animation-delay: 3s; }

@keyframes particle-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-10px) scale(1.2); opacity: 1; }
}

.cosmic-section {
    position: relative;
    z-index: 1;
}

.services {
    padding: 2rem 0 3rem 0;
    position: relative;
    z-index: 3;
    margin-top: 0;
    background: linear-gradient(180deg, rgba(10, 10, 42, 0.1) 0%, rgba(26, 35, 126, 0.3) 100%);
    border-top: 1px solid rgba(0, 176, 255, 0.1);
    border-bottom: 1px solid rgba(0, 176, 255, 0.1);
}

.catalog, .stats, .advantages {
    padding: 4rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cosmic-heading {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--cosmic-text);
    background: linear-gradient(135deg, var(--cosmic-text) 0%, var(--cosmic-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 176, 255, 0.3);
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.cosmic-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cosmic-accent), transparent);
    margin: 0 10px;
}

.cosmic-dot {
    width: 8px;
    height: 8px;
    background: var(--cosmic-accent);
    border-radius: 50%;
    animation: cosmic-bounce 2s infinite;
    box-shadow: 0 0 10px var(--cosmic-accent);
}

.cosmic-dot:last-child {
    animation-delay: 0.5s;
}

@keyframes cosmic-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); box-shadow: 0 0 15px var(--cosmic-accent); }
}

.cosmic-subtitle {
    text-align: center;
    color: var(--cosmic-text-light);
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cosmic-card {
    background: var(--cosmic-card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 176, 255, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--cosmic-shadow), var(--cosmic-glow-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: var(--cosmic-text);
}

.cosmic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--cosmic-accent) 0%, var(--cosmic-purple) 100%);
}

.cosmic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.6), 0 0 25px rgba(0, 176, 255, 0.4);
    border-color: rgba(0, 176, 255, 0.4);
}

.cosmic-category {
    background: var(--cosmic-card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--cosmic-shadow);
    border: 1px solid rgba(0, 176, 255, 0.1);
}

.cosmic-category h3 {
    color: var(--cosmic-accent);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 176, 255, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.cosmic-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    animation: cosmic-float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 5px var(--cosmic-accent));
}

@keyframes cosmic-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.service-card h3 {
    color: var(--cosmic-accent);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.2rem;
    flex-grow: 1;
    text-align: left;
    padding: 0 0.3rem;
}

.service-card li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.service-card li:before {
    content: '🛰️';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.cosmic-btn {
    background: linear-gradient(135deg, var(--cosmic-accent) 0%, var(--cosmic-purple) 100%);
    color: var(--cosmic-text);
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 176, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 48px;
    position: relative;
    z-index: 10;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    overflow: hidden;
}

.cosmic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cosmic-btn:hover::before {
    left: 100%;
}

.cosmic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 176, 255, 0.5);
}

.cosmic-btn:focus {
    outline: 3px solid var(--cosmic-accent);
    outline-offset: 2px;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.details-btn {
    background: linear-gradient(135deg, var(--cosmic-accent) 0%, var(--cosmic-purple) 100%);
}

.video-btn {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%) !important;
}

.video-btn:hover {
    background: linear-gradient(135deg, #FF8E53 0%, #FF6B6B 100%) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5) !important;
}

.btn-icon {
    font-size: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem !important;
}

.compact-grid .product-card {
    padding: 1.2rem !important;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.compact-grid .product-card h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.6rem !important;
}

.compact-grid .product-card p {
    font-size: 0.85rem !important;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.compact-grid .cosmic-btn {
    padding: 10px 16px !important;
    min-height: 45px !important;
    font-size: 0.9rem !important;
}

.ultra-compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem !important;
}

.ultra-compact-grid .product-card {
    padding: 1rem !important;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ultra-compact-grid .product-card h4 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.2;
}

.ultra-compact-grid .product-card p {
    font-size: 0.75rem !important;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    flex-grow: 1;
}

.ultra-compact-grid .cosmic-btn {
    padding: 8px 12px !important;
    min-height: 38px !important;
    font-size: 0.8rem !important;
}

.product-card {
    text-align: center;
}

.product-card h4 {
    color: var(--cosmic-text);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.product-card p {
    color: var(--cosmic-text-light);
}

.stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 42, 0.8) 0%, rgba(26, 35, 126, 0.6) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 0 5px var(--cosmic-accent));
}

.stat-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    margin-bottom: 0.3rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cosmic-text), var(--cosmic-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-plus, .stat-percent {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cosmic-accent);
    line-height: 1;
}

.stat-text {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cosmic-text), var(--cosmic-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    color: var(--cosmic-text-light);
    font-size: 1rem;
    margin-top: 0.6rem;
    font-weight: 500;
}

.stat-card-wide {
    grid-column: 1 / -1;
    padding: 2.5rem;
    margin-top: 1rem;
}

.stat-card-wide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 176, 255, 0.3);
}

.wide-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wide-card-header h3 {
    color: var(--cosmic-accent);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.wide-card-header p {
    color: var(--cosmic-text-light);
    font-size: 1.1rem;
}

.certificates-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.cert-preview-item {
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.cert-preview-item:hover {
    transform: translateY(-5px);
}

.cosmic-cert-frame {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(0, 176, 255, 0.2);
}

.cosmic-cert-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 176, 255, 0.1) 0%, rgba(74, 20, 140, 0.1) 100%);
    z-index: 1;
}

.cert-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.cert-preview-item:hover img {
    border-color: var(--cosmic-accent);
    box-shadow: 0 8px 25px rgba(0, 176, 255, 0.3);
}

.cert-preview-item span {
    display: block;
    font-weight: 600;
    color: var(--cosmic-text);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cert-preview-item:hover span {
    color: var(--cosmic-accent);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.advantage-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 176, 255, 0.3);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    animation: cosmic-float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 5px var(--cosmic-accent));
}

.advantage-card h3 {
    color: var(--cosmic-accent);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.advantage-card p {
    color: var(--cosmic-text-light);
    line-height: 1.4;
    font-size: 0.9rem;
    flex-grow: 1;
}

.cosmic-footer {
    background: var(--cosmic-darker);
    color: var(--cosmic-text);
    padding: 2.5rem 0 1rem;
    border-top: 1px solid rgba(0, 176, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-info h3, .footer-contacts h3, .footer-address h3 {
    margin-bottom: 0.8rem;
    color: var(--cosmic-accent);
    font-size: 1.2rem;
}

.contacts, .address {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-item, .address-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-item a {
    color: var(--cosmic-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--cosmic-accent);
}

.contact-icon, .address-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--cosmic-text-light);
}

.cosmic-scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--cosmic-accent);
    color: var(--cosmic-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 176, 255, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    border: none;
}

.cosmic-scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cosmic-scroll-to-top:hover {
    background: var(--cosmic-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 176, 255, 0.5);
}

.cosmic-scroll-to-top:focus {
    outline: 3px solid rgba(255,255,255,0.5);
}

.cosmic-scroll-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 968px) {
    .services-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .compact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    }
    .header-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    .header-left, .header-center, .header-right {
        justify-content: center;
        align-items: center;
    }
    .header-right {
        order: -1;
    }
    .footer-content {
        text-align: center;
    }
    .contact-item, .address-item {
        justify-content: center;
        text-align: center;
    }
    .certificates-preview {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.2rem;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .advantage-card {
        min-height: 180px;
        padding: 1.2rem;
    }
    .advantage-icon {
        font-size: 2.2rem;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    .advantage-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    .advantage-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .cosmic-header {
        padding: 1rem 0 1rem 0;
        min-height: 180px;
    }
    .header-content {
        min-height: 140px;
        gap: 1rem;
    }
    .services {
        padding: 1.5rem 0 2.5rem 0;
    }
    .services-grid {
        margin-top: 1.2rem;
        gap: 1rem;
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 1.2rem;
    }
    .service-icon {
        font-size: 1.8rem;
        height: 35px;
        margin-bottom: 0.4rem;
    }
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    .service-card li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }
    .compact-grid .product-card {
        padding: 1rem !important;
        min-height: 160px;
    }
    .cosmic-title {
        font-size: 1.6rem;
    }
    .cosmic-tagline {
        font-size: 0.9rem;
    }
    .shop-image {
        max-width: 220px;
        max-height: 140px;
    }
    .category, .advantage-card, .stat-card {
        padding: 1.2rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .cosmic-heading {
        font-size: 2rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-number, .stat-text {
        font-size: 2.5rem;
    }
    .service-icon, .advantage-icon, .stat-icon {
        font-size: 2.8rem;
    }
    .stat-plus, .stat-percent {
        font-size: 1.5rem;
    }
    .footer-content {
        gap: 1.2rem;
    }
    .footer-info h3, .footer-contacts h3, .footer-address h3 {
        font-size: 1.1rem;
    }
    .contact-item, .address-item {
        font-size: 0.9rem;
    }
    .cosmic-scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    .certificates-preview {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    .cert-preview-item img {
        height: 100px;
    }
    .stat-card-wide {
        padding: 1.5rem;
    }
    .wide-card-header h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .cosmic-header {
        padding: 0.8rem 0 0.8rem 0;
        min-height: 160px;
    }
    .header-content {
        min-height: 120px;
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .header-right {
        order: -1;
    }
    .services {
        padding: 1.2rem 0 2rem 0;
    }
    .services-grid {
        margin-top: 1rem;
        gap: 0.8rem;
    }
    .service-card {
        padding: 1rem;
    }
    .service-icon {
        font-size: 1.6rem;
        height: 30px;
    }
    .compact-grid, .ultra-compact-grid {
        grid-template-columns: 1fr !important;
    }
    .cosmic-title {
        font-size: 1.4rem;
    }
    .cosmic-tagline {
        font-size: 0.8rem;
    }
    .footer-content {
        gap: 1rem;
    }
    .footer-info h3, .footer-contacts h3, .footer-address h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    .contact-item, .address-item {
        font-size: 0.85rem;
    }
    .stat-number, .stat-text {
        font-size: 2.2rem;
    }
    .stat-label {
        font-size: 1rem;
    }
    .certificates-preview {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    .cert-preview-item img {
        height: 80px;
    }
    .stat-card-wide {
        padding: 1.2rem;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .advantage-card {
        min-height: 160px;
        padding: 1rem;
    }
    .advantage-icon {
        font-size: 2rem;
        height: 45px;
        margin-bottom: 0.6rem;
    }
    .advantage-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .advantage-card p {
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

.cosmic-btn {
    cursor: pointer;
}

a.cosmic-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button:focus-visible, a:focus-visible {
    outline: 3px solid var(--cosmic-accent);
    outline-offset: 2px;
}