/*
Theme Name: ملك الأمان
Theme URI: https://malik-alaman.com
Author: Malik Al-Aman Team
Author URI: https://malik-alaman.com
Description: قالب ووردبريس احترافي لشركة ملك الأمان - خدمات عزل الأسطح وكشف التسربات
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: malik-alaman
Tags: rtl, right-to-left, arabic, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
    --primary: #0d6efd;
    --primary-light: #4d94ff;
    --primary-dark: #0a4bba;
    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0a4bba 100%);
    --secondary: #00c9a7;
    --secondary-light: #33d4b9;
    --secondary-dark: #00a085;
    --secondary-gradient: linear-gradient(135deg, #00c9a7 0%, #00a085 100%);
    --accent: #ffc107;
    --accent-light: #ffcd39;
    --accent-dark: #e0a800;
    --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;
    --gray-900: #0f172a;
    --dark: #0a0a0a;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #0ea5e9;
    --whatsapp: #25d366;
    --font-family: 'Cairo', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(13, 110, 253, 0.3);
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ===================================================
   ملك الأمان - Professional CSS
   Premium Design System
=================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --primary: #0d6efd;
    --primary-light: #4d94ff;
    --primary-dark: #0a4bba;
    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0a4bba 100%);

    /* Secondary Colors */
    --secondary: #00c9a7;
    --secondary-light: #33d4b9;
    --secondary-dark: #00a085;
    --secondary-gradient: linear-gradient(135deg, #00c9a7 0%, #00a085 100%);

    /* Accent Colors */
    --accent: #ffc107;
    --accent-light: #ffcd39;
    --accent-dark: #e0a800;

    /* Neutral Colors */
    --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;
    --gray-900: #0f172a;
    --dark: #0a0a0a;

    /* Semantic Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #0ea5e9;

    /* WhatsApp Color */
    --whatsapp: #25d366;

    /* Typography */
    --font-family: 'Cairo', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(13, 110, 253, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

/* ===== Loading Screen ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    color: var(--white);
}

.loader i {
    font-size: 4rem;
    animation: pulse 1s ease-in-out infinite;
}

.loader span {
    font-size: var(--font-size-2xl);
    font-weight: 700;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ===== Floating CTA Buttons ===== */
.floating-cta {
    position: fixed;
    left: var(--space-6);
    bottom: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    z-index: var(--z-fixed);
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: var(--font-size-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    animation: bounce-in 1s ease-out;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.phone {
    background: var(--primary-gradient);
}

.float-btn.whatsapp {
    background: var(--whatsapp);
}

.float-btn.whatsapp:hover {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== Header & Navigation ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-sticky);
    transition: var(--transition-base);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: var(--font-size-xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-weight: 600;
    color: var(--gray-700);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--primary-gradient);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-2);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== Dropdown Menu ===== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.dropdown-toggle i {
    font-size: var(--font-size-xs);
    transition: var(--transition-base);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 250px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-3) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    z-index: var(--z-dropdown);
    border: 1px solid var(--gray-100);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-base);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-right: var(--space-6);
}

.dropdown-menu li a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: var(--font-size-sm);
}

/* ===== WordPress Sub-Menu Styles ===== */
.nav-links .menu-item-has-children {
    position: relative;
}

.nav-links .menu-item-has-children>a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-links .menu-item-has-children>a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: var(--font-size-xs);
    transition: var(--transition-base);
}

.nav-links .menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 250px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-3) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    z-index: var(--z-dropdown);
    border: 1px solid var(--gray-100);
    list-style: none;
}

.nav-links .menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .sub-menu li {
    width: 100%;
}

.nav-links .sub-menu li a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-base);
    white-space: nowrap;
}

.nav-links .sub-menu li a:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-right: var(--space-6);
}

.nav-links .sub-menu li a::after {
    display: none;
}

/* Nested Sub-Menu */
.nav-links .sub-menu .menu-item-has-children>.sub-menu {
    top: 0;
    right: 100%;
    margin-right: 5px;
}

/* Mobile Sub-Menu Styles */
@media (max-width: 768px) {
    .nav-links .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        padding-right: var(--space-6);
        background: transparent;
    }

    .nav-links .sub-menu li a {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-size-base);
        color: var(--gray-600);
    }

    .nav-links .sub-menu li a:hover {
        padding-right: var(--space-4);
        background: transparent;
        color: var(--primary);
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-24) var(--space-6);
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(13, 110, 253, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 201, 167, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 193, 7, 0.15);
    color: var(--accent);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.hero h1 {
    font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-6xl));
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: var(--space-6);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: var(--font-size-lg);
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto var(--space-10);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-lg);
    transition: var(--transition-base);
}

.cta-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.cta-secondary {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(37, 211, 102, 0.4);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-300);
    font-size: var(--font-size-sm);
}

.hero-feature i {
    color: var(--secondary);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
}

.hero-scroll a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: var(--font-size-lg);
}

.hero-scroll a:hover {
    border-color: var(--primary);
    background: var(--primary);
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--primary-gradient);
    padding: var(--space-16) var(--space-6);
    margin-top: -1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--space-4);
    font-size: var(--font-size-2xl);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--font-size-base);
    opacity: 0.9;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(0, 201, 167, 0.1) 100%);
    color: var(--primary);
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 700;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.section-header h2 {
    font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
    padding: var(--space-24) var(--space-6);
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
}

.service-card.featured .service-icon-wrapper .service-icon {
    background: var(--primary-gradient);
    color: var(--white);
}

.service-card.featured h3 {
    color: var(--white);
}

.service-card.featured p,
.service-card.featured .service-features li {
    color: var(--gray-300);
}

.service-card.featured .service-cta {
    background: var(--white);
    color: var(--primary);
}

.featured-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    background: var(--accent);
    color: var(--gray-900);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
}

.service-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-6);
}

.service-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-3xl);
    color: var(--primary);
    transition: var(--transition-base);
}

.service-icon-bg {
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    color: var(--white);
}

.service-card:hover .service-icon-bg {
    opacity: 1;
    transform: scale(1);
}

.service-card.featured:hover .service-icon-bg {
    opacity: 0;
}

.service-card.featured:hover .service-icon {
    color: var(--white);
}

.service-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.service-card>p {
    color: var(--gray-500);
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.service-features {
    margin-bottom: var(--space-6);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.service-features li i {
    color: var(--secondary);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--primary-gradient);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.service-cta:hover {
    gap: var(--space-4);
    box-shadow: var(--shadow-lg);
}

/* ===== Why Us Section ===== */
.why-us {
    padding: var(--space-24) var(--space-6);
    background: var(--white);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.why-us-text .section-badge {
    margin-bottom: var(--space-4);
}

.why-us-text h2 {
    font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    line-height: 1.3;
}

.why-us-text>p {
    color: var(--gray-500);
    margin-bottom: var(--space-10);
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.feature-item {
    display: flex;
    gap: var(--space-5);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-xl);
    color: var(--primary);
}

.feature-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.feature-content p {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}

.why-us-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
}

.image-decoration {
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    border-radius: var(--radius-2xl);
    transform: rotate(6deg);
}

.image-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    border-radius: var(--radius-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: var(--space-8);
}

.image-content i {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: var(--space-4);
}

.image-content h3 {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    margin-bottom: var(--space-2);
}

.image-content p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
}

/* ===== Store Section ===== */
.store {
    padding: var(--space-24) var(--space-6);
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-card.featured {
    border: 2px solid var(--primary);
}

.product-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--secondary);
    color: var(--white);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    z-index: 1;
}

.product-badge.featured {
    background: var(--primary);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-icon {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.product-content {
    padding: var(--space-8);
}

.product-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.product-content>p {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    background: var(--gray-100);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
}

.product-specs span i {
    color: var(--primary);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
}

.product-price .price {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--primary);
}

.product-price .currency {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-500);
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--primary-gradient);
    color: var(--white);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.product-btn:hover {
    gap: var(--space-3);
    box-shadow: var(--shadow-md);
}

.store-cta {
    text-align: center;
    padding: var(--space-10);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.store-cta p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: var(--space-24) var(--space-6);
    background: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-6);
}

.testimonial-rating i {
    color: var(--accent);
    font-size: var(--font-size-lg);
}

.testimonial-card>p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-8);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: var(--font-size-xl);
}

.author-info h4 {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.author-info span {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

/* ===== Final CTA Section ===== */
.final-cta {
    position: relative;
    padding: var(--space-24) var(--space-6);
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: var(--radius-full);
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.3) 0%, rgba(13, 110, 253, 0) 100%);
    top: -200px;
    right: -100px;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.3) 0%, rgba(0, 201, 167, 0) 100%);
    bottom: -150px;
    left: -50px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--space-8);
    font-size: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

.cta-content h2 {
    font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.cta-content>p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--space-10);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-10);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-lg);
    transition: var(--transition-base);
}

.cta-button.primary {
    background: var(--white);
    color: var(--primary);
}

.cta-button.primary:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-button.secondary {
    background: var(--whatsapp);
    color: var(--white);
}

.cta-button.secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(37, 211, 102, 0.4);
}

.cta-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.trust-item i {
    color: var(--secondary);
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--space-24) var(--space-6);
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--space-6);
    font-size: var(--font-size-2xl);
    color: var(--white);
}

.contact-icon.whatsapp {
    background: var(--whatsapp);
}

.contact-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.contact-card>p {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
}

.contact-card a,
.contact-card span {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--primary);
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-top {
    padding: var(--space-20) var(--space-6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-6);
}

.footer-logo i {
    color: var(--primary);
}

.footer-col>p {
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-lg);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-6);
}

.footer-col ul li {
    margin-bottom: var(--space-3);
}

.footer-col ul a {
    display: inline-block;
    padding: var(--space-1) 0;
    opacity: 0.8;
    transition: var(--transition-base);
}

.footer-col ul a:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateX(-5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    padding: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: var(--font-size-sm);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== Product Detail Page ===== */
.product-detail-container {
    max-width: 1200px;
    margin: 120px auto var(--space-16);
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.detail-image {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 120px;
}

.detail-image i {
    font-size: 10rem;
    color: var(--primary);
    opacity: 0.5;
}

.detail-info h1 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.detail-price {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--space-6);
}

.detail-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-8);
}

.specs-table {
    width: 100%;
    margin-bottom: var(--space-8);
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
    text-align: right;
}

.specs-table th {
    font-weight: 700;
    color: var(--gray-900);
    width: 40%;
    background: var(--gray-50);
}

.specs-table td {
    color: var(--gray-600);
}

.detail-actions {
    display: flex;
    gap: var(--space-4);
}

.detail-actions .cta-btn {
    flex: 1;
    text-align: center;
    padding: var(--space-5) var(--space-6);
    font-size: var(--font-size-lg);
}

.detail-actions .cta-btn.secondary {
    background: var(--gray-100);
    color: var(--gray-900);
}

.detail-actions .cta-btn.secondary:hover {
    background: var(--gray-200);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .why-us-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .why-us-image {
        order: -1;
    }

    .image-wrapper {
        max-width: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-10);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-24) var(--space-8);
        box-shadow: var(--shadow-2xl);
        gap: var(--space-6);
        transition: var(--transition-slow);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: var(--font-size-lg);
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        font-size: var(--font-size-3xl);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-features {
        flex-direction: column;
        gap: var(--space-4);
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        margin-top: 100px;
    }

    .detail-image {
        position: static;
        height: 300px;
    }

    .detail-actions {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .floating-cta {
        left: var(--space-4);
        bottom: var(--space-4);
    }

    .float-btn {
        width: 50px;
        height: 50px;
    }

    .back-to-top {
        right: var(--space-4);
        bottom: var(--space-4);
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    :root {
        --space-6: 1rem;
    }

    .hero {
        padding: var(--space-20) var(--space-4);
    }

    .hero h1 {
        font-size: var(--font-size-2xl);
    }

    .hero p {
        font-size: var(--font-size-base);
    }

    .section-header h2 {
        font-size: var(--font-size-2xl);
    }

    .service-card,
    .product-card,
    .contact-card,
    .testimonial-card {
        padding: var(--space-6);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== Selection ===== */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   PREMIUM PROFESSIONAL ENHANCEMENTS
   ======================================== */

/* === Emergency Top Bar === */
.emergency-bar {
    background: linear-gradient(90deg, #dc2626, #b91c1c, #dc2626);
    background-size: 200% 100%;
    animation: gradient-flow 3s ease infinite;
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.emergency-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes gradient-flow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.emergency-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.emergency-bar i {
    animation: ring 1s infinite;
}

.emergency-bar a {
    color: white;
    font-weight: 800;
    text-decoration: underline;
    transition: all 0.3s;
}

.emergency-bar a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes ring {

    0%,
    100% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0);
    }
}

/* === Trust Badges Bar === */
.trust-badges {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
    margin-top: 70px;
}

.badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 50px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.badge-item:hover {
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.15);
}

.badge-item i {
    font-size: 1.3rem;
    color: var(--primary);
}

/* === Glassmorphism Cards === */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-2xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* === 3D Service Cards === */
.service-card {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(13, 110, 253, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* === Animated Gradient Background === */
.hero {
    background: linear-gradient(-45deg, #0d6efd, #0a4bba, #00c9a7, #0d6efd);
    background-size: 400% 400%;
    animation: gradient-bg 15s ease infinite;
}

@keyframes gradient-bg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* === Particle Effect for Hero === */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-particle 20s infinite;
}

.hero-particles::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    bottom: 10%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(100px, 0) scale(1);
    }

    75% {
        transform: translate(50px, 50px) scale(0.9);
    }
}

/* === Scroll Progress Bar === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

/* === Process Section === */
.process-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 60px;
    position: relative;
    flex-wrap: wrap;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 0;
    border-radius: 10px;
}

.process-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 3px dashed rgba(13, 110, 253, 0.3);
    animation: rotate-border 10s linear infinite;
}

@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.5);
}

.process-step h4 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* === Guarantee Section === */
.guarantee-section {
    background: var(--primary-gradient);
    padding: 80px 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.guarantee-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse-bg 5s ease-in-out infinite;
}

@keyframes pulse-bg {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.guarantee-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    text-align: center;
    position: relative;
    z-index: 1;
}

.guarantee-badge {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.guarantee-badge i {
    font-size: 3rem;
    margin-bottom: 8px;
}

.guarantee-badge span {
    font-weight: 900;
    font-size: 1.1rem;
}

.guarantee-text h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.guarantee-text p {
    font-size: 1.2rem;
    opacity: 0.95;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* === Certifications Section === */
.certifications {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
    padding: 100px 24px;
    color: white;
    position: relative;
}

.certifications::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.cert-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.cert-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.4);
}

.cert-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cert-card p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* === Service Areas === */
.service-areas {
    padding: 100px 24px;
    background: white;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 50px;
}

.area-card {
    background: var(--gray-50);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.area-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
    background: white;
}

.area-card i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.area-card span {
    font-weight: 700;
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* === FAQ Section === */
.faq-section {
    padding: 100px 24px;
    background: var(--gray-50);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    font-weight: 700;
    color: var(--gray-900);
    gap: 16px;
    transition: all 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.faq-item.active .faq-question {
    background: var(--primary);
    color: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--gray-600);
    line-height: 1.9;
}

/* === WhatsApp Chat Widget === */
.whatsapp-widget {
    position: fixed;
    bottom: 100px;
    left: 25px;
    z-index: 999;
}

.whatsapp-popup {
    position: absolute;
    bottom: 75px;
    left: 0;
    width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-widget:hover .whatsapp-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-header {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-avatar {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #25D366;
    font-size: 1.8rem;
}

.whatsapp-info h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.whatsapp-info span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.whatsapp-body {
    padding: 20px;
}

.whatsapp-message {
    background: #e7f7ef;
    padding: 15px;
    border-radius: 15px;
    font-size: 0.95rem;
    color: var(--gray-700);
    position: relative;
}

.whatsapp-message::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #e7f7ef;
}

.whatsapp-cta {
    display: block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-align: center;
    padding: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 15px;
    border-radius: 12px;
    transition: all 0.3s;
}

.whatsapp-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-toggle {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* === Cookie Consent === */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gray-900), #1a1a2e);
    color: white;
    padding: 20px 24px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.cookie-btn.accept {
    background: var(--primary-gradient);
    color: white;
}

.cookie-btn.accept:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
    border-color: white;
}

/* === Micro Interactions === */
.cta-primary,
.cta-secondary {
    position: relative;
    overflow: hidden;
}

.cta-primary::after,
.cta-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::after,
.cta-secondary:hover::after {
    width: 300px;
    height: 300px;
}

/* === Animated Icons === */
.service-icon i {
    transition: all 0.4s ease;
}

.service-card:hover .service-icon i {
    animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(0.9);
    }

    75% {
        transform: scale(1.1);
    }
}

/* === Rating Stars Animation === */
.rating-stars i {
    color: #fbbf24;
    display: inline-block;
    animation: star-pulse 1.5s ease infinite;
}

.rating-stars i:nth-child(1) {
    animation-delay: 0s;
}

.rating-stars i:nth-child(2) {
    animation-delay: 0.1s;
}

.rating-stars i:nth-child(3) {
    animation-delay: 0.2s;
}

.rating-stars i:nth-child(4) {
    animation-delay: 0.3s;
}

.rating-stars i:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes star-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .emergency-bar {
        font-size: 0.85rem;
        padding: 10px 15px;
    }

    .badges-grid {
        gap: 15px;
    }

    .badge-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .process-timeline::before {
        display: none;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    .guarantee-badge {
        width: 120px;
        height: 120px;
    }

    .guarantee-text h2 {
        font-size: 1.8rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-popup {
        width: 280px;
    }

    .whatsapp-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE STYLES ===== */

/* Tablet and smaller */
@media screen and (max-width: 992px) {

    /* Container */
    .container {
        padding: 0 20px !important;
        max-width: 100% !important;
    }

    /* Blog Layout */
    .blog-layout {
        display: block !important;
    }

    .blog-sidebar {
        margin-top: 40px;
    }

    /* Single Article */
    .single-article {
        padding: 25px !important;
        margin: 0 !important;
        border-radius: 15px !important;
    }

    .article-header {
        text-align: center;
    }

    .article-title {
        font-size: 1.5rem !important;
        line-height: 1.5 !important;
    }

    .article-meta {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
    }

    .article-content {
        font-size: 1rem !important;
        line-height: 1.9 !important;
    }

    .article-content h2 {
        font-size: 1.3rem !important;
    }

    .article-content h3 {
        font-size: 1.15rem !important;
    }

    .article-content img {
        max-width: 100% !important;
        height: auto !important;
    }

    .article-navigation {
        display: block !important;
    }

    .nav-prev,
    .nav-next {
        margin-bottom: 15px;
    }
}

/* Mobile phones */
@media screen and (max-width: 768px) {

    /* Main containers */
    .blog-main,
    .archive-main,
    .category-main {
        padding: 70px 0 40px !important;
    }

    .container {
        padding: 0 15px !important;
    }

    /* Single Article Mobile */
    .single-article {
        padding: 15px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    .article-title {
        font-size: 1.25rem !important;
        word-wrap: break-word !important;
    }

    .article-meta {
        font-size: 0.8rem !important;
    }

    .article-featured-image {
        margin: 15px -15px !important;
        border-radius: 0 !important;
    }

    .article-featured-image img {
        width: 100% !important;
        height: auto !important;
    }

    .article-content {
        font-size: 0.95rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .article-content p,
    .article-content li {
        word-wrap: break-word !important;
    }

    .article-content ul,
    .article-content ol {
        padding-right: 20px !important;
        padding-left: 0 !important;
    }

    .article-tags {
        padding: 15px 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .article-tags a {
        padding: 5px 12px !important;
        font-size: 0.75rem !important;
    }

    .article-share {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 15px !important;
    }

    .share-btn {
        width: 42px !important;
        height: 42px !important;
    }

    /* Post Cards Mobile */
    .posts-grid {
        display: block !important;
    }

    .post-card {
        margin-bottom: 20px !important;
    }

    .post-thumb {
        height: 180px !important;
    }

    .post-content {
        padding: 15px !important;
    }

    .post-content h2 {
        font-size: 1rem !important;
    }

    .post-meta {
        flex-wrap: wrap !important;
        font-size: 0.75rem !important;
    }

    /* Archive/Category Header Mobile */
    .archive-header,
    .category-header {
        padding: 25px 15px !important;
        margin-bottom: 25px !important;
    }

    .archive-header h1,
    .category-header h1 {
        font-size: 1.3rem !important;
    }

    /* Sidebar Mobile */
    .sidebar-widget {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }

    /* Pagination Mobile */
    .blog-pagination .page-numbers {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.85rem !important;
    }
}

/* Small phones */
@media screen and (max-width: 480px) {
    .single-article {
        padding: 12px !important;
    }

    .article-title {
        font-size: 1.1rem !important;
    }

    .article-content {
        font-size: 0.9rem !important;
    }

    .article-content h2 {
        font-size: 1.1rem !important;
    }

    .share-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.9rem !important;
    }
}

/* Prevent horizontal scroll */
html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

img,
video,
iframe,
embed,
object {
    max-width: 100% !important;
    height: auto !important;
}

pre,
code {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

table {
    display: block !important;
    overflow-x: auto !important;
    max-width: 100% !important;
}