/* ========================================
   RICOGEL — Marine Collagen Landing Page
   Ocean Blue & Elegant Design
   ======================================== */

/* --- CSS Variables --- */
:root {
    /* Ocean Blue Palette */
    --ocean-50: #f0f9ff;
    --ocean-100: #e0f2fe;
    --ocean-200: #bae6fd;
    --ocean-300: #7dd3fc;
    --ocean-400: #38bdf8;
    --ocean-500: #0ea5e9;
    --ocean-600: #0284c7;
    --ocean-700: #0369a1;
    --ocean-800: #075985;
    --ocean-900: #0c4a6e;
    --ocean-950: #082f49;

    /* Deep Sea */
    --deep-800: #0a2540;
    --deep-900: #061b2e;
    --deep-950: #030f1a;

    /* Accent - Coral/Gold */
    --accent: #f0c27a;
    --accent-light: #f7dca8;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, var(--deep-900), var(--ocean-900));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.wave-loader {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    justify-content: center;
}

.wave-loader span {
    width: 4px;
    height: 30px;
    background: var(--ocean-400);
    border-radius: 2px;
    animation: waveLoad 1.2s ease-in-out infinite;
}

.wave-loader span:nth-child(2) { animation-delay: 0.1s; }
.wave-loader span:nth-child(3) { animation-delay: 0.2s; }
.wave-loader span:nth-child(4) { animation-delay: 0.3s; }
.wave-loader span:nth-child(5) { animation-delay: 0.4s; }

@keyframes waveLoad {
    0%, 100% { height: 10px; opacity: 0.4; }
    50% { height: 35px; opacity: 1; }
}

.preloader-text {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    text-align: center;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
}

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

.logo {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.logo-rico {
    color: var(--white);
    transition: color 0.4s ease;
}

.logo-gel {
    color: var(--ocean-300);
    transition: color 0.4s ease;
}

.navbar.scrolled .logo-rico {
    color: var(--deep-800);
}

.navbar.scrolled .logo-gel {
    color: var(--ocean-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ocean-300);
    transition: width 0.3s var(--ease-out);
}

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

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--ocean-600);
}

.navbar.scrolled .nav-links a::after {
    background: var(--ocean-500);
}

.nav-cta {
    padding: 8px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-cta {
    border-color: var(--ocean-500) !important;
    color: var(--ocean-600) !important;
}

.navbar.scrolled .nav-cta:hover {
    background: var(--ocean-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-toggle span {
    background: var(--deep-800);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(165deg, var(--deep-950) 0%, var(--deep-900) 20%, var(--ocean-900) 50%, var(--ocean-700) 80%, var(--ocean-500) 100%);
    overflow: hidden;
}

/* Hero 2-column layout */
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding-top: 120px;
    min-height: 100vh;
}

.hero-ocean {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 110%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.08' d='M0,32L48,37.3C96,43,192,53,288,58.7C384,64,480,64,576,56C672,48,768,32,864,26.7C960,21,1056,27,1152,37.3C1248,48,1344,64,1392,72L1440,80L1440,100L0,100Z'/%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 100px;
    animation: waveMove 8s linear infinite;
}

.wave-2 {
    height: 80px;
    opacity: 0.5;
    animation-duration: 12s;
    animation-direction: reverse;
    bottom: 10px;
}

.wave-3 {
    height: 60px;
    opacity: 0.3;
    animation-duration: 15s;
    bottom: 20px;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    color: var(--ocean-200);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--ocean-400);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-accent {
    color: var(--ocean-300);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.btn-primary {
    background: linear-gradient(135deg, var(--ocean-500), var(--ocean-600));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
    background: var(--ocean-500);
    color: var(--white);
    border-radius: 100px;
}

.btn-sm:hover {
    background: var(--ocean-600);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ocean-300);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    writing-mode: vertical-rl;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--ocean-400), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
    100% { transform: scaleY(1); opacity: 1; }
}

/* --- Sections --- */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ocean-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--deep-800);
    line-height: 1.3;
}

.section-title em {
    color: var(--ocean-600);
    font-style: italic;
}

.section-header-light .section-tag {
    color: var(--ocean-300);
}

.section-header-light .section-title {
    color: var(--white);
}

.section-header-light .section-title em {
    color: var(--ocean-300);
}

.section-desc {
    max-width: 600px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* --- About Section --- */
.about {
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--gray-800);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--ocean-500);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--deep-800);
    margin-bottom: 2px;
}

.feature p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0 !important;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.about-float-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: var(--white);
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.float-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--ocean-600);
    line-height: 1;
}

.float-text {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.4;
    margin-top: 4px;
}

/* --- Process Section --- */
.process {
    background: linear-gradient(170deg, var(--deep-950), var(--ocean-900));
    position: relative;
    overflow: hidden;
}

.process-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: bubbleRise linear infinite;
}

.b1 { width: 80px; height: 80px; left: 10%; animation-duration: 12s; }
.b2 { width: 40px; height: 40px; left: 30%; animation-duration: 8s; animation-delay: 2s; }
.b3 { width: 60px; height: 60px; left: 60%; animation-duration: 15s; animation-delay: 5s; }
.b4 { width: 30px; height: 30px; left: 80%; animation-duration: 10s; animation-delay: 3s; }
.b5 { width: 50px; height: 50px; left: 45%; animation-duration: 11s; animation-delay: 7s; }

@keyframes bubbleRise {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.process-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--ocean-500), transparent);
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-marker {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ocean-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
    position: relative;
    z-index: 1;
}

.step-content {
    padding-top: 5px;
}

.step-icon {
    width: 50px;
    height: 50px;
    color: var(--ocean-300);
    margin-bottom: 16px;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 8px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 450px;
}

/* --- Products Section --- */
.products {
    background: var(--white);
}

/* products-grid replaced by products-slider */

.product-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease-out);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.product-image {
    overflow: hidden;
}

.product-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

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

.product-info {
    padding: 32px;
}

.product-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ocean-500);
    margin-bottom: 8px;
    display: block;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--deep-800);
    margin-bottom: 12px;
}

.product-info > p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.product-specs {
    list-style: none;
    margin-bottom: 24px;
}

.product-specs li {
    font-size: 0.85rem;
    color: var(--gray-600);
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-specs li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--ocean-400);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Benefits Section --- */
.benefits {
    background: linear-gradient(170deg, var(--ocean-900), var(--deep-900));
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.benefit-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.06);
    position: absolute;
    top: 16px;
    right: 24px;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    color: var(--ocean-300);
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* --- Sustainability Section --- */
.sustainability {
    background: var(--gray-50);
    overflow: hidden;
}

.sustain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sustain-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.sustain-text {
    color: var(--gray-600);
    margin-bottom: 48px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.sustain-stats {
    display: flex;
    gap: 40px;
}

.sustain-stat {
    text-align: center;
}

.sustain-circle {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 0 auto 12px;
}

.sustain-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    color: var(--ocean-500);
}

.progress-ring {
    transition: stroke-dashoffset 1.5s var(--ease-out);
}

.sustain-percent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ocean-600);
}

.sustain-stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.4;
}

/* Sustainability Image Grid */
.sustain-visual {
    position: relative;
}

.sustain-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.sustain-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sustain-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

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

.sustain-img-large {
    grid-column: 1 / -1;
}

.sustain-img-large img {
    aspect-ratio: 16 / 9;
}

/* --- Gallery Section --- */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 15, 26, 0.7), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    align-self: center;
    width: 300px;
    height: 300px;
    min-width: 300px;
    flex-shrink: 0;
}

.hero-slider-track {
    display: flex;
    transition: transform 0.6s var(--ease-out);
    cursor: grab;
    touch-action: pan-y;
}

.hero-slider-track.grabbing {
    cursor: grabbing;
    transition: none;
}

/* Slide transition effects */
.hero-slide img,
.product-card {
    transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out), box-shadow 0.4s ease;
}

.hero-slide {
    min-width: 300px;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.hero-slide img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.hero-slider-controls {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 5;
}

.slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.slider-dots {
    display: flex;
    gap: 6px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

/* --- Products Slider --- */
.products-slider {
    position: relative;
}

.products-track {
    display: flex;
    gap: 32px;
    overflow: visible;
    cursor: grab;
    transition: transform 0.6s var(--ease-out);
}

.products-track.grabbing {
    cursor: grabbing;
    transition: none;
}

.products-slider {
    overflow: hidden;
    position: relative;
}

.products-track .product-card {
    flex-shrink: 0;
    /* Width is controlled by JS based on viewport */
}

.products-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.products-slider-nav .slider-btn {
    background: var(--white);
    color: var(--ocean-600);
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 44px;
    height: 44px;
}

.products-slider-nav .slider-btn:hover {
    background: var(--ocean-50);
    border-color: var(--ocean-300);
}

.products-slider-nav .slider-dot {
    background: var(--gray-300);
}

.products-slider-nav .slider-dot.active {
    background: var(--ocean-500);
}

/* --- Language Switcher --- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.lang-btn:hover {
    color: var(--white);
}

.navbar.scrolled .lang-btn {
    color: var(--gray-400);
}

.navbar.scrolled .lang-btn.active {
    color: var(--ocean-600);
    background: var(--ocean-50);
}

.lang-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

.navbar.scrolled .lang-sep {
    color: var(--gray-300);
}

/* --- Trust Section --- */
.trust {
    background: var(--white);
    padding: 80px 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.badge-item {
    text-align: center;
}

.badge-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--ocean-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ocean-600);
    letter-spacing: 0.05em;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}

.badge-item:hover .badge-icon {
    background: var(--ocean-50);
    border-color: var(--ocean-400);
    transform: scale(1.05);
}

.badge-item span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* --- Contact Section --- */
.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info .section-title {
    text-align: left;
}

.contact-desc {
    color: var(--gray-600);
    margin: 20px 0 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: var(--ocean-500);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-800);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.contact-item a {
    color: var(--ocean-600);
}

.contact-item a:hover {
    color: var(--ocean-700);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--ocean-400);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

/* --- Footer --- */
.footer {
    background: var(--deep-950);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    padding-top: 0;
}

.footer-wave {
    color: var(--deep-950);
    margin-top: -2px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand .logo .logo-rico { color: var(--white); }
.footer-brand .logo .logo-gel { color: var(--ocean-400); }

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-address {
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--ocean-400);
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-contact a:hover {
    color: var(--ocean-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ocean-500);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--ocean-600);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* --- Animations on Scroll --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid,
    .sustain-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--deep-900);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px;
        gap: 24px;
        transition: right 0.4s var(--ease-out);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .navbar.scrolled .nav-links {
        background: var(--white);
    }

    .navbar.scrolled .nav-links a {
        color: var(--gray-700);
    }

    .hero-inner {
        flex-direction: column;
        padding-top: 100px;
        min-height: auto;
        text-align: center;
    }

    .hero-slider {
        width: 250px;
        height: 250px;
        min-width: 250px;
    }

    .hero-slide {
        min-width: 250px;
        width: 250px;
        height: 250px;
    }

    .hero-slide img {
        width: 250px;
        height: 250px;
    }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 48px;
    }

    .products-slider-nav .slider-btn {
        width: 36px;
        height: 36px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-scroll {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .products-track .product-card {
        min-width: 85%;
        max-width: 85%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .sustain-image-grid {
        grid-template-columns: 1fr;
    }

    .sustain-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .trust-badges {
        gap: 32px;
    }

    .about-float-card {
        left: 16px;
        bottom: -20px;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}
