/* 
   -----------------------------------------
   Design System & Tokens (Mobile-First Premium)
   ----------------------------------------- 
*/
:root {
    /* Colors */
    --color-primary: #0A2540; 
    --color-primary-light: #1A3E66;
    --color-secondary: #00D4FF; 
    --color-accent: #FF5E00; 
    --color-whatsapp: #25D366;
    
    /* Neutral Colors */
    --color-text: #334155;
    --color-text-light: #64748B;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-border: #E2E8F0;
    
    /* Typography Fluid Scales */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --text-sm: clamp(0.875rem, 0.1vw + 0.85rem, 0.9375rem);
    --text-base: clamp(1rem, 0.2vw + 0.95rem, 1.0625rem);
    --text-lg: clamp(1.125rem, 0.3vw + 1.05rem, 1.25rem);
    --text-xl: clamp(1.25rem, 0.5vw + 1.1rem, 1.5rem);
    --text-2xl: clamp(1.5rem, 0.8vw + 1.3rem, 2rem);
    --text-3xl: clamp(2rem, 1.5vw + 1.6rem, 3rem);
    
    /* Fluid Spacing */
    --spacing-xs: clamp(0.5rem, 0.5vw, 0.75rem);
    --spacing-sm: clamp(1.25rem, 2vw, 1.5rem);
    --spacing-md: clamp(1.5rem, 3vw, 2.5rem);
    --spacing-lg: clamp(3rem, 5vw, 5rem);
    --spacing-xl: clamp(4rem, 8vw, 8rem);
    
    /* Layout */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Premium Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.4);
    --shadow-glow-accent: 0 0 20px rgba(255, 94, 0, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

button, input, select, textarea {
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll Lock Class for Mobile Menu */
body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    font-weight: 800;
}

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

img, svg {
    max-width: 100%;
    height: auto;
}

/* 
   -----------------------------------------
   Utilities
   ----------------------------------------- 
*/
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

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

.gradient-text {
    background: linear-gradient(135deg, var(--color-secondary), #0077FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Premium Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
}

/* Touch-optimized Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem; /* Increased padding for better touch targets */
    min-height: 48px; /* A11y Minimum Touch Target */
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    will-change: transform, box-shadow;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #FF3300);
    color: white;
    box-shadow: var(--shadow-glow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 94, 0, 0.5);
    color: white;
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #20BA56;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

.btn-large {
    padding: 1.125rem 2rem;
    min-height: 56px;
    font-size: 1.15rem;
}

.btn-block {
    width: 100%;
}

/* 
   -----------------------------------------
   Header & Nav
   ----------------------------------------- 
*/
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.25rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px; /* Touch friendly height */
    transition: height var(--transition-base);
}

.site-header.scrolled .header-container {
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-lg);
    color: var(--color-primary);
    z-index: 1001; /* Above mobile overlay if needed */
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-secondary), #0077FF);
    border-radius: var(--border-radius-sm);
    color: white;
}

.logo .highlight {
    color: var(--color-secondary);
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition-base);
}

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

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-primary);
}

.header-cta {
    display: none;
}

/* Premium Mobile Menu Toggle */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    width: 48px;
    height: 48px; /* Large touch target */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-lines {
    width: 24px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-lines .line {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 10px;
    background: var(--color-primary);
    transition: all 0.3s ease-in-out;
}

.mobile-menu-toggle.active .line1 {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .line2 {
    opacity: 0;
}

.mobile-menu-toggle.active .line3 {
    transform: translateY(-9px) rotate(-45deg);
}

/* Off-Canvas Premium Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding-top: 80px;
    padding-bottom: 40px;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    width: 100%;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform var(--transition-base);
    text-align: center;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-nav .nav-link {
    font-size: var(--text-2xl);
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
    color: var(--color-secondary);
}

/* 
   -----------------------------------------
   Breadcrumbs Bar (below Hero)
   ----------------------------------------- 
*/
.breadcrumbs-bar {
    background: var(--bg-light, #f8fafc);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.6rem 0;
}

@media (max-width: 768px) {
    .breadcrumbs-bar {
        display: none;
    }
}
.breadcrumbs-bar__inner {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 0.82rem;
    font-weight: 500;
    flex-wrap: wrap;
}
.breadcrumbs-bar a {
    color: var(--color-text-light, #64748b);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs-bar a:hover {
    color: var(--color-primary);
}
.breadcrumbs-bar__sep {
    margin: 0 0.5rem;
    color: var(--color-text-light, #94a3b8);
    opacity: 0.5;
}
.breadcrumbs-bar__current {
    color: var(--color-primary);
    font-weight: 600;
}

/* 
   -----------------------------------------
   Hero Section
   ----------------------------------------- 
*/
.hero {
    position: relative;
    padding-top: calc(72px + var(--spacing-md));
    padding-bottom: var(--spacing-lg);
    background: var(--color-primary);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--color-primary-light), var(--color-primary));
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-dot 2s infinite;
}

.hero h1 {
    font-size: var(--text-3xl);
    color: white;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0;
}

.trust-indicators {
    display: flex;
    flex-direction: row; /* Horizontal on mobile */
    justify-content: center;
    gap: 0.5rem; /* Smaller gap for mobile */
}

.indicator {
    display: flex;
    flex-direction: column; /* Stack icon on top of text on mobile */
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    font-size: 11px; /* Smaller font for mobile to fit 3 in a row */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    flex: 1; /* Distribute evenly */
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.indicator svg {
    color: var(--color-secondary);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
}

.trust-card {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.trust-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.stars {
    color: #FBBF24;
    letter-spacing: 2px;
}

.rating-text {
    font-size: var(--text-sm);
    opacity: 0.9;
}

.testimonial {
    font-size: var(--text-sm);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.testimonial-author {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-secondary);
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    will-change: transform;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--color-secondary);
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--color-accent);
    bottom: 0%;
    left: 10%;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite reverse;
}

/* 
   -----------------------------------------
   Services Section
   ----------------------------------------- 
*/
.services {
    background: var(--color-bg-alt);
}

.section-header {
    margin-bottom: var(--spacing-md);
}

.section-header h2 {
    font-size: var(--text-2xl);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

/* Link wrapper for entire card */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    cursor: pointer;
}

.service-card {
    background: var(--color-bg);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid var(--color-border, rgba(0,0,0,0.06));
    border-left: 4px solid transparent;
    will-change: transform, box-shadow;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-link:hover .service-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-primary);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.service-card-link:hover .service-icon {
    background: var(--color-primary);
    color: white;
    transform: scale(1.05) rotate(5deg);
}

.service-card h3 {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
    transition: color var(--transition-base);
}

.service-card p {
    color: var(--color-text-light);
    flex-grow: 1;
}

.service-card-link:hover h3 {
    color: var(--color-primary);
}

/* Card footer with tags + CTA */
.service-card__footer {
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-card__tags {
    color: var(--color-text-light);
    opacity: 0.8;
    font-weight: 600;
    font-size: var(--text-xs, 0.75rem);
}

.service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary);
    font-weight: 700;
    font-size: var(--text-sm);
    transition: all 0.3s ease;
}

.service-card__cta svg {
    transition: transform 0.3s ease;
}

.service-card-link:hover .service-card__cta {
    color: var(--color-secondary, var(--color-primary));
    gap: 0.6rem;
}

.service-card-link:hover .service-card__cta svg {
    transform: translateX(4px);
}

/* -----------------------------------------
   Testimonials
   ----------------------------------------- */
.testimonial-card {
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.7);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(14, 165, 233, 0.3);
}

/* 
   -----------------------------------------
   About Section
   ----------------------------------------- 
*/
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 10px;
}

.experience-badge .number {
    font-size: var(--text-xl);
    font-weight: 900;
    color: var(--color-primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .text {
    font-weight: 600;
    font-size: var(--text-xs, 0.75rem);
    line-height: 1.2;
    color: var(--color-text);
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: var(--text-lg);
}

.feature-list svg {
    color: var(--color-secondary);
    flex-shrink: 0;
}

/* 
   -----------------------------------------
   Contact Section
   ----------------------------------------- 
*/
.contact {
    background: linear-gradient(180deg, var(--color-bg), var(--color-bg-alt));
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-details h3 {
    font-size: var(--text-base);
    margin-bottom: 0.25rem;
}

.method-details a {
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--color-text);
}

.contact-form-wrapper {
    padding: var(--spacing-sm);
    background: white;
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
    font-size: var(--text-xl);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: var(--text-sm);
}

/* Force 16px font-size to prevent iOS zoom */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 16px; 
    transition: all var(--transition-fast);
    background-color: var(--color-bg-alt);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.form-notice {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-top: 1rem;
}

/* 
   -----------------------------------------
   Footer
   ----------------------------------------- 
*/
.site-footer {
    background: var(--color-primary);
    color: white;
    padding-top: var(--spacing-lg);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.footer-links h4,
.footer-legal h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: var(--text-lg);
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-bottom {
    background: var(--color-primary-light);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-whatsapp);
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    transition: all var(--transition-base);
    animation: bounce 2s infinite;
}

/* 
   -----------------------------------------
   Animations
   ----------------------------------------- 
*/
@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

.fade-in-up.animate {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.cta-pulse {
    animation: cta-pulse 2s infinite;
}

@keyframes cta-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 94, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); }
}

/* 
   -----------------------------------------
   Media Queries (Desktop Optimization)
   ----------------------------------------- 
*/
@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
    }
    
    .trust-indicators {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    
    .indicator {
        flex-direction: row; /* Side-by-side on desktop */
        text-align: left;
        font-size: var(--text-sm);
        flex: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-md);
    }
    
    .experience-badge {
        bottom: 20px;
        left: 20px;
        padding: 1.2rem 1.5rem;
        gap: 0.75rem;
    }
    
    .experience-badge .number {
        font-size: var(--text-3xl);
    }
    
    .experience-badge .text {
        font-size: var(--text-sm);
    }
}

@media (min-width: 1024px) {
    .mobile-menu-toggle { display: none; }
    .desktop-nav { display: flex; }
    .header-cta { display: inline-flex; }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
    
    .hero-image-wrapper {
        padding-top: 3rem; /* Push below badge line */
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* ==========================================
   Feature Banner — Split Layout
   ========================================== */

/* DESKTOP LAYOUT (Default: 2-column grid) */
.feature-banner {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Text left, Image right */
    width: 100%;
    max-width: var(--container-width, 1200px);
    margin: 5rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 30, 80, 0.08);
    min-height: 420px;
}

/* Text Column */
.feature-banner-text {
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1; /* Always render text before image visually */
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%); /* Subtle cool gradient */
    padding: 4rem 3.5rem;
    text-align: left;
}

.feature-banner-text .container {
    padding: 0;
    max-width: 100%;
}

.feature-banner-text h2 {
    font-size: var(--text-3xl);
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.feature-banner-text p {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0;
}

/* Image Column */
.full-width-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center 25%; /* Keeps face & chest logo visible */
    display: block;
}

/* Remove the ::after overlay — no longer needed in split layout */
.feature-banner::after {
    display: none;
}

/* ---- Alternating layout for even banners ---- */
.feature-banner:nth-of-type(even) {
    direction: rtl; /* Flip column order: Image left, Text right */
}
.feature-banner:nth-of-type(even) > * {
    direction: ltr; /* Reset text direction inside children */
}
.feature-banner:nth-of-type(even) .feature-banner-text {
    background: linear-gradient(135deg, #e8eef5 0%, #dde5ef 100%); /* Slightly different tone */
}

/* =========================================
   TABLET (769px — 1023px)
   ========================================= */
@media (max-width: 1023px) {
    .feature-banner {
        grid-template-columns: 45fr 55fr; /* Text slightly narrower */
        max-width: 95%;
        margin: 4rem auto;
        min-height: 360px;
    }

    .feature-banner-text {
        padding: 3rem 2.5rem;
    }

    .feature-banner-text h2 {
        font-size: var(--text-2xl, 1.75rem);
    }

    .feature-banner-text p {
        font-size: var(--text-base);
    }

    .full-width-image {
        min-height: 360px;
    }
}

/* =========================================
   MOBILE (≤768px) — Stacked layout
   ========================================= */
@media (max-width: 768px) {
    .feature-banner {
        grid-template-columns: 1fr; /* Single column */
        max-width: 100%;
        margin: 0; /* Flush, no gaps between sections */
        border-radius: 0;
        box-shadow: none;
        min-height: auto;
    }

    /* Reset alternating direction for mobile */
    .feature-banner:nth-of-type(even) {
        direction: ltr;
    }

    /* Text block: always on bottom */
    .feature-banner-text {
        order: 2;
        padding: 3rem 2rem;
        text-align: center;
        background: #f0f4f8;
        border-radius: 0 0 20px 20px;
    }

    .feature-banner-text h2 {
        font-size: var(--text-xl);
    }

    .feature-banner-text p {
        font-size: var(--text-base);
    }

    /* Image block: below text, 4:3 ratio */
    .full-width-image {
        width: 100%;
        height: auto;
        min-height: auto;
        aspect-ratio: 4 / 3;
        object-position: center 20%;
    }
}

/* ==========================================
   Brand Carousel (Marquee)
   ========================================== */
.brand-carousel-section {
    background: #f8fafc;
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
}

.brand-carousel-title {
    text-align: center;
    color: var(--color-text-light);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2.5rem;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    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);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    min-width: 100%;
    animation: scroll-x 60s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.brand-card {
    background: #ffffff;
    background-image: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,250,252,0.8) 100%);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 200px;
    height: 120px;
    transition: all 0.3s ease;
    cursor: default;
    filter: grayscale(100%) opacity(0.7);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    filter: grayscale(0%) opacity(1);
    border-color: var(--color-secondary);
}

.brand-logo-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.brand-logo-wrapper svg {
    max-width: 55%;
    max-height: 40px;
    height: auto;
}

.brand-category {
    font-size: 0.65rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    text-align: center;
}

@keyframes scroll-x {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

/* Tablet / Mobile adjustments */
@media (max-width: 768px) {
    .brand-carousel-section {
        padding: 3rem 0;
    }
    .brand-card {
        min-width: 160px;
        height: 100px;
        padding: 1rem 0.75rem;
    }
    .brand-category {
        font-size: 0.6rem;
    }
    .marquee-content {
        animation-duration: 40s;
    }
}

/* =========================================================================
   Component System Classes (Refactoring)
   ========================================================================= */

/* Image Placeholder (fallback quando a imagem não existe) */
.img-placeholder {
    width: 100%;
    min-height: 400px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px dashed #94a3b8;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Feature Card */
.feature-card {
    padding: 0;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    overflow: hidden; /* Prevent child content (like images) from overflowing card corners */
}
a.feature-card { display: flex; }

.feature-card__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feature-card h3 {
    font-size: var(--text-lg);
    margin-bottom: 1rem;
    color: var(--color-text);
}
.feature-card p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}
.feature-card__cta {
    margin-top: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1.5px solid var(--color-primary);
    border-radius: 8px;
    align-self: flex-start;
    transition: all 0.3s ease;
}
.feature-card:hover .feature-card__cta {
    background-color: var(--color-primary);
    color: white;
}

/* === Feature Card Images === */
.feature-card__image {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    position: relative;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    flex-shrink: 0;
}
.feature-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}
.feature-card:hover .feature-card__img {
    transform: scale(1.05);
}
.feature-card--with-image {
    /* Spacing is handled by .feature-card__body */
}
.feature-card--with-image .feature-card__image .img-placeholder {
    min-height: 200px;
    border-radius: 0;
}

/* === Showcase Image Section === */
.showcase-figure {
    margin: 0;
}
.showcase-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    aspect-ratio: 16/9;
}
.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.showcase-image-wrapper .img-placeholder {
    min-height: 300px;
    aspect-ratio: 16/9;
    border-radius: 0;
}
.showcase-caption {
    text-align: center;
    margin-top: 1.25rem;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.5;
}

/* ==========================================================================
   Lightbox (Image Popup)
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation-name: zoomIn;
    animation-duration: 0.4s;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    height: 150px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-trigger {
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-trigger:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity:0}
    to {transform:scale(1); opacity:1}
}

/* ==========================================================================
   Lightbox Mobile Fixes
   ========================================================================== */
.lightbox-modal {
    z-index: 999999 !important; /* Force top level */
}

@media (max-width: 768px) {
    .lightbox-modal {
        padding-top: 30px;
    }
    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
    }
    .lightbox-caption {
        width: 95%;
        font-size: 1rem;
        height: auto;
        min-height: 100px;
        padding-top: 20px;
    }
    .lightbox-close {
        top: 5px;
        right: 15px;
        font-size: 45px;
        padding: 10px; /* Larger touch target */
    }
}

/* --- Cookie Consent UI --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cookie-icon {
    font-size: 24px;
    line-height: 1;
}

.cookie-banner-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.5;
}

.cookie-banner-content a {
    color: var(--primary-color, #0ea5e9);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-cookie {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-cookie-outline {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: #4b5563;
}

.btn-cookie-outline:hover {
    background: #f3f4f6;
    color: #111827;
}

.btn-cookie-primary {
    background: var(--primary-color, #0ea5e9);
    color: white;
}

.btn-cookie-primary:hover {
    background: var(--primary-color-dark, #0284c7);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.cookie-modal-container {
    position: relative;
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-modal.visible .cookie-modal-container {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #111827;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.cookie-modal-close:hover {
    color: #111827;
}

.cookie-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.cookie-modal-desc {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0;
    margin-bottom: 24px;
}

.cookie-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.cookie-toggle-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-toggle-info {
    padding-right: 20px;
}

.cookie-toggle-info strong {
    display: block;
    color: #1f2937;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.cookie-toggle-info span {
    display: block;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + label {
    background-color: var(--primary-color, #0ea5e9);
}

.toggle-switch input:checked + label:before {
    transform: translateX(22px);
}

.toggle-switch.disabled label {
    background-color: #93c5fd;
    cursor: not-allowed;
    opacity: 0.8;
}

.cookie-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
}

/* Reopen Button */
.cookie-btn-reopen {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    transition: all 0.2s;
    padding: 0;
}

.cookie-btn-reopen:hover {
    transform: scale(1.1);
    color: var(--primary-color, #0ea5e9);
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   CRO ENHANCEMENTS (Conversion Rate Optimization)
   ========================================================================== */

/* 1. Floating Action Bar (Mobile Only) */
.cro-floating-bar {
    position: fixed;
    bottom: -100px; /* Hidden initially, slides up */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cro-floating-bar.visible {
    bottom: 12px;
}

.cro-floating-bar.hidden {
    bottom: -100px; /* Hides when near footer */
}

.cro-divider {
    width: 1px;
    height: 30px;
    background: rgba(0, 0, 0, 0.08);
    margin: 0 4px;
}

.cro-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.cro-btn-call {
    background: var(--color-accent, #FF5E00);
    color: white;
}

.cro-btn-call:hover, .cro-btn-call:active {
    background: #e65500;
    color: white;
}

.cro-btn-wa {
    background: var(--color-whatsapp, #25D366);
    color: white;
}

.cro-btn-wa:hover, .cro-btn-wa:active {
    background: #1ebc59;
    color: white;
}

.cro-btn-text {
    white-space: nowrap;
}

/* Pulsing effect for the call button */
@keyframes croPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 94, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); }
}

.cta-pulse {
    animation: croPulse 2s infinite;
}

/* On Desktop, hide the action bar but keep the WhatsApp floating button style if we want to fallback */
@media (min-width: 769px) {
    .cro-floating-bar {
        display: none;
    }
    
    /* Recreate old floating whatsapp for desktop */
    .cro-floating-bar-desktop-fallback {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background-color: #25d366;
        color: #FFF;
        border-radius: 50%;
        text-align: center;
        font-size: 30px;
        box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .cro-floating-bar-desktop-fallback:hover {
        transform: translateY(-5px);
        box-shadow: 0px 6px 15px rgba(0,0,0,0.4);
        color: white;
    }
}

/* 2. Social Proof Toast (Fake Contacts) */
.social-proof-toast {
    position: fixed;
    bottom: -150px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255,255,255,0.5);
    padding: 16px 20px;
    width: 340px;
    max-width: calc(100vw - 32px);
    z-index: 998;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}

.social-proof-toast.visible {
    bottom: 24px;
    opacity: 1;
}

.sp-icon {
    width: 44px;
    height: 44px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(37, 211, 102, 0.2);
}

.sp-icon.sp-call {
    background: rgba(10, 37, 64, 0.08);
    color: var(--color-primary, #0A2540);
    box-shadow: inset 0 0 0 1px rgba(10, 37, 64, 0.1);
}

.sp-content {
    flex: 1;
    padding-top: 2px;
}

.sp-text {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--color-text-body, #374151);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.sp-text strong {
    color: var(--color-primary, #0A2540);
    font-weight: 800;
}

.sp-time {
    font-size: 12.5px;
    color: #8c96a3;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.sp-time::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    animation: spBlink 2s infinite;
    box-shadow: 0 0 6px rgba(37, 211, 102, 0.6);
}

.sp-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    margin: -2px -4px 0 0;
    transition: color 0.2s, transform 0.2s;
    border-radius: 50%;
}

.sp-close:hover {
    color: #4b5563;
    background: rgba(0,0,0,0.05);
}

.sp-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #25D366, var(--color-primary, #0A2540));
    width: 100%;
    transform-origin: left;
}

@keyframes spBlink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    .social-proof-toast {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-proof-toast.visible {
        bottom: 74px; /* Above the floating action bar */
    }
}
