:root{
  --bg:#f6f8fc;
  --white:#ffffff;
  --text:#08152d;
  --muted:#5f6b84;
  --line:#dce5f2;
  --blue:#1976ff;
  --blue-dark:#0d47b8;
  --red:#ff223b;
  --red-dark:#d3122b;
  --shadow:0 18px 45px rgba(10, 26, 55, 0.10);
  --shadow-soft:0 10px 24px rgba(10, 26, 55, 0.07);
  --radius:24px;
  --max:1220px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter', Arial, sans-serif;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 45%,#f2f6fb 100%);
  color:var(--text);
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

.container{
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(255,255,255,0.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(220,229,242,0.9);
}
.header-inner{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand-logo{
  height:58px;
  width:auto;
}
.brand-text{
  font-weight:900;
  letter-spacing:.06em;
  font-size:1.2rem;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:28px;
}
.main-nav a{
  font-weight:700;
  color:#25324c;
  position:relative;
}
.main-nav a.active,
.main-nav a:hover{
  color:var(--red);
}
.main-nav a.active::after,
.main-nav a:hover::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-8px;
  height:3px;
  border-radius:999px;
  background:var(--red);
}
.header-right{
  display:flex;
  align-items:center;
  gap:14px;
}
.lang-switch{
  display:flex;
  gap:10px;
  font-weight:800;
  color:var(--muted);
}
.lang-switch a.active,
.lang-switch a:hover{
  color:var(--text);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 22px;
  border-radius:16px;
  font-weight:800;
  transition:.2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--red),#ff5066);
  box-shadow:0 16px 34px rgba(255,34,59,.24);
  position:relative;
  overflow:hidden;
}
.btn-primary::after{
  content:"";
  position:absolute;
  top:0;
  left:-35%;
  width:35%;
  height:100%;
  background:linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,.35),
    rgba(255,255,255,0)
  );
  transform:translateX(-140%);
}
.btn-primary:hover::after{
  animation:shineSweep .8s ease;
}
.btn-outline{
  color:var(--blue-dark);
  border:1.5px solid rgba(25,118,255,.35);
  background:#fff;
  box-shadow:var(--shadow-soft);
}

.hero{
  padding:54px 0 34px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:28px;
  align-items:center;
}
.hero-label{
  color:var(--blue);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:800;
  font-size:.9rem;
  margin-bottom:18px;
}
.hero h1{
  margin:0 0 18px;
  font-size:clamp(2.8rem,6vw,5.2rem);
  line-height:.95;
  letter-spacing:-.05em;
  font-weight:900;
}
.hero h1 .accent-red{color:var(--red)}
.hero p{
  margin:0 0 24px;
  font-size:1.2rem;
  line-height:1.7;
  color:#24324d;
  max-width:660px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:24px;
}
.hero-meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-weight:700;
}
.hero-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--blue);
  box-shadow:0 0 0 6px rgba(25,118,255,.10);
}

.hero-visual{
  position:relative;
  min-height:560px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-visual::before{
  content:"";
  position:absolute;
  inset:10% 0 0 0;
  background:
    radial-gradient(circle at 35% 50%, rgba(25,118,255,.17), transparent 30%),
    radial-gradient(circle at 70% 50%, rgba(255,34,59,.15), transparent 30%);
  filter:blur(20px);
}
.hero-glow-logo{
  position:relative;
  z-index:2;
  width:min(100%,560px);
  filter:drop-shadow(0 26px 38px rgba(12,38,97,.16));
  animation:floatSoft 5s ease-in-out infinite;
}
.hero-lines-left,
.hero-lines-right{
  position:absolute;
  top:50%;
  width:38%;
  height:10px;
  border-radius:999px;
  transform:translateY(-50%);
  animation:pulseGlow 3.4s ease-in-out infinite;
}
.hero-lines-left{
  left:0;
  background:linear-gradient(90deg, rgba(25,118,255,0), rgba(25,118,255,0.95) 60%, rgba(25,118,255,0.2));
  box-shadow:0 0 35px rgba(25,118,255,.28);
}
.hero-lines-right{
  right:0;
  background:linear-gradient(270deg, rgba(255,34,59,0), rgba(255,34,59,0.95) 60%, rgba(255,34,59,0.2));
  box-shadow:0 0 35px rgba(255,34,59,.24);
}

.hero-label,
.hero h1,
.hero p,
.hero-actions,
.hero-meta{
  opacity:0;
  animation:fadeUpSoft .8s ease forwards;
}
.hero-label{animation-delay:.05s}
.hero h1{animation-delay:.12s}
.hero p{animation-delay:.22s}
.hero-actions{animation-delay:.32s}
.hero-meta{animation-delay:.42s}

.section{
  padding:30px 0;
  animation:fadeUpSoft .7s ease both;
}
.section-label{
  color:var(--blue);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:800;
  font-size:.9rem;
  margin-bottom:12px;
}
.section-title{
  margin:0;
  font-size:clamp(2rem,4vw,3.3rem);
  line-height:1.02;
  letter-spacing:-.04em;
  font-weight:900;
}
.section-title .accent-red{color:var(--red)}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:24px;
}

.service-card{
  background:rgba(255,255,255,.82);
  border:2px solid rgba(25,118,255,.22);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 42px rgba(9,24,51,.12);
}
.service-card.red{
  border-color:rgba(255,34,59,.28);
}
.service-icon{
  font-size:2rem;
  margin-bottom:14px;
}
.service-card h3{
  margin:0 0 10px;
  font-size:1.6rem;
  letter-spacing:-.03em;
}
.service-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

@media (max-width: 1280px){
  .projects-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

.projects-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
}
.view-all{
  color:var(--blue);
  font-weight:800;
}

.projects-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:24px;
}

.project-card{
  position:relative;
  background:linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,254,0.98));
  border-radius:30px;
  overflow:hidden;
  border:1px solid #e2e9f4;
  box-shadow:0 18px 40px rgba(9,24,51,.08);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.project-card:hover{
  transform:translateY(-8px);
  box-shadow:0 28px 60px rgba(9,24,51,.14);
  border-color:rgba(25,118,255,.28);
}
.project-card::before{
  content:"";
  position:absolute;
  top:0;
  left:-30%;
  width:30%;
  height:100%;
  background:linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.45) 50%,
    rgba(255,255,255,0) 100%
  );
  transform:translateX(-140%);
  z-index:3;
  pointer-events:none;
}
.project-card:hover::before{
  animation:shineSweep .9s ease;
}
.project-card::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:4px;
  background:linear-gradient(90deg, var(--blue), var(--red));
  opacity:0;
  transition:opacity .25s ease;
}
.project-card:hover::after{
  opacity:1;
}

.project-cover{
  aspect-ratio:1.45 / .82;
  background:linear-gradient(135deg,#08152b 0%, #0d2a63 55%, #1f0d28 100%);
  position:relative;
  overflow:hidden;
}
.project-cover::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(25,118,255,.24), transparent 28%),
    radial-gradient(circle at 80% 25%, rgba(255,34,59,.20), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,.04), transparent 35%);
  z-index:1;
  pointer-events:none;
}
.project-cover img{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}
.project-card:hover .project-cover img{
  transform:scale(1.05);
}

.project-body{
  padding:22px 22px 20px;
}
.project-tag{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(25,118,255,.10);
  color:var(--blue);
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.project-body h3{
  margin:14px 0 10px;
  font-size:1.6rem;
  line-height:1.14;
  letter-spacing:-.03em;
}
.project-body p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.72;
  font-size:1rem;
}
.project-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--red);
  font-weight:800;
  transition:transform .2s ease, color .2s ease;
}
.project-card:hover .project-link{
  transform:translateX(4px);
}
.project-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.project-chips span{
  background:#edf2fa;
  color:#33415d;
  border-radius:999px;
  padding:8px 12px;
  font-size:.84rem;
  font-weight:700;
  transition:background .2s ease, color .2s ease;
}
.project-card:hover .project-chips span{
  background:#e9f1ff;
  color:#18335f;
}

.cta-section{
  padding:38px 0 74px;
  animation:fadeUpSoft .7s ease both;
}
.cta-box{
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,254,.95));
  border:2px solid rgba(25,118,255,.18);
  border-radius:32px;
  box-shadow:var(--shadow);
  text-align:center;
  padding:42px 24px;
}
.cta-box h2{
  margin:0 0 12px;
  font-size:clamp(2rem,4vw,3rem);
  letter-spacing:-.04em;
}
.cta-box p{
  margin:0 0 22px;
  color:var(--muted);
  font-size:1.08rem;
}

.site-footer{
  background:#eff4fa;
  border-top:1px solid #dce5f2;
  padding:34px 0 44px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr .8fr .8fr;
  gap:24px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:12px;
}
.footer-logo{
  height:52px;
  width:auto;
}
.footer-copy{
  color:var(--muted);
  line-height:1.8;
  margin:0;
}
.site-footer h4{
  margin:0 0 10px;
  font-size:1rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-links li{
  margin-bottom:6px;
}
.footer-links a{
  color:var(--muted);
}

@media (max-width: 1100px){
  .main-nav{display:none}
  .hero-grid,
  .services-grid,
  .projects-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .hero-visual{
    min-height:420px;
  }
  .projects-head{
    flex-direction:column;
    align-items:start;
  }
}

@media (max-width: 720px){
  .brand-text{display:none}
  .header-inner{
    min-height:74px;
  }
  .brand-logo{
    height:50px;
  }
  .lang-switch{
    display:none;
  }
  .hero{
    padding-top:28px;
  }
  .hero p{
    font-size:1.02rem;
  }
  .hero-visual{
    min-height:300px;
  }
  .btn{
    width:100%;
  }
  .hero-actions{
    flex-direction:column;
  }
}

@keyframes fadeUpSoft{
  from{
    opacity:0;
    transform:translateY(18px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes pulseGlow{
  0%,100%{
    opacity:.55;
    transform:translateY(-50%) scale(1);
  }
  50%{
    opacity:.9;
    transform:translateY(-50%) scale(1.04);
  }
}

@keyframes floatSoft{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-8px);
  }
}

@keyframes shineSweep{
  0%{
    transform:translateX(-140%);
  }
  100%{
    transform:translateX(160%);
  }
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}
.contact-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
  align-items:start;
}

.contact-card,
.contact-side-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,254,0.98));
  border:1px solid #e2e9f4;
  border-radius:30px;
  box-shadow:0 18px 40px rgba(9,24,51,.08);
}

.contact-card{
  padding:30px;
}

.contact-side{
  display:grid;
  gap:20px;
}

.contact-side-card{
  padding:24px;
}

.contact-side-card.accent{
  border-color:rgba(25,118,255,.20);
}

.contact-intro{
  color:var(--muted);
  margin:10px 0 22px;
  line-height:1.7;
}

.contact-form{
  display:grid;
  gap:18px;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.form-field{
  display:grid;
  gap:8px;
}

.form-field label{
  font-weight:800;
  color:#1f2d47;
}

.form-field input,
.form-field select,
.form-field textarea{
  width:100%;
  border:1px solid #d9e4f2;
  border-radius:16px;
  padding:15px 16px;
  font:inherit;
  color:var(--text);
  background:#fff;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color:rgba(25,118,255,.55);
  box-shadow:0 0 0 4px rgba(25,118,255,.10);
}

.form-field textarea{
  resize:vertical;
  min-height:150px;
}

.contact-form-actions{
  padding-top:6px;
}

.contact-alert{
  padding:14px 16px;
  border-radius:16px;
  font-weight:700;
  margin-bottom:18px;
}

.contact-alert.success{
  background:#edf8f0;
  color:#1f6b36;
  border:1px solid #cfe9d7;
}

.contact-points{
  display:grid;
  gap:16px;
  margin-top:18px;
}

.contact-point{
  display:grid;
  gap:4px;
}

.contact-point strong{
  font-size:.84rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--blue);
}

.contact-point span{
  color:var(--text);
  line-height:1.6;
}

.contact-steps{
  display:grid;
  gap:14px;
  margin-top:18px;
}

.contact-step{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:14px;
  align-items:start;
}

.contact-step span{
  width:52px;
  height:52px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(25,118,255,.14), rgba(255,34,59,.10));
  color:var(--blue-dark);
  font-weight:900;
}

.contact-step p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

@media (max-width: 1100px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 720px){
  .form-row{
    grid-template-columns:1fr;
  }
  .contact-card,
  .contact-side-card{
    border-radius:24px;
  }
}
.contact-alert.error{
  background:#fff0f2;
  color:#a0142a;
  border:1px solid #f3c7cf;
}
.hero-metrics{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:18px;
}

.metric{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(255,255,255,0.9);
  border:1px solid #e2e9f4;
  font-size:.85rem;
  font-weight:700;
  color:#1f2d47;
  box-shadow:0 8px 20px rgba(9,24,51,.06);
}

.metric span{
  font-size:1rem;
}

@media (max-width: 900px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  .hero-visual{
    order:2;
  }

  .projects-grid{
    grid-template-columns:1fr;
  }

  .services-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 720px){

  .container{
    width:min(calc(100% - 20px), var(--max));
  }

  .hero{
    padding:22px 0 24px;
  }

  .hero-grid{
    gap:18px;
  }

  .hero-label{
    font-size:.78rem;
    letter-spacing:.14em;
    margin-bottom:12px;
  }

  .hero h1{
    font-size:2.35rem;
    line-height:.96;
    margin-bottom:14px;
  }

  .hero p{
    font-size:.98rem;
    line-height:1.65;
    margin-bottom:18px;
  }

  .hero-meta{
    gap:8px;
    font-size:.92rem;
  }

  .hero-metrics{
    gap:10px;
    margin-top:14px;
  }

  .metric{
    width:100%;
    justify-content:flex-start;
    padding:11px 13px;
    border-radius:14px;
    font-size:.84rem;
  }

  .hero-visual{
    min-height:240px;
    margin-top:4px;
  }

  .hero-glow-logo{
    width:min(100%, 320px);
  }

  .hero-lines-left,
  .hero-lines-right{
    width:28%;
    height:8px;
  }

  .section{
    padding:22px 0;
  }

  .section-label{
    font-size:.78rem;
    margin-bottom:10px;
  }

  .section-title{
    font-size:1.9rem;
    line-height:1.04;
  }

  .services-grid,
  .projects-grid,
  .footer-grid,
  .contact-grid{
    grid-template-columns:1fr !important;
    gap:16px;
  }

  .service-card,
  .project-card,
  .contact-card,
  .contact-side-card,
  .cta-box{
    border-radius:22px;
  }

  .service-card{
    padding:22px 18px;
  }

  .service-card h3{
    font-size:1.32rem;
    margin-bottom:8px;
  }

  .service-card p{
    font-size:.97rem;
    line-height:1.65;
  }

  .projects-head{
    gap:12px;
  }

  .project-cover{
    aspect-ratio:1.35 / .92;
  }

  .project-body{
    padding:18px 18px 16px;
  }

  .project-body h3{
    font-size:1.32rem;
    line-height:1.16;
    margin:12px 0 8px;
  }

  .project-body p{
    font-size:.95rem;
    line-height:1.65;
    margin-bottom:14px;
  }

  .project-tag{
    font-size:.72rem;
    min-height:28px;
  }

  .project-chips{
    gap:8px;
    margin-top:14px;
  }

  .project-chips span{
    font-size:.78rem;
    padding:7px 10px;
  }

  .btn{
    width:100%;
    min-height:52px;
    padding:0 18px;
    border-radius:15px;
  }

  .hero-actions,
  .contact-form-actions{
    display:flex;
    flex-direction:column;
    gap:12px;
  }

  .cta-section{
    padding:26px 0 40px;
  }

  .cta-box{
    padding:28px 18px;
  }

  .cta-box h2{
    font-size:1.75rem;
    line-height:1.08;
  }

  .cta-box p{
    font-size:.98rem;
    line-height:1.6;
  }

  .site-footer{
    padding:28px 0 28px;
  }

  .footer-brand{
    align-items:flex-start;
  }

  .footer-copy,
  .footer-links a{
    font-size:.95rem;
  }

  .form-row{
    grid-template-columns:1fr;
    gap:14px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea{
    border-radius:14px;
    padding:14px 14px;
    font-size:16px;
  }

  .site-header{
    backdrop-filter:blur(10px);
  }

  .header-inner{
    min-height:68px;
    gap:12px;
  }

  .brand-logo{
    height:44px;
  }

  .header-right{
    gap:10px;
  }
}
.integrations-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.integration{
  padding:10px 14px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(25,118,255,.12), rgba(255,34,59,.10));
  border:1px solid rgba(25,118,255,.25);
  font-weight:800;
  font-size:.85rem;
  color:#1f2d47;
  box-shadow:0 8px 20px rgba(9,24,51,.06);
}