/**
 * Avuar Consulting - Corporate Website Styles
 * Цветовая схема: синий + белый
 * Стиль: деловой, профессиональный
 */

/* =====================================================
   CSS Variables
   ===================================================== */
:root {
    /* Цвета */
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3399FF;
    --secondary: #1A3A5C;
    --accent: #00CC66;
    
    /* Нейтральные */
    --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;
    
    /* Шрифты */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Размеры */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Тени */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    /* Переходы */
    --transition: all 0.3s ease;
    
    /* Радиусы */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-800);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* =====================================================
   Container
   ===================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   Header
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-800);
}

.logo:hover {
    color: var(--primary);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-sub {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--primary);
    background: var(--gray-50);
}

.nav-list > li > a i {
    font-size: 0.7rem;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--gray-600);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.dropdown li a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.dropdown li a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* Header Contacts */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
}

.header-phone:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.header-whatsapp {
    width: 42px;
    height: 42px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.header-whatsapp:hover {
    background: #128C7E;
    color: var(--white);
    transform: scale(1.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 1002;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray-600);
}

.mobile-nav ul {
    padding: 15px;
}

.mobile-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    color: var(--gray-700);
    border-radius: var(--radius);
    font-weight: 500;
}

.mobile-nav li a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.mobile-nav li a i {
    width: 20px;
    color: var(--primary);
}

.mobile-menu-contacts {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-phone, .mobile-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: var(--radius);
    font-weight: 600;
}

.mobile-phone {
    background: var(--primary);
    color: var(--white);
}

.mobile-whatsapp {
    background: #25D366;
    color: var(--white);
}

/* =====================================================
   Main Content
   ===================================================== */
.main {
    padding-top: var(--header-height);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><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.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

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

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

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

.hero-feature i {
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Hero Form */
.hero-form-wrapper {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-form-wrapper h3 {
    margin-bottom: 5px;
}

.hero-form-wrapper p {
    color: var(--gray-500);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

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

.btn-whatsapp:hover {
    background: #128C7E;
    color: var(--white);
}

.btn-lg {
    padding: 16px 35px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* =====================================================
   Forms
   ===================================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-label .required {
    color: #DC2626;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-700);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-control.error {
    border-color: #DC2626;
}

.form-error {
    color: #DC2626;
    font-size: 0.85rem;
    margin-top: 5px;
}

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

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23475569"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    padding-right: 45px;
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* =====================================================
   Sections
   ===================================================== */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* =====================================================
   Services Grid
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--gray-500);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.service-card .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* =====================================================
   Advantages
   ===================================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 20px;
}

.advantage-card h4 {
    margin-bottom: 10px;
}

.advantage-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* =====================================================
   Steps
   ===================================================== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: var(--gray-200);
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}

.step-card h4 {
    margin-bottom: 10px;
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* =====================================================
   Team
   ===================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.team-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--gray-100);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 5px;
}

.team-info .position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* =====================================================
   Certificates Gallery
   ===================================================== */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.certificate-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.certificate-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.certificate-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--gray-100);
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.certificate-overlay i {
    font-size: 2.5rem;
    color: var(--white);
}

/* =====================================================
   Reviews
   ===================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 5rem;
    color: var(--gray-100);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-stars {
    color: #FFC107;
    margin-bottom: 15px;
}

.review-text {
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.review-author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.review-author-info span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Review Letters */
.review-letters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.review-letter {
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-letter:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.review-letter img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background: var(--gray-100);
}

/* =====================================================
   Pricing
   ===================================================== */
.pricing-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent);
    margin-top: 4px;
}

/* =====================================================
   Contact Page
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.contact-info-icon {
    width: 55px;
    height: 55px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    margin-bottom: 5px;
}

.contact-info-content p,
.contact-info-content a {
    color: var(--gray-600);
}

.contact-info-content a:hover {
    color: var(--primary);
}

.contact-map {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border: none;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   Page Header
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Lightblue_empty_grid.svg/1280px-Lightblue_empty_grid.svg.png" viewBox="0 0 100 100" preserveAspectRatio="none"><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.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    position: relative;
    z-index: 1;
}

.breadcrumbs a,
.breadcrumbs span {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs span.separator {
    margin: 0 10px;
}

/* =====================================================
   Service Detail Page
   ===================================================== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.service-content h2 {
    margin-bottom: 20px;
}

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

.service-content ul {
    margin-bottom: 25px;
}

.service-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.service-content ul li i {
    color: var(--primary);
    margin-top: 4px;
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.sidebar-card h4 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-100);
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--gray-600);
    border-radius: var(--radius);
    margin-bottom: 5px;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: var(--gray-50);
    color: var(--primary);
}

.sidebar-nav li a i {
    width: 20px;
    color: var(--primary);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.footer-logo .logo-name {
    color: var(--white);
}

.footer-about {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.95rem;
}

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

.footer-contacts li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contacts li i {
    color: var(--primary);
    width: 16px;
    margin-top: 4px;
}

.footer-contacts a {
    color: var(--gray-400);
}

.footer-contacts a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* =====================================================
   WhatsApp Float Button
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--gray-800);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   Modal
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

/* =====================================================
   Alerts
   ===================================================== */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert i {
    font-size: 1.2rem;
}

/* =====================================================
   About Page
   ===================================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content h2 {
    margin-bottom: 20px;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-phone span {
        display: none;
    }
    
    .header-phone {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .advantages-grid,
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container::before {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 50px 0 70px;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-form-wrapper {
        padding: 25px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
    }
}

/* =====================================================
   Utilities
   ===================================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
