*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
background:#fff;
color:#1f2937;
font-family: Arial, sans-serif;
line-height:1.75;
}

/* LINKS (FIX 1) */
a{
color:#153B52;
text-decoration:none;
transition:0.2s ease;
}

a:hover{
text-decoration:none;
opacity:0.7;
}

.section-image{
max-height:280px;
object-fit:cover;
border-radius:6px;
min-width: 100%;
margin-bottom:20px;
margin-top: 20px;
}

/* PAGE */
.page{
max-width:1200px;
margin:0 auto;
padding:40px 20px;
display:flex;
gap:60px;
align-items:flex-start;
}

/* MAIN */
.main{
flex:1;
}

/* HERO */
.hero{
margin-bottom:40px;
}

h1{
font-size:3rem;
margin-bottom:15px;
color:#153B52;
}

h2{
font-size:1.7rem;
margin:40px 0 15px;
color:#153B52;
}

p{
margin-bottom:15px;
}

/* BUTTON */
.btn{
display:inline-block;
padding:13px 20px;
background:#153B52;
color:#fff;
border-radius:6px;
margin-top:15px;
}

.btn:hover{
background:#0f2f44;
}

/* LIST */
ul{
margin-left:20px;
margin-bottom:20px;
}

li{
margin-bottom:8px;
}

/* SIDEBAR (FIX 2) */
.sidebar{
width:320px;
border-left: 1px solid #e5e5e5;
height: stretch;
}

.box{
position:sticky;
top:30px;
padding-left:20px;
}

.box h3{
margin-top:20px;
color:#153B52;
}

/* DIVIDER */
.divider{
height:1px;
background:#e5e5e5;
margin:20px 0;
}



/* CONTACT FORM (FIX 3 + 4) */
.contact{
margin: 0 auto;
padding: 30px 20px;
max-width: 1200px;
border-top:1px solid #e5e5e5;
}

.wrap{
max-width:1200px;
margin:0 auto;
}

form{
display:grid;
gap:12px;
margin-top:20px;
}

input, textarea{
padding:12px;
border:1px solid #ddd;
border-radius:6px;
transition: 350ms ease;
}

form input:hover, form
form textarea:hover{
border: 1px solid #153B52;
}

form input:focus,
form textarea:focus {
outline: none;
border: 1px solid #153B52;
}

textarea{
min-height:140px;
resize: vertical;
}

form button{
background:#153B52;
color:#fff;
padding:13px;
border:none;
border-radius:6px;
cursor:pointer;
font-size: 15px;
transition: 350ms ease;
}

form button:hover {
background: #0f2f44;
opacity: 0.7;
}

#formStatus{
margin-top:12px;
font-size:15px;
font-weight:500;
display:none;
}

#formStatus.success{
display:block;
color:#1b7f3b;
}

#formStatus.error{
display:block;
color:#b42318;
}

button:disabled{
opacity:0.7;
cursor:not-allowed;
}

.checkbox-row{
display:flex;
align-items:flex-start;
gap:10px;
margin-top:5px;
margin-bottom:5px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #153B52;
  cursor: pointer;
}

.checkbox-row label{
margin:0;
cursor:pointer;
}

.policy-link {
text-underline-offset: 3px;
text-decoration: 1px solid underline;
}

.policy-link:hover {
color: #153B52;
text-underline-offset: 3px;
text-decoration: 1px solid underline;
text-decoration-color: #153B52;
opacity: 0.7;
}

/* FOOTER */
footer{
text-align:center;
padding:30px 0;
border-top:1px solid #e5e5e5;
margin-top:40px;
color:#666;
}

/* RESPONSIVE */
@media(max-width:900px){
.page{
flex-direction:column;
}

.sidebar{
width:100%;
}

.box{
position:relative;
border-left:none;
padding-left:0;
border-top:2px solid #e5e5e5;
padding-top:20px;
}
}

/* =========================
   TABLET (iPad fix)
========================= */
@media (max-width: 1024px) {

.page {
gap: 30px;
padding: 25px 20px;
}

.sidebar {
width: 260px;
}

h1 {
font-size: 2.4rem;
}

h2 {
font-size: 1.5rem;
}

.section-image {
max-height: 240px;
}

}

/* =========================
   MOBILE FIX (RENGJORD VERSION)
========================= */
@media (max-width: 900px) {

/* GLOBAL LAYOUT */
.page {
flex-direction: column;
padding: 16px;
gap: 20px;
}

/* fixar ALL kant-ojämnhet */
.main,
.sidebar,
.contact,
.wrap {
width: 100%;
max-width: 100%;
}

/* TYPOGRAPHY */
h1 {
font-size: 1.9rem;
line-height: 1.2;
letter-spacing: -0.3px;
}

h2 {
font-size: 1.4rem;
margin-top: 25px;
}

p, li {
font-size: 1rem;
line-height: 1.6;
}

/* HERO */
.hero {
margin-bottom: 22px;
}

/* BUTTON */
.btn {
width: 100%;
display: block;
text-align: center;
}

/* IMAGE FIX (hindrar “höger kant touch”) */
.section-image {
width: 100%;
display: block;
margin: 18px 0;
border-radius: 6px;
}

/* SIDEBAR */
.sidebar {
border-left: none;
border-top: 1px solid #e5e5e5;
padding-bottom: 0px;
margin-top: 0px;
}

.box {
position: relative;
padding-bottom: 30px;
padding-top: 0px;
margin: 0;
border-bottom: 1px solid #e5e5e5;
border-top: none;
}

.box h3 {
font-size: 1.2rem;
margin-top: 10px;
}

.box h3:first-child {
font-size: 1.4rem;
}

.box p {
font-size: 1rem;
}

/* DIVIDER bort på mobil */
.divider {
display: none;
}

/* CONTACT FIX */
.contact {
padding: 20px 16px;
border-top: none;
box-sizing: border-box;
}
	
.wrap {
padding: 0;
}

/* FORM */
form {
width: 100%;
display: grid;
gap: 12px;
}

input, textarea {
width: 100%;
font-size: 16px;
box-sizing: border-box;
}

/* extra polish */
button {
width: 100%;
}

}