/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === COLORS === */
:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --dark: #1a1a2e;
    --gray: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
}

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 8px; font-weight: 600;
    font-size: 15px; cursor: pointer; transition: all .25s;
    border: 2px solid transparent; text-align: center;
}
.btn-primary { background: var(--primary); color: var(--dark); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.3); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

/* === HEADER === */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; }
.logo-icon { font-size: 28px; }
.logo-accent { color: var(--primary); }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--gray); }
.nav a:hover { color: var(--primary-dark); }
.header-phone { font-weight: 600; font-size: 15px; color: var(--dark); display: flex; align-items: center; gap: 6px; }
.phone-icon { font-size: 18px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--dark); position: absolute; left: 0; transition: .3s; }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

/* === HERO === */
.hero {
    position: relative; min-height: 92vh; display: flex; align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 120px 0 80px; overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(245,158,11,0.08)"/></svg>') repeat;
    background-size: 40px 40px;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
    display: inline-block; padding: 8px 20px; border-radius: 50px;
    background: rgba(245,158,11,.15); color: var(--primary); font-size: 14px;
    font-weight: 600; margin-bottom: 24px; letter-spacing: .5px;
}
.hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.text-accent { color: var(--primary); }
.hero-desc { font-size: 18px; color: rgba(255,255,255,.7); max-width: 560px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 32px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 14px; color: rgba(255,255,255,.5); font-weight: 500; }

/* === SECTIONS === */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-tag {
    display: inline-block; padding: 6px 16px; border-radius: 50px;
    background: rgba(245,158,11,.1); color: var(--primary-dark); font-size: 13px;
    font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.section-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; color: var(--dark); }
.section-header p { color: var(--gray); font-size: 17px; }

/* === SERVICES === */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--white); padding: 36px 28px; border-radius: var(--radius);
    border: 1px solid var(--border); transition: all .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(245,158,11,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon svg { width: 26px; height: 26px; color: var(--primary-dark); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 15px; line-height: 1.6; }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-image img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); background: var(--light); }
.about-exp-badge {
    position: absolute; bottom: 24px; right: 24px; background: var(--primary); color: var(--dark);
    padding: 20px 24px; border-radius: var(--radius); text-align: center;
}
.exp-num { display: block; font-size: 36px; font-weight: 800; line-height: 1; }
.exp-text { font-size: 13px; font-weight: 600; }
.about-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.about-content p { color: var(--gray); margin-bottom: 16px; font-size: 16px; }
.about-list { margin: 24px 0 32px; }
.about-list li { padding: 8px 0 8px 28px; position: relative; font-weight: 500; font-size: 15px; }
.about-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* === ADVANTAGES === */
.advantages { background: var(--dark); color: var(--white); }
.advantages .section-tag { background: rgba(245,158,11,.2); }
.advantages .section-header h2 { color: var(--white); }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card { padding: 32px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: all .3s; }
.advantage-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.adv-number { font-size: 48px; font-weight: 800; color: var(--primary); opacity: .6; line-height: 1; margin-bottom: 16px; }
.advantage-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.advantage-card p { color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.6; }

/* === PROJECTS === */
.projects { background: var(--light); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: all .3s; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card img { width: 100%; height: 240px; object-fit: cover; background: var(--border); }
.project-info { padding: 20px 24px; }
.project-info h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.project-info p { color: var(--gray); font-size: 14px; }

/* === CTA === */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center; padding: 80px 0;
}
.cta-inner h2 { font-size: 36px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.cta-inner p { font-size: 18px; color: rgba(26,26,46,.7); max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--light); padding: 32px; border-radius: var(--radius);
    border: 1px solid var(--border);
}
.stars { color: var(--primary); font-size: 20px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author strong { display: block; font-size: 15px; color: var(--dark); }
.testimonial-author span { font-size: 13px; color: var(--gray); }

/* === CONTACT === */
.contact { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.contact-info > p { color: var(--gray); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-item p { color: var(--gray); font-size: 14px; margin: 0; }
.contact-item a { color: var(--primary-dark); }
.contact-item a:hover { text-decoration: underline; }

/* === FORM === */
.contact-form-wrap {
    background: var(--white); padding: 40px; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 15px; font-family: inherit; color: var(--dark); background: var(--white);
    transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245,158,11,.1);
}
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* === FOOTER === */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-bottom { margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 13px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services-grid, .testimonials-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .nav.active { display: flex; }
    .menu-toggle { display: block; }
    .header-phone { display: none; }
    .hero { min-height: 80vh; padding: 100px 0 60px; }
    .hero h1 { font-size: 32px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 24px; }
    .services-grid, .testimonials-grid, .projects-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image img { height: 320px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 28px; }
}
