
:root{
 --navy:#081321;--navy2:#0e1d30;--navy3:#132942;--green:#69b33b;--green2:#8dcc58;
 --text:#10233c;--muted:#667486;--line:#e3e8ee;--bg:#f6f8fa;--white:#fff;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.6;background:#fff}
a{text-decoration:none;color:inherit}.container{width:min(1160px,calc(100% - 36px));margin:auto}
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid #e7ebef}
.nav{height:78px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:11px;margin-right:auto}
.logo{width:43px;height:48px;display:grid;place-items:center;border:3px solid var(--green);color:var(--navy);font-weight:900;clip-path:polygon(50% 0,100% 18%,92% 82%,50% 100%,8% 82%,0 18%)}
.brand b{font-size:18px;letter-spacing:.03em}.brand small{display:block;font-size:9px;color:#647185;letter-spacing:.08em}
nav{display:flex;gap:25px;align-items:center}nav a{font-size:13px;font-weight:700}nav a:hover,nav a.active{color:var(--green)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 21px;border-radius:5px;font-size:13px;font-weight:800;border:1px solid transparent}
.btn-green{background:var(--green);color:#fff}.btn-green:hover{background:#5ca332}.btn-dark{background:var(--navy);color:#fff}.btn-outline{border-color:#b9c3ce;background:#fff}
.menu{display:none;border:0;background:none;font-size:25px}
.hero{background:linear-gradient(115deg,#071522 0%,#0b2035 64%,#14304b 100%);color:#fff;padding:88px 0;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;width:520px;height:520px;border-radius:50%;right:-150px;top:-160px;background:radial-gradient(circle,rgba(105,179,59,.18),transparent 65%)}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:center;position:relative;z-index:1}
.kicker{font-size:11px;letter-spacing:.16em;font-weight:900;color:var(--green2);text-transform:uppercase}
h1{font-size:clamp(43px,5vw,68px);line-height:1.04;letter-spacing:-.04em;margin:14px 0 22px}h1 span{color:var(--green2)}
.lead{font-size:18px;color:#d0d8e2;max-width:720px}.ticks{display:grid;gap:10px;margin:28px 0}.ticks div:before{content:"✓";color:var(--green2);font-weight:900;margin-right:10px}
.actions{display:flex;gap:12px;flex-wrap:wrap}.hero-card{background:#fff;color:var(--text);padding:30px;border-radius:8px;box-shadow:0 24px 70px rgba(0,0,0,.25)}
.hero-card h2{margin:4px 0 8px;font-size:25px}.hero-card p{color:var(--muted);font-size:13px}
.section{padding:86px 0}.gray{background:var(--bg)}.dark{background:var(--navy);color:#fff}
.heading{max-width:760px;margin-bottom:40px}.heading.center{text-align:center;margin-left:auto;margin-right:auto}.heading h2{font-size:clamp(32px,4vw,46px);line-height:1.15;letter-spacing:-.03em;margin:9px 0 14px}.heading p{color:var(--muted)}.dark .heading p{color:#aeb9c5}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);padding:28px;border-radius:7px}.card h3{margin:12px 0 8px}.card p{color:var(--muted);font-size:13px}.card .ico{width:42px;height:42px;border-radius:50%;background:#edf7e8;color:var(--green);display:grid;place-items:center;font-weight:900}.card a{color:#4d9329;font-size:12px;font-weight:800}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.step{background:var(--navy2);padding:27px;border:1px solid #22374d}.step b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--green);margin-bottom:20px}.step p{font-size:12px;color:#b7c1cc}
.content-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px}.content h2{font-size:36px;line-height:1.15}.content h3{margin-top:30px}.content p,.content li{color:#526174}.sidebox{background:var(--bg);border-left:4px solid var(--green);padding:28px;height:max-content}.sidebox h3{margin-top:0}
.faq details{border-top:1px solid var(--line);padding:18px 0}.faq details:last-child{border-bottom:1px solid var(--line)}.faq summary{font-weight:800;cursor:pointer}.faq p{font-size:13px;color:var(--muted)}
.form{display:grid;gap:13px}.form input,.form textarea,.form select{width:100%;padding:13px;border:1px solid #dce2e8;border-radius:4px;font:inherit}.form label{font-size:11px;font-weight:800}.consent{display:flex;gap:8px;align-items:flex-start}.consent input{width:auto;margin-top:5px}
.contact-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:55px}.contact-item{margin:15px 0}.contact-item b{display:block}.contact-item span,.contact-item a{font-size:14px;color:#5b6878}
.cta{background:linear-gradient(110deg,#0b1b2d,#12334d);color:#fff;padding:48px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:35px}.cta h2{margin:0 0 8px;font-size:32px}.cta p{margin:0;color:#bac5d0}
footer{background:#07111d;color:#c3ccd6;padding:50px 0 25px}.footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:50px}.footer-grid h4{color:#fff}.footer-grid a,.footer-grid span{display:block;font-size:12px;margin:8px 0;color:#a9b4c0}.legal{border-top:1px solid #1c2b3b;margin-top:35px;padding-top:20px;font-size:10px;color:#7f8b98;display:flex;justify-content:space-between;gap:30px}.wa{position:fixed;right:20px;bottom:20px;width:55px;height:55px;border-radius:50%;background:#24a866;color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.breadcrumb{font-size:11px;color:#a9b4c0;margin-bottom:15px}.subhero{padding:65px 0}.subhero h1{font-size:52px;max-width:850px}
.notice{padding:16px 18px;background:#f1f7ed;border-left:3px solid var(--green);font-size:13px;margin:25px 0}
@media(max-width:900px){nav{display:none;position:absolute;top:70px;left:18px;right:18px;background:#fff;padding:20px;flex-direction:column;align-items:flex-start;box-shadow:0 10px 35px rgba(0,0,0,.12)}nav.open{display:flex}.menu{display:block}.nav>.btn{display:none}.hero-grid,.content-grid,.contact-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.steps{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr}.cta{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){.cards,.steps{grid-template-columns:1fr}.section{padding:64px 0}.hero{padding:60px 0}.subhero h1,h1{font-size:42px}.legal{flex-direction:column}.brand b{font-size:15px}}


/* FINAL HOMEPAGE */
.wa-top{min-height:52px;line-height:1.2;text-align:left;padding:8px 18px}
.final-hero{
  padding:52px 0 44px;
  background:
    linear-gradient(90deg,rgba(5,18,31,.94) 0%,rgba(6,21,36,.86) 38%,rgba(7,24,40,.58) 67%,rgba(7,24,40,.72) 100%),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Tallinn%20skyline.jpg");
  background-size:cover;background-position:center 48%;
}
.final-hero:after{display:none}
.final-hero .hero-grid{grid-template-columns:1.35fr .85fr;gap:46px}
.final-hero h1{font-size:clamp(46px,4.5vw,66px);margin:12px 0 18px}
.final-hero .lead{font-size:17px;max-width:690px;color:#f0f3f6}
.hero-points{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:32px}
.hero-points div{display:flex;gap:10px;align-items:flex-start;font-size:12px;font-weight:700;line-height:1.45}
.hero-points i{font-style:normal;flex:0 0 28px;width:28px;height:28px;border:2px solid #82cc42;border-radius:50%;display:grid;place-items:center;color:#82cc42;font-size:15px}
.final-form{padding:27px 29px;border-radius:12px}
.final-form h2{font-size:25px;margin-top:5px}.final-form p{margin-top:0}
.form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-submit{width:100%;font-size:12px}
.privacy-note{display:block;text-align:center;color:#667486;font-size:10px}
.services-strip{padding:22px 0 18px;background:#f7f9fb}
.mini-heading{text-align:center;margin-bottom:12px}.mini-heading h2{margin:2px 0;font-size:27px}
.service-five{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.service-card{background:#fff;border:1px solid #e7ebef;border-radius:9px;padding:18px 15px;text-align:center;box-shadow:0 8px 25px rgba(8,19,33,.05);transition:.2s}
.service-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(8,19,33,.09)}
.service-card h3{font-size:15px;line-height:1.25;margin:7px 0}.service-card p{font-size:11px;line-height:1.45;color:#526174;margin:0 0 8px}.service-card b{font-size:11px;color:#4d9329}
.service-icon{font-size:29px;line-height:1;color:#4c9b2b;font-weight:800}
.process-band{background:#f7f9fb;padding:0 0 18px}
.process-band .container{background:linear-gradient(110deg,#08192b,#0d2b46);border-radius:10px;padding:13px 28px 18px;color:#fff}
.process-title{text-align:center}.process-title h2{font-size:25px;margin:0 0 8px}.process-title .kicker{font-size:9px}
.process-four{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.process-step{display:flex;gap:14px;align-items:center;position:relative}
.process-step:not(:last-child):after{content:"›";position:absolute;right:-16px;color:#7bc53e;font-size:35px;font-weight:300}
.process-step strong{flex:0 0 36px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(#83cd49,#4f9f2b);font-size:18px}
.process-step h3{font-size:14px;margin:0 0 3px}.process-step p{font-size:10px;line-height:1.4;color:#d4dce4;margin:0}
.final-footer{grid-template-columns:1.2fr .9fr .9fr}.final-footer p{font-size:11px;max-width:360px;color:#a9b4c0}.final-footer a{line-height:1.35}
.footer-brand{margin-bottom:10px}.wa{font-size:24px}
@media(max-width:1000px){
 .final-hero .hero-grid{grid-template-columns:1fr}
 .hero-points{grid-template-columns:1fr 1fr}
 .service-five{grid-template-columns:1fr 1fr}
 .process-four{grid-template-columns:1fr 1fr}
 .process-step:after{display:none}
}
@media(max-width:600px){
 .hero-points,.service-five,.process-four,.form-two{grid-template-columns:1fr}
 .final-hero{background-position:45% center}
 .final-form{padding:22px 18px}
 .process-band .container{padding:18px}
}


/* MOBILE FIX — footer, horizontal overflow and Safari zoom stability */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
*, *::before, *::after {
  min-width: 0;
}
img, svg {
  max-width: 100%;
  height: auto;
}
.footer, footer,
.final-footer,
.footer-grid,
.legal,
.container {
  max-width: 100%;
}
.footer a,
.footer span,
.footer p,
.legal span {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 820px) {
  .header {
    position: relative;
  }

  .navbar {
    width: 100%;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    white-space: normal;
  }

  .hero,
  .final-hero,
  .services-strip,
  .process-band,
  footer,
  .footer {
    width: 100%;
    overflow-x: hidden;
  }

  .final-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .hero-copy,
  .final-form,
  .hero-card {
    width: 100%;
    max-width: 100%;
  }

  .final-footer,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px;
    width: 100%;
  }

  .final-footer > div,
  .footer-grid > div {
    width: 100%;
    max-width: 100%;
  }

  .legal {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .wa {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: 18px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .navbar {
    height: auto;
    min-height: 86px;
    padding: 12px 0;
  }

  .brand img,
  .logo {
    flex: 0 0 auto;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong {
    font-size: 14px;
    letter-spacing: .01em;
  }

  .brand small {
    font-size: 8px;
  }

  .final-hero {
    padding-top: 44px;
  }

  .final-hero h1 {
    font-size: clamp(42px, 14vw, 58px);
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-points {
    width: 100%;
  }

  .hero-points div {
    width: 100%;
  }

  .service-card,
  .process-step {
    width: 100%;
  }

  .process-step {
    align-items: flex-start;
  }

  .process-band .container {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .footer {
    padding-bottom: 90px;
  }

  .footer .brand {
    width: 100%;
  }

  .final-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .final-footer h4 {
    margin-top: 0;
  }

  .legal {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    padding-bottom: 8px;
  }
}


/* WhatsApp icon + footer logo correction */
.wa-icon{
  width:20px;
  height:20px;
  display:inline-block;
  vertical-align:middle;
  flex:0 0 auto;
}
.btn .wa-icon{margin-right:6px}
.wa .wa-icon{
  width:27px;
  height:27px;
  margin:0;
}

/* Footer inherited span rules previously distorted the FL shield. */
.footer .brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer .brand .logo,
footer .brand .logo{
  display:grid !important;
  place-items:center !important;
  width:43px !important;
  height:48px !important;
  min-width:43px !important;
  margin:0 !important;
  padding:0 !important;
  color:#dfe8ef !important;
  font-size:14px !important;
  line-height:1 !important;
  font-weight:900 !important;
}
.footer .brand > span:not(.logo),
footer .brand > span:not(.logo){
  display:block;
  margin:0 !important;
}
.footer .brand strong,
.footer .brand small{
  margin:0 !important;
}
