/* ===========================
   FROTEX - Main Stylesheet
   Color System:
   - Primary Red: #D41A2B
   - Dark Red: #A01520
   - Light Red: #FF3344
   - White: #FFFFFF
   - Off-White: #F8F8F8
   - Blue Accent: #1A3A6B
   - Dark: #1A1A1A
   =========================== */

:root {
    --red: #D41A2B;
    --red-dark: #A01520;
    --red-light: #FF3344;
    --red-glow: rgba(212, 26, 43, 0.3);
    --red-subtle: rgba(212, 26, 43, 0.08);
    --blue: #1A3A6B;
    --blue-light: #2A5AAB;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
    --gray-300: #D0D0D0;
    --gray-500: #888888;
    --gray-700: #555555;
    --dark: #1A1A1A;
    --dark-800: #222222;
    --green: #4CAF50;
    --green-dark: #2E7D32;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 60px rgba(0,0,0,0.16);
    --shadow-red: 0 8px 30px rgba(212, 26, 43, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

body.loading {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.text-red { color: var(--red); }
.text-red-light { color: var(--red-light); }
.text-white { color: var(--white); }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }

/* ===========================
   PRELOADER
   =========================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 33vw;
    min-width: 200px;
    max-width: 400px;
    margin-bottom: 24px;
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.preloader-bar {
    width: 33vw;
    min-width: 200px;
    max-width: 400px;
    height: 4px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-progress {
    height: 100%;
    background: var(--red);
    border-radius: 4px;
    animation: preloaderBar 1.5s ease-in-out forwards;
}

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

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 26, 43, 0.4);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ===========================
   HEADER
   =========================== */
.header-top {
    background: var(--red-dark);
    color: var(--white);
    font-size: 0.8rem;
    padding: 6px 0;
}

.header-top-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-top-text {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.header-top-social {
    display: flex;
    gap: 12px;
}

.header-top-social a {
    color: var(--white);
    opacity: 1;
    transition: var(--transition);
    display: flex;
}

.header-top-social a:hover {
    opacity: 1;
    color: var(--red-light);
    transform: scale(1.15);
}

.header-nav {
    background: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-top: 3px solid var(--red);
    overflow: visible;
}

.header-nav.scrolled {
    background: var(--red);
    box-shadow: 0 4px 20px rgba(212, 26, 43, 0.3);
    border-top-color: var(--red-dark);
}

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

/* Logo: large shield pinned to top of page */
.nav-logo {
    position: relative;
    z-index: 10;
    min-width: 270px;
    height: 72px;
}

.nav-logo img {
    width: 270px;
    height: auto;
    position: absolute;
    top: -31px;
    left: 0;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
    object-fit: contain;
    z-index: 10;
}

/* Scrolled: smaller white logo, centered in nav */
.header-nav.scrolled .nav-logo img {
    width: 100px;
    height: auto;
    top: 17px;
    filter: none;
    transition: all 0.4s ease;
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    transform: scaleX(1);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--red);
}

/* Scrolled state: white text */
.header-nav.scrolled .nav-menu > li > a {
    color: rgba(255,255,255,0.9);
}
.header-nav.scrolled .nav-menu > li > a:hover,
.header-nav.scrolled .nav-menu > li > a.active {
    color: var(--white);
}
.header-nav.scrolled .nav-menu > li > a::after {
    background: var(--white);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.dropdown li a:hover {
    background: var(--red-subtle);
    color: var(--red);
}

/* Dropdown keeps white bg when nav is scrolled */
.header-nav.scrolled .dropdown {
    background: var(--white);
}
.header-nav.scrolled .dropdown li a {
    color: var(--gray-700);
}
.header-nav.scrolled .dropdown li a:hover {
    color: var(--red);
    background: var(--red-subtle);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-comprar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--red);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-red);
    transition: var(--transition);
}

.btn-comprar:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 26, 43, 0.4);
}

/* Scrolled: white outline button */
.header-nav.scrolled .btn-comprar {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}
.header-nav.scrolled .btn-comprar:hover {
    background: var(--white);
    color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.header-nav.scrolled .mobile-toggle span {
    background: var(--white);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   HERO
   =========================== */
.hero {
    position: relative;
    aspect-ratio: 1672 / 941;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    background: #1a1a1a;
}

.hero-carousel {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide.active .hero-slide-bg {
    /* parallax engine handles transform */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26, 26, 26, 0.88) 0%,
        rgba(26, 26, 26, 0.65) 35%,
        rgba(26, 26, 26, 0.2) 55%,
        transparent 70%
    );
}

.hero-overlay-dark {
    /* Same as base — kept for HTML compatibility */
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 60px;
}

.hero-text {
    flex: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 14px;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-title .text-red {
    color: var(--white);
    text-shadow: 0 0 40px rgba(255,255,255,0.3);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 480px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-product {
    flex: 0 0 auto;
    width: 45%;
    max-width: 500px;
    position: relative;
}

.hero-product img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.hero-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-control-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

.hero-scroll-indicator {
    display: none;
}

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
    color: var(--white);
    opacity: 0.7;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* ===========================
   PRODUCT HIGHLIGHT
   =========================== */
.product-highlight {
    padding: 80px 0 40px;
    background: var(--off-white);
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    border: 3px solid var(--red);
}

.highlight-content {
    flex: 1;
}

.highlight-label {
    display: inline-block;
    background: var(--red-subtle);
    color: var(--red);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.highlight-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.highlight-desc {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 450px;
}

.highlight-image {
    flex: 0 0 40%;
    position: relative;
}

.highlight-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
}

.highlight-image-glow {
    position: absolute;
    inset: -20px;
    background: rgba(212, 26, 43, 0.08);
    filter: blur(30px);
    z-index: 1;
}

/* ===========================
   SECTION TRANSITIONS
   =========================== */

/* ===========================
   CATEGORIES
   =========================== */
.categories {
    padding: 60px 0 100px;
    background: var(--off-white);
}

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

.section-label {
    display: inline-block;
    background: var(--red-subtle);
    color: var(--red);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-label-white {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.section-label-green {
    background: rgba(76, 175, 80, 0.15);
    color: var(--green);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin-top: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
    cursor: pointer;
    transition: var(--transition);
}

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

.category-card-lg {
    grid-column: span 2;
    min-height: 380px;
}

.category-card-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.category-bg-green,
.category-bg-blue,
.category-bg-purple,
.category-bg-orange { background: rgba(0, 0, 0, 0.15); }

.category-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.category-card-content {
    position: relative;
    z-index: 3;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-icon {
    color: var(--white);
    margin-bottom: 12px;
    opacity: 0.9;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.category-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.category-link:hover {
    gap: 12px;
}

.category-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.85;
    transition: var(--transition-slow);
}

.category-card:hover .category-card-image {
    opacity: 1;
    transform: scale(1.05);
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* ===========================
   SOCIAL PROOF
   =========================== */
.social-proof {
    padding: 100px 0;
    background: var(--red-dark);
    position: relative;
    overflow: hidden;
}

.social-proof-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.04;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation: floatShape 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    animation: floatShape 25s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    background: rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(0,0,0,0.25);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.25);
}

.stat-icon {
    color: var(--white);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    display: inline;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-top: 8px;
    font-weight: 500;
}

.social-links {
    text-align: center;
}

.social-links-text {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.social-links-text strong {
    color: var(--white);
}

.social-links-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link-btn:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--red);
    transform: translateY(-2px);
}

/* ===========================
   FROTIPS
   =========================== */
.frotips {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.frotips-showcase {
    text-align: center;
}

.frotips-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    perspective: 1000px;
}

.phone-mockup {
    flex: 0 0 auto;
    transition: var(--transition-slow);
}

.phone-frame {
    width: 240px;
    height: 480px;
    background: var(--dark);
    border-radius: 36px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--dark);
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.phone-video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-play-btn {
    position: absolute;
    z-index: 5;
    width: 60px;
    height: 60px;
    background: rgba(212, 26, 43, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: var(--transition);
}

.phone-play-btn:hover {
    transform: scale(1.1);
    background: var(--red);
}

.phone-tiktok-ui {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 16px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 4;
    text-align: left;
}

.tiktok-handle {
    display: block;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.tiktok-desc {
    display: block;
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.tiktok-music {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
}

.phone-left {
    transform: perspective(1000px) rotateY(15deg) scale(0.85);
    opacity: 0.7;
}

.phone-right {
    transform: perspective(1000px) rotateY(-15deg) scale(0.85);
    opacity: 0.7;
}

.phone-center {
    transform: scale(1.05);
    z-index: 2;
}

.frotips-phones:hover .phone-left {
    transform: perspective(1000px) rotateY(5deg) scale(0.9);
    opacity: 0.85;
}

.frotips-phones:hover .phone-right {
    transform: perspective(1000px) rotateY(-5deg) scale(0.9);
    opacity: 0.85;
}

.frotips-cta {
    margin-top: 20px;
}

/* ===========================
   USAGE SECTION
   =========================== */
.usage {
    padding: 100px 0;
    background: var(--off-white);
}

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

.usage-desc {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 20px 0 28px;
}

.usage-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.usage-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.usage-feature-icon {
    flex-shrink: 0;
}

.usage-images {
    position: relative;
}

.usage-image-stack {
    position: relative;
    height: 500px;
}

.usage-image {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.usage-image:hover {
    z-index: 10;
    transform: scale(1.03);
}

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

.usage-image-1 {
    width: 65%;
    height: 60%;
    top: 0;
    left: 0;
    z-index: 3;
}

.usage-image-2 {
    width: 55%;
    height: 50%;
    top: 30%;
    right: 0;
    z-index: 2;
}

.usage-image-3 {
    width: 45%;
    height: 40%;
    bottom: 0;
    left: 10%;
    z-index: 1;
}

/* ===========================
   WHERE TO BUY
   =========================== */
.donde-comprar {
    padding: 100px 0 80px;
    background: var(--white);
}

.retailers-carousel {
    overflow: hidden;
    margin: 40px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.retailers-track {
    display: flex;
    gap: 32px;
    animation: retailerScroll 30s linear infinite;
    width: max-content;
}

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

.retailer-logo {
    flex: 0 0 auto;
    width: 160px;
    height: 80px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.retailer-logo:hover {
    border-color: var(--red);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.retailer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-700);
    letter-spacing: -0.5px;
}

.retailer-dollar { color: var(--gray-700); }
.retailer-cangu { color: var(--gray-700); }

.countries {
    text-align: center;
    margin-top: 40px;
}

.countries-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.countries-flags {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.country-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.country-flag:hover {
    background: var(--red-subtle);
    color: var(--red);
}

.flag-emoji {
    font-size: 1.2rem;
}

/* ===========================
   ENVIRONMENT
   =========================== */
.environment {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #0a1f0a;
}

.environment-bg {
    position: absolute;
    inset: -10%;
    background: url('../img/ia/bosque-colombiano.png') center/cover no-repeat;
}

.environment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 0, 0.65);
}

.environment-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.environment-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin: 20px 0 32px;
}

.environment-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.env-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.95rem;
}

.environment-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tree-counter {
    text-align: center;
    padding: 60px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(76, 175, 80, 0.3);
    backdrop-filter: blur(10px);
}

.tree-icon {
    margin-bottom: 16px;
    animation: treeGrow 3s ease-in-out infinite;
}

@keyframes treeGrow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.tree-label {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 1rem;
}

/* ===========================
   NEWSLETTER
   =========================== */
.newsletter {
    padding: 80px 0;
    background: var(--off-white);
}

.newsletter-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 60px;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--red);
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-desc {
    color: var(--gray-700);
    font-size: 0.95rem;
}

.newsletter-form {
    flex: 0 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.newsletter-input-group:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 4px var(--red-glow);
}

.newsletter-input {
    padding: 14px 24px;
    border: none;
    font-family: var(--font);
    font-size: 0.95rem;
    width: 280px;
    outline: none;
    background: var(--white);
}

.newsletter-btn {
    border-radius: 0 50px 50px 0 !important;
    border: none !important;
    padding: 14px 28px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: #7A0B14;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
    position: relative;
}

.footer-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    width: 200px;
    margin-bottom: 16px;
    filter: brightness(10);
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    font-style: italic;
}

.footer-company {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.5);
}

.footer-years {
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact svg {
    flex-shrink: 0;
    color: rgba(255,255,255,0.8);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--white);
    color: var(--red);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .nav-logo { min-width: 180px; }
    .nav-logo img { width: 200px; top: -54px; }
    .hero-product { display: none; }
    .hero-text { max-width: 100%; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .category-card-lg { grid-column: span 2; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .usage-grid { grid-template-columns: 1fr; gap: 40px; }
    .usage-image-stack { height: 400px; }
    .environment-content { grid-template-columns: 1fr; text-align: center; }
    .environment-stats { align-items: center; }
    .newsletter-card { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-top { display: none; }
    .nav-logo { min-width: 100px; }
    .nav-logo img { width: 120px; top: -18px; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
        gap: 0;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu > li > a {
        padding: 14px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--gray-100);
    }
    .nav-menu > li > a::after { display: none; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 16px;
    }
    .mobile-toggle { display: flex; }
    .btn-comprar span { display: none; }
    .hero { max-height: none; }
    .hero-title { font-size: 1.8rem; }
    .hero-controls { bottom: 12px; }
    .highlight-card {
        flex-direction: column;
        padding: 32px;
        gap: 32px;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .category-card-lg { grid-column: span 1; }
    .category-card { min-height: 240px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-card { padding: 24px 12px; }
    .stat-number { font-size: 2.5rem; }
    .frotips-phones { flex-direction: column; gap: 16px; }
    .phone-left, .phone-right {
        transform: none;
        opacity: 0.8;
    }
    .phone-center { transform: none; }
    .phone-frame { width: 200px; height: 400px; }
    .social-links-icons { flex-direction: column; align-items: center; }
    .newsletter-card { padding: 32px 24px; }
    .newsletter-input { width: 180px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .tree-counter { width: 220px; height: 220px; padding: 30px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-cta { flex-direction: column; }
    .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
    .section-title { font-size: 1.5rem; }
    .stat-number { font-size: 2rem; }
    .countries-flags { gap: 12px; }
    .country-flag { padding: 6px 14px; font-size: 0.8rem; }
    .newsletter-input-group { flex-direction: column; border-radius: var(--radius-md); }
    .newsletter-input { width: 100%; border-radius: var(--radius-md); }
    .newsletter-btn { border-radius: var(--radius-md) !important; }
}
