* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Inter,sans-serif; background: radial-gradient(circle at 20% 0%, #24345c 0%, #151f3a 45%, #0f172b 100%); color: #fff; overflow-x: hidden; }

.container { max-width: 1200px; margin: auto; padding: 0 24px }

/* NAVIGAATIO */
header {
position: fixed;
width: 100%;
top: 0;
z-index: 999;
background: rgba(14, 20, 40, .88);
backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(140, 180, 255, .22);
box-shadow: 0 10px 35px rgba(0, 0, 0, .55);
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 18px 0;
}

.logo {
font-family: Montserrat;
font-weight: 800;
font-size: 22px;
letter-spacing: .5px;
}

.logo img {
height: 44px;
width: auto;
display: block;
}

nav a {
color: #fff;
text-decoration: none;
margin-left: 20px;
opacity: .85;
font-weight: 500;
}

nav a:hover { color: #3263DC }

.menu-toggle {
display: none;
position: fixed;
top: 28px;
right: 22px;
width: 34px;
height: 26px;
cursor: pointer;
z-index: 9999;
}

.menu-toggle span {
position: absolute;
left: 0;
width: 100%;
height: 2px;
background: white;
transition: .3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 12px; }
.menu-toggle span:nth-child(3) { bottom: 0; }

@media(max-width:900px) {
.menu-toggle { display: block; }
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 12px; }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 12px; bottom: auto; }

.nav-links {
display: flex;
gap: 28px;
}

@media(max-width:900px) {
.nav-links {
position: fixed;
top: 0;
right: -100%;
height: 100vh;
width: 270px;
background: #070b14;
flex-direction: column;
padding: 120px 30px;
transition: .35s;
box-shadow: -20px 0 60px rgba(0,0,0,.6);
z-index: 9990;
}

.nav-links a {
margin-bottom: 18px;
font-size: 18px;
}

.nav-links.active {
right: 0;
}
}

/* HERO */
.hero {
height: 100vh;
display: flex;
position: relative;
overflow: hidden;
align-items: center;
background: linear-gradient(90deg, #080f20 5%, rgba(6, 10, 22, .86)),
url("/images/hero.webp") center/cover no-repeat;
}

.hero h1 {
font-family: Montserrat;
font-size: 64px;
line-height: 1.15;
margin-bottom: 20px;
background: linear-gradient(90deg,#ffffff,#cfe0ff 40%,#8fb3ff 70%,#ffffff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow:
0 0 15px rgba(43,90,206,.35),
0 0 30px rgba(43,90,206,.15);
animation: heroGlow 6s ease-in-out infinite alternate;
}

@keyframes heroGlow{
0%{filter:brightness(1)}
100%{filter:brightness(1.25)}
}

.hero p{
font-size: 20px;
opacity: .9;
margin-bottom: 30px;
max-width: 520px;
}

.btn {
display: inline-block;
padding: 16px 30px;
border-radius: 10px;
font-weight: 700;
text-decoration: none;
transition: .25s;
position: relative;
overflow: hidden;
}

.btn:after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .25), transparent);
    top: -120%;
    left: -120%;
    transition: .6s;
}

.btn:hover:after {
    top: 100%;
    left: 100%;
}

.primary{
background: linear-gradient(135deg,#2B5ACE,#3b6fff);
color: white;
box-shadow:
0 15px 35px rgba(43,90,206,.45),
inset 0 0 15px rgba(255,255,255,.15);
}

.primary:hover {
transform: translateY(-4px) scale(1.02);
box-shadow:
0 25px 60px rgba(43,90,206,.65),
inset 0 0 20px rgba(255,255,255,.25);
}

.ghost {
border: 1px solid rgba(255,255,255,.25);
margin-left: 12px;
color: white;
}

.ghost:hover {
    background: rgba(43, 90, 206, .12);
    border-color: #2B5ACE;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(43, 90, 206, .25);
}

.trust {
margin-top: 25px;
opacity: .8;
font-size: 14px;
}

.trust li {
    display: inline-block;
    padding: 0 10px 5px 0px
}

@media(max-width:900px){
.hero h1 { font-size: 38px; }
.hero p { font-size: 16px; }
}

/* SECTIONIT */
section { padding: 110px 0 }

h2 {
font-family: Montserrat;
font-size: 42px;
margin-bottom: 15px;
text-align: center;
}

.section-sub {
text-align: center;
opacity: .7;
margin-bottom: 50px;
}

/* PALVELUT SECTION */
.about-premium {
background: linear-gradient(180deg, #141e36, #0b1326);
padding: 120px 0;
border-top: 1px solid rgba(255,255,255,.12);
}

.about-grid {
display: grid;
grid-template-columns: 1.1fr .9fr;
gap: 60px;
align-items: center;
}

.about-left h2 {
font-family: Montserrat;
font-size: 48px;
line-height: 1.1;
margin: 15px 0 20px;
text-align: left;
}

.lead {
font-size: 20px;
opacity: .9;
margin-bottom: 18px;
}

.about-left p {
opacity: .75;
font-size: 17px;
margin-bottom: 14px;
}

.badge {
display: inline-block;
padding: 8px 14px;
background: rgba(43,90,206,.15);
border: 1px solid rgba(43,90,206,.5);
border-radius: 30px;
font-size: 13px;
letter-spacing: .5px;
color: #9ec1ff;
margin-bottom: 10px;
}

.info-box{
background: rgba(255,255,255,.06);
border: 1px solid rgba(255,255,255,.08);
padding: 40px;
border-radius: 18px;
backdrop-filter: blur(12px);
}

.info-box h3{
font-size: 24px;
margin-bottom: 12px;
color: #2B5ACE;
}

.info-box p {
opacity: .8;
margin-bottom: 12px;
}

@media(max-width:900px) {
.about-grid {
grid-template-columns: 1fr;
gap: 40px;
}
.about-left { margin-top: -50px; margin-bottom: 50px; }
.about-left h2 { font-size: 36px }
}

/* WOW SECTION */
.wow {
background: url("/images/hero2.webp") center/cover fixed;
text-align: center;
position: relative;
}

.wow:before {
content: "";
position: absolute;
inset: 0;
background: rgba(0,0,0,.65);
}

.wow .container { position: relative }
.wow h2 { font-size: 48px; margin-bottom: 20px }

/* GALLERIA */
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
gap: 18px;
}

.gallery img {
opacity: 0.8;
width: 100%;
height: 230px;
object-fit: cover;
border-radius: 14px;
transition: .4s;
}

.gallery img:hover {
transform: scale(1.06);
}

@media (max-width: 900px) {
.gallery img:hover {
transform: none;
}
}

/* CONTACT FORM */
.contact-premium {
padding: 100px 0;
background: linear-gradient(180deg, #141e36, #0a1124);
}

.contact-card {
margin-top: 60px;
display: grid;
grid-template-columns: 1fr 1.3fr;
gap: 60px;
position: relative;
overflow: hidden;
background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
border: 1px solid rgba(255,255,255,.12);
border-radius: 26px;
padding: 70px 70px;
backdrop-filter: blur(20px);
box-shadow: 0 40px 120px rgba(0,0,0,.7);
}

.contact-info h3 {
font-size: 32px;
margin-bottom: 25px;
color: #B5B6B9;
}

.contact-info h3 span {
color: #204297;
}

.info-row {
margin-bottom: 16px;
font-size: 20px;
opacity: .95;
}

.info-row a {
    text-decoration: none;
    color: #E8E8EA;
}

.info-row a:hover {
    color: #3263DC;
}

.contact-note {
margin-top: 25px;
opacity: .6;
font-size: 15px;
}

.contact-form {
display: flex;
flex-direction: column;
gap: 18px;
max-width: 520px;
width: 100%;
}

.contact-form input,
.contact-form textarea {
padding: 20px;
border-radius: 12px;
border: 1px solid rgba(255,255,255,.08);
background: rgba(255,255,255,.06);
color: white;
font-size: 17px;
width: 100%;
transition: .25s;
}

.contact-form textarea {
min-height: 140px;
resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
outline: none;
border-color: #2B5ACE;
box-shadow: 0 0 0 1px rgba(43,90,206,.4);
}

.contact-form button {
margin-top: 12px;
font-size: 18px;
padding: 20px;
border-radius: 14px;
width: 170px;
margin-left: auto;
margin-right: auto;
cursor: pointer;
border: none;
}

.contact-card:before {
content: "";
position: absolute;
width: 420px;
height: 420px;
background: radial-gradient(circle, rgba(43,90,206,.35), transparent 70%);
top: -120px;
right: -120px;
filter: blur(80px);
z-index: 0;
}

.contact-card:after {
content: "";
position: absolute;
width: 420px;
height: 420px;
background: radial-gradient(circle, rgba(43,90,206,.25), transparent 70%);
bottom: -140px;
left: -140px;
filter: blur(90px);
z-index: 0;
}

.contact-card > * {
position: relative;
z-index: 1;
}

@media(max-width:900px) {
.contact-card {
grid-template-columns: 1fr;
padding: 40px 25px;
gap: 40px;
}
.contact-form {
max-width: 100%;
}
}

.form-message{
margin-top:15px;
font-weight:600;
font-size:16px;
}


/* KARTTA */
.map-card {
margin-top: 28px;
border-radius: 18px;
overflow: hidden;
border: 1px solid rgba(255,255,255,.12);
box-shadow: 0 25px 70px rgba(0,0,0,.7);
position: relative;
}

.map-card iframe {
width: 100%;
height: 220px;
border: 0;
}

/* FOOTER */
.footer-premium {
padding-top: 80px;
padding-bottom: 40px;
background: linear-gradient(180deg, #0c142b, #070b17);
border-top: 1px solid rgba(255,255,255,.12);
position: relative;
overflow: hidden;
}

.footer-premium:before {
content: "";
position: absolute;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(43,90,206,.15), transparent 70%);
top: -250px;
right: -200px;
filter: blur(120px);
}

.footer-grid {
display: grid;
grid-template-columns: 1.4fr .8fr .8fr;
gap: 80px;
margin-bottom: 60px;
align-items: start;
text-align: left;
}


.footer-logo {
font-family: Montserrat;
font-size: 28px;
font-weight: 800;
margin-bottom: 14px;
transition: .3s;
}

.footer-logo:hover {
text-shadow: 0 0 25px rgba(43,90,206,.6);
}

.footer-logo span { color: #2B5ACE }

.footer-logo a {
    text-decoration: none;
    color: #E3E4E5;
}

.footer-desc {
opacity: .65;
max-width: 420px;
line-height: 1.6;
}

.footer-title {
font-weight: 700;
font-size: 16px;
margin-bottom: 14px;
color: #2B5ACE;
}

.footer-links a {
display: block;
margin-bottom: 8px;
text-decoration: none;
color: white;
opacity: .75;
transition: .2s;
}

.footer-links a:hover {
opacity: 1;
transform: translateX(4px);
}

.footer-contact div {
margin-bottom: 8px;
opacity: .85;
}

.footer-contact div a {
text-decoration: none; 
color: white;
}

.footer-contact div a:hover {
color:#3263DC;
}

.footer-bottom{
padding-top: 25px;
border-top: 1px solid rgba(255,255,255,.08);
text-align: center;
opacity: .5;
font-size: 14px;
}

.footer-bottom span a {
color: #B0427F;
text-decoration: none;
}

.footer-bottom span a:hover {
opacity: 0.8;
}

@media(max-width:900px) {
.footer-grid {
grid-template-columns: 1fr;
gap: 40px;
text-align: left;
}
.footer-desc{ margin: 0 }
}
