@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root{
  --blue:#1AAEF5;
  --blue-dark:#0D8FD1;
  --blue-bg:#EAF6FE;
  --yellow:#FFD400;
  --text:#111827;
  --muted:#6B7280;
  --border:#E7EAEE;
  --bg-soft:#F7F9FB;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Manrope',-apple-system,BlinkMacSystemFont,sans-serif;
  color:var(--text);
  background:#fff;
}
h1,h2,h3,h4{font-family:'Poppins',sans-serif;margin:0;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
button{font-family:inherit;cursor:pointer;}

.container{max-width:1180px;margin:0 auto;padding:0 24px;}

/* ---------- Header ---------- */
.site-header{
  border-bottom:1px solid var(--border);
  padding:16px 0;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.logo img{height:52px;width:auto;}

.main-nav{display:flex;gap:32px;}
.main-nav a{
  font-size:15px;
  font-weight:600;
  color:var(--muted);
  padding-bottom:6px;
  border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.main-nav a:hover{color:var(--text);}
.main-nav a.active{color:var(--text);border-color:var(--blue);}

.mobile-menu-btn{
  display:none;width:38px;height:38px;border:1px solid var(--border);
  border-radius:8px;background:#fff;align-items:center;justify-content:center;
  flex-shrink:0;cursor:pointer;-webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.mobile-menu-btn svg{width:20px;height:20px;color:var(--text);pointer-events:none;}

.header-right{display:flex;align-items:center;gap:20px;}
.header-contact{display:flex;align-items:center;gap:10px;}
.wa-icon{
  width:38px;height:38px;border-radius:50%;
  background:#25D366;color:#fff;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.wa-icon svg{width:20px;height:20px;}
.header-contact .details p{margin:0;line-height:1.35;}
.header-contact .phone{font-size:15px;font-weight:700;color:var(--text);}
.header-contact .email{font-size:13px;color:var(--muted);}

.lang-switch{position:relative;}
.lang-btn{
  display:flex;align-items:center;gap:4px;
  background:none;border:none;
  font-size:14px;font-weight:700;color:var(--blue);
  letter-spacing:.03em;cursor:pointer;-webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
.lang-btn svg{width:12px;height:12px;pointer-events:none;}
.lang-menu{
  position:absolute;top:calc(100% + 8px);right:0;
  background:#fff;border:1px solid var(--border);border-radius:10px;
  box-shadow:0 8px 24px rgba(17,24,39,.08);
  min-width:110px;padding:6px;
  display:none;z-index:20;
}
.lang-switch.open .lang-menu{display:block;}
.lang-menu a{
  display:block;padding:8px 10px;border-radius:6px;
  font-size:14px;font-weight:600;color:var(--text);
}
.lang-menu a:hover{background:var(--bg-soft);}
.lang-menu a.current{color:var(--blue);}

/* ---------- Hero / registration section ---------- */
.hero-section{padding:48px 0 0;}
.hero-top{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:32px;
  align-items:start;
}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--blue-bg);color:var(--blue-dark);
  font-size:13px;font-weight:700;letter-spacing:.04em;
  padding:8px 16px;border-radius:999px;margin-bottom:22px;
}
.badge svg{width:16px;height:16px;}
.hero-title{font-size:46px;line-height:1.12;font-weight:800;margin-bottom:20px;}
.hero-title .line-blue{color:var(--blue);display:block;}
.hero-title .line-black{color:var(--text);display:block;}
.hero-lead{
  font-size:17px;line-height:1.65;color:var(--muted);
  max-width:520px;margin:0 0 34px;font-family:'Manrope',sans-serif;
}

.features{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.feature-icon{
  width:52px;height:52px;border-radius:50%;
  background:var(--blue-bg);color:var(--blue);
  display:flex;align-items:center;justify-content:center;margin-bottom:14px;
}
.feature-icon svg{width:24px;height:24px;}
.feature h3{font-size:16px;font-weight:700;margin-bottom:6px;}
.feature p{font-size:14px;color:var(--muted);margin:0;line-height:1.5;}

.how-card{
  background:#fff;border:1px solid var(--border);border-radius:18px;
  padding:28px 26px;
}
.how-card h2{color:var(--blue);font-size:20px;font-weight:800;margin-bottom:20px;}
.step{display:flex;gap:16px;position:relative;padding-bottom:24px;}
.step:last-child{padding-bottom:0;}
.step:not(:last-child)::before{
  content:"";position:absolute;left:19px;top:40px;bottom:0;
  border-left:2px dotted var(--border);
}
.step-num{
  flex:0 0 auto;width:40px;height:40px;border-radius:50%;
  background:var(--blue-bg);color:var(--blue-dark);
  font-weight:700;font-size:14px;font-family:'Poppins',sans-serif;
  display:flex;align-items:center;justify-content:center;z-index:1;
}
.step-body h4{font-size:15px;font-weight:700;margin-bottom:4px;}
.step-body p{font-size:14px;color:var(--muted);margin:0;line-height:1.5;}

.request-block{
  margin-top:36px;background:var(--bg-soft);
  border:1px solid var(--border);border-radius:20px;padding:32px;
}
.request-block h2{color:var(--blue);font-size:22px;font-weight:800;margin-bottom:6px;}
.request-block > p{color:var(--muted);font-size:15px;margin:0 0 24px;}

.request-form .form-grid{
  display:grid;grid-template-columns:repeat(4,1fr) auto;
  gap:16px;align-items:end;
}
.quote-form-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:16px 18px;margin-bottom:20px;
}
.field label{display:block;font-size:14px;font-weight:700;margin-bottom:8px;}
.field select,.field input{
  width:100%;height:46px;border:1px solid var(--border);border-radius:10px;
  background:#fff;padding:0 14px;font-size:14px;color:var(--text);
  font-family:'Manrope',sans-serif;
}
.field select:focus,.field input:focus{outline:none;border-color:var(--blue);}
.phone-field{display:flex;gap:8px;}
.phone-field select{flex:0 0 78px;}

.submit-btn{
  height:46px;padding:0 22px;border:none;border-radius:10px;
  background:var(--blue);color:#fff;font-size:15px;font-weight:700;
  white-space:nowrap;transition:background .15s ease;
}
.submit-btn:hover{background:var(--blue-dark);}
.quote-submit-btn{width:100%;height:50px;font-size:16px;}

.form-note{font-size:13px;color:var(--text-danger,#DC2626);margin-top:10px;display:none;}

@media (max-width:760px){
  .quote-form-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:520px){
  .quote-form-grid{grid-template-columns:1fr;}
}

/* ---------- Modals (quote request popup + success popup) ---------- */
.app-modal-overlay{
  position:fixed;inset:0;background:rgba(17,24,39,.55);
  display:flex;align-items:center;justify-content:center;
  padding:20px;z-index:100;
}
.app-modal-overlay[hidden]{display:none;}
.app-modal{
  background:#fff;border-radius:20px;padding:32px;
  max-width:560px;width:100%;max-height:90vh;overflow-y:auto;
  position:relative;box-shadow:0 24px 60px rgba(17,24,39,.25);
}
.app-modal-close{
  position:absolute;top:16px;right:16px;
  width:32px;height:32px;border-radius:50%;border:none;
  background:var(--bg-soft);color:var(--muted);font-size:18px;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.app-modal-close:hover{background:var(--border);color:var(--text);}
.app-modal h2{font-size:20px;font-weight:800;margin-bottom:6px;}
.app-modal > p{color:var(--muted);font-size:14px;margin:0 0 20px;}

.app-modal-icon{
  width:64px;height:64px;border-radius:50%;background:#DCFCE7;color:#16A34A;
  display:flex;align-items:center;justify-content:center;margin:0 auto 18px;
}
.app-modal-icon svg{width:30px;height:30px;}
.app-modal-success{text-align:center;}
.app-modal-success h2{font-size:22px;margin-bottom:8px;}
.app-modal-success > p{margin:0 auto 20px;max-width:400px;}
.app-modal-details{
  background:var(--bg-soft);border:1px solid var(--border);border-radius:14px;
  padding:18px 20px;text-align:left;margin-bottom:22px;
}
.app-modal-details div{
  display:flex;justify-content:space-between;gap:12px;
  padding:7px 0;font-size:14px;border-bottom:1px solid var(--border);
}
.app-modal-details div:last-child{border-bottom:none;}
.app-modal-details span:first-child{color:var(--muted);}
.app-modal-details span:last-child{font-weight:700;color:var(--text);text-align:right;}
.app-modal-success .submit-btn{width:100%;}

.trust-row{
  display:flex;flex-wrap:wrap;gap:24px;margin-top:24px;
  padding-top:20px;border-top:1px solid var(--border);
}
.trust-row span{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text);}
.trust-check{
  width:20px;height:20px;border-radius:50%;border:2px solid var(--blue);
  color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.trust-check svg{width:11px;height:11px;}

/* ---------- Registration process ---------- */
.process-section{padding:56px 0 20px;}
.process-heading{text-align:center;margin-bottom:40px;}
.process-heading h2{font-size:30px;font-weight:800;margin-bottom:10px;}
.process-heading p{color:var(--muted);font-size:15px;max-width:560px;margin:0 auto;}

.process-steps{
  display:flex;align-items:flex-start;justify-content:center;
  gap:10px;flex-wrap:wrap;
}
.process-step{
  position:relative;
  display:flex;flex-direction:column;align-items:center;
  width:220px;text-align:center;
}
.process-card{
  width:220px;height:170px;border-radius:20px;
  background:#fff;border:1px solid var(--border);
  box-shadow:0 12px 28px rgba(17,24,39,.12);
  cursor:pointer;position:relative;overflow:hidden;
  animation:process-bounce 2.6s ease-in-out infinite;
}
.process-step:nth-of-type(2) .process-card{ animation-delay:.15s; }
.process-step:nth-of-type(3) .process-card{ animation-delay:.3s; }
.process-step:nth-of-type(4) .process-card{ animation-delay:.45s; }
.process-step:nth-of-type(5) .process-card{ animation-delay:.6s; }
.process-card:hover{animation-play-state:paused;transform:translateY(-6px);}
.process-card img{width:100%;height:100%;object-fit:cover;}
@keyframes process-bounce{
  0%, 100% { transform:translateY(0); }
  50% { transform:translateY(-8px); }
}
.process-step h4{font-size:15px;font-weight:700;margin-top:14px;line-height:1.35;}

.process-arrow{
  align-self:flex-start;margin-top:70px;color:var(--blue);
  flex:0 0 auto;
}
.process-arrow svg{width:26px;height:26px;}

.process-tooltip{
  display:none;
  position:absolute;bottom:calc(100% + 12px);left:50%;
  transform:translateX(-50%);
  width:250px;background:#fff;border:1px solid var(--border);
  border-radius:12px;box-shadow:0 14px 32px rgba(17,24,39,.16);
  padding:16px;text-align:left;z-index:30;
}
.process-tooltip::after{
  content:"";position:absolute;bottom:-6px;left:50%;transform:translateX(-50%) rotate(45deg);
  width:12px;height:12px;background:#fff;border-right:1px solid var(--border);border-bottom:1px solid var(--border);
}
.process-tooltip p{font-size:13.5px;line-height:1.6;color:var(--text);font-weight:600;margin:0;}
.process-tooltip ul{margin:0;padding-left:18px;}
.process-tooltip li{font-size:13.5px;line-height:1.7;color:var(--text);font-weight:600;}
.process-step:hover .process-tooltip{display:block;}

@media (min-width:1100px){
  .process-section .container{max-width:1300px;}
  .process-step{width:200px;}
  .process-card{width:200px;height:155px;}
  .process-steps{gap:8px;flex-wrap:nowrap;}
  .process-arrow{margin-top:62px;flex:0 0 auto;}
  .process-arrow svg{width:20px;height:20px;}
}

@media (max-width:1100px){
  .process-arrow{display:none;}
  .process-steps{gap:28px;}
}

/* ---------- Services page (grid layout) ---------- */
.services-hero{padding:56px 0 8px;text-align:left;}
.services-hero .badge{margin:0 0 18px;}
.services-hero h1{font-size:36px;font-weight:800;line-height:1.2;margin-bottom:16px;}
.services-hero h1 .line-black{color:var(--text);display:block;}
.services-hero h1 .line-blue{color:var(--blue);display:block;}
.services-hero p{color:var(--muted);font-size:16px;line-height:1.6;max-width:640px;margin:0;}

.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:36px;}
.service-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;
  padding:26px;transition:box-shadow .15s ease, transform .15s ease;
}
.service-card:hover{box-shadow:0 12px 28px rgba(17,24,39,.08);transform:translateY(-2px);}
.service-icon{
  width:48px;height:48px;border-radius:50%;background:var(--blue-bg);color:var(--blue);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
}
.service-icon svg{width:22px;height:22px;}
.service-num{display:block;font-family:'Poppins',sans-serif;font-weight:700;font-size:13px;color:var(--blue);margin-bottom:6px;}
.service-card h3{font-size:16px;font-weight:700;margin-bottom:8px;}
.service-card p{font-size:14px;color:var(--muted);line-height:1.6;margin:0 0 14px;}
.service-link{font-size:14px;font-weight:700;color:var(--blue);}
.service-link:hover{color:var(--blue-dark);}

.services-cta{
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  background:var(--blue-bg);border-radius:18px;padding:28px 32px;margin-top:28px;
}
.services-cta-left{display:flex;align-items:center;gap:18px;}
.services-cta-icon{
  width:52px;height:52px;border-radius:50%;background:#fff;color:var(--blue);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  box-shadow:0 6px 16px rgba(26,174,245,.18);
}
.services-cta-icon svg{width:24px;height:24px;}
.services-cta h3{font-size:18px;font-weight:800;margin-bottom:4px;}
.services-cta p{font-size:14px;color:var(--muted);margin:0;max-width:480px;}
.services-cta-btn{
  flex-shrink:0;height:46px;padding:0 22px;border:none;border-radius:10px;
  background:var(--blue);color:#fff;font-size:14px;font-weight:700;white-space:nowrap;
  display:inline-flex;align-items:center;
}
.services-cta-btn:hover{background:var(--blue-dark);}

.services-trust{
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
  margin-top:36px;padding-top:28px;border-top:1px solid var(--border);
}
.services-trust-item{display:flex;gap:12px;align-items:flex-start;}
.services-trust-icon{
  width:34px;height:34px;border-radius:50%;background:var(--blue-bg);color:var(--blue);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.services-trust-icon svg{width:16px;height:16px;}
.services-trust-item h4{font-size:14px;font-weight:700;margin-bottom:4px;}
.services-trust-item p{font-size:13px;color:var(--muted);margin:0;line-height:1.5;}

@media (max-width:900px){
  .service-grid{grid-template-columns:1fr 1fr;}
  .services-trust{grid-template-columns:1fr 1fr;}
}
@media (max-width:640px){
  .service-grid{grid-template-columns:1fr;}
  .services-trust{grid-template-columns:1fr;}
  .services-cta{flex-direction:column;align-items:flex-start;}
}

/* ---------- Generic page sections (About / Contacts) ---------- */
.page-hero{padding:56px 0 40px;text-align:center;}
.page-hero .badge{margin-left:auto;margin-right:auto;}
.page-hero h1{font-size:38px;font-weight:800;margin-bottom:14px;}
.page-hero p{color:var(--muted);font-size:16px;max-width:620px;margin:0 auto;}

.section{padding:48px 0;}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.info-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;padding:26px;
}
.info-card .feature-icon{margin-bottom:16px;}
.info-card h3{font-size:17px;font-weight:700;margin-bottom:8px;}
.info-card p{font-size:14px;color:var(--muted);line-height:1.6;margin:0;}

.contact-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;
}
.contact-list{display:flex;flex-direction:column;gap:20px;}
.contact-item{display:flex;gap:14px;align-items:flex-start;}
.contact-item h4{font-size:15px;font-weight:700;margin-bottom:4px;}
.contact-item p{font-size:14px;color:var(--muted);margin:0;}

/* ---------- Footer ---------- */
.site-footer{
  border-top:1px solid var(--border);margin-top:60px;
  padding:32px 0;background:var(--bg-soft);
}
.site-footer .container{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:16px;
}
.footer-copy{font-size:13px;color:var(--muted);}
.footer-links{display:flex;gap:20px;}
.footer-links a{font-size:13px;color:var(--muted);font-weight:600;}
.footer-links a:hover{color:var(--blue);}

.footer-credit{
  text-align:center;padding-top:16px;margin-top:16px;
  border-top:1px solid var(--border);
  max-width:1180px;margin-left:auto;margin-right:auto;
  padding-left:24px;padding-right:24px;
}
.footer-credit a{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;color:var(--muted);font-weight:600;
}
.footer-credit a:hover{color:var(--blue);}
.footer-credit svg{width:15px;height:15px;color:#229ED9;flex-shrink:0;}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .hero-top{grid-template-columns:1fr;}
  .mobile-menu-btn{display:flex;}
  .main-nav{
    display:none;
    position:absolute;top:100%;left:0;right:0;
    background:#fff;border-top:1px solid var(--border);
    flex-direction:column;gap:0;padding:8px 24px 16px;
    box-shadow:0 12px 24px rgba(17,24,39,.08);
    z-index:50;
  }
  .site-header{position:relative;}
  .site-header.nav-open .main-nav{display:flex;}
  .main-nav a{padding:12px 0;border-bottom:1px solid var(--border);}
  .main-nav a.active{border-bottom:1px solid var(--border);}
  .card-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .features{grid-template-columns:1fr;}
  .request-form .form-grid{grid-template-columns:1fr;}
  .header-contact .email{display:none;}
  .hero-title{font-size:34px;}
}
