@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --brand-dark: #073b6b; /* Темно-синий из логотипа */
    --brand-light: #00b0e5; /* Голубой из логотипа */
    --brand-gradient: linear-gradient(135deg, #073b6b 0%, #00b0e5 100%);
    --bg-color: #f4f7f9;
    --card-bg: #ffffff;
    --text-main: #2d3748;
    --text-muted: #718096;
    --font-main: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--font-main); background-color: var(--bg-color); color: var(--text-main); }
body { line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
a:hover { color: var(--brand-light); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Анимации */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Шапка - Светлая, под логотип */
header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 45px; display: block; }
nav ul { display: flex; gap: 30px; }
nav a { font-weight: 600; font-size: 15px; color: var(--brand-dark); text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s; }
nav a:hover { color: var(--brand-light); }
.header-contact { font-weight: 700; color: var(--brand-dark); }

/* Первый экран - Светлый, технологичный, с фоновым паттерном */
.hero { 
    padding: 120px 0 100px; 
    position: relative; 
    overflow: hidden; 
    background-color: #fcfdfd;
}
/* Абстрактный круглый элемент на фоне (отсылка к кругу в лого) */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--brand-gradient);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { font-size: 52px; line-height: 1.2; margin-bottom: 25px; font-weight: 800; color: var(--brand-dark); }
.hero h1 span { color: var(--brand-light); }
.hero p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; font-weight: 400; max-width: 700px; }
.btn { display: inline-block; background: var(--brand-gradient); color: #fff; padding: 16px 35px; border-radius: 8px; font-weight: 600; font-size: 16px; transition: transform 0.3s, box-shadow 0.3s; border: none; cursor: pointer; box-shadow: 0 10px 20px rgba(0, 176, 229, 0.2); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(0, 176, 229, 0.3); color: #fff; }

/* Триггеры */
.triggers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 80px; position: relative; z-index: 1; }
.trigger-card { 
    background: #fff; 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
    border-top: 4px solid var(--brand-light);
    transition: transform 0.3s ease;
}
.trigger-card:hover { transform: translateY(-5px); }
/* Иконки в стиле логотипа (синие круги) */
.trigger-icon { width: 50px; height: 50px; background: rgba(0, 176, 229, 0.1); color: var(--brand-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 20px; }
.trigger-card h3 { font-size: 18px; margin-bottom: 12px; font-weight: 700; color: var(--brand-dark); }
.trigger-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Общие секции */
section { padding: 100px 0; }
.section-title { font-size: 36px; margin-bottom: 20px; font-weight: 800; color: var(--brand-dark); }
.section-title span { color: var(--brand-light); }
.section-subtitle { font-size: 18px; color: var(--text-muted); max-width: 600px; margin-bottom: 50px; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* О нас - блок с акцентом */
.about { background: #fff; border-radius: 20px; padding: 60px; box-shadow: 0 20px 40px rgba(0,0,0,0.03); display: flex; align-items: center; gap: 50px; }
.about-text { flex: 1; }
.about-text p { font-size: 17px; margin-bottom: 20px; color: var(--text-muted); }
.about-slogan { font-size: 24px; font-weight: 800; background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-top: 30px; }
.about-visual { flex: 1; text-align: center; }
/* Квадратный логотип как плавающий 3D-декоративный элемент */
.about-visual img { width: 100%; max-width: 300px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* Услуги - карточки с синим акцентом */
.services-bg { background-color: var(--brand-dark); color: #fff; }
.services-bg .section-title { color: #fff; }
.services-bg .section-title span { color: var(--brand-light); }
.services-bg .section-subtitle { color: rgba(255,255,255,0.7); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 40px 30px; border-radius: 16px; transition: background 0.3s; }
.service-card:hover { background: rgba(255,255,255,0.1); }
.service-card .icon { font-size: 40px; margin-bottom: 20px; color: var(--brand-light); }
.service-card h3 { font-size: 22px; margin-bottom: 15px; font-weight: 700; }
.service-card p { font-size: 15px; color: rgba(255,255,255,0.7); }

/* Баннер */
.banner { padding: 70px 0; background: var(--brand-light); color: #fff; text-align: center; }
.banner h2 { font-size: 32px; font-weight: 800; margin-bottom: 15px; }
.banner p { font-size: 18px; max-width: 600px; margin: 0 auto; }

/* Контакты */
.contact-wrap { display: flex; gap: 50px; background: #fff; border-radius: 20px; padding: 50px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
.contact-info { flex: 1; }
.contact-info h3 { font-size: 28px; color: var(--brand-dark); margin-bottom: 25px; }
.contact-info p { margin-bottom: 15px; font-size: 16px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.contact-form { flex: 1.5; display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px; border: 1px solid #e2e8f0; border-radius: 8px; font-family: inherit; font-size: 15px; background: #f8fafc; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-light); background: #fff; }

/* Подвал */
footer { background: #042442; color: #a0aec0; padding: 60px 0 30px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 30px; }
.footer-logo img { height: 40px; opacity: 0.8; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: #fff; }

@media(max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about, .contact-wrap { flex-direction: column; padding: 40px 20px; }
    .hero h1 { font-size: 40px; }
    .footer-inner { flex-direction: column; gap: 20px; }
}
@media(max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    nav ul { display: none; }
    .hero { padding: 80px 0; }
}