/* =========================
   Theme: Umeå Electronics Repair
   Colors:
   #93BAF3 (accent)
   #26303C (dark)
   #EAF3FB (bg)
   #546682 (slate)
   #7185A5 (steel)
   #6C7484 (muted)
   ========================= */

:root{
  --accent: #93BAF3;
  --dark: #26303C;
  --bg: #EAF3FB;
  --slate: #546682;
  --steel: #7185A5;
  --muted: #6C7484;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(38, 48, 60, 0.12);
  --shadow-soft: 0 8px 18px rgba(38, 48, 60, 0.10);
  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--dark);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus{
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: white;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 9999;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(234, 243, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(38, 48, 60, 0.08);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.logo{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #cfe2fb);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.logo:after{
  content:"";
  position:absolute;
  inset: 10px;
  border-radius: 10px;
  border: 2px solid rgba(38, 48, 60, 0.25);
}

.navlinks{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.navlinks a{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--slate);
  font-weight: 650;
}
.navlinks a:hover{
  background: rgba(147, 186, 243, 0.20);
  color: var(--dark);
}
.navlinks a.active{
  background: rgba(38, 48, 60, 0.08);
  color: var(--dark);
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
  user-select: none;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--dark);
  color: white;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ box-shadow: var(--shadow); }
.btn-accent{
  background: var(--accent);
  color: var(--dark);
  border-color: rgba(38, 48, 60, 0.12);
}
.btn-accent:hover{
  background: #a9caf6;
}
.btn-ghost{
  background: transparent;
  border-color: rgba(38, 48, 60, 0.18);
  color: var(--dark);
}
.btn-ghost:hover{
  background: rgba(38, 48, 60, 0.06);
}

/* Hero */
.hero{
  padding: 46px 0 24px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero-card{
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  border: 1px solid rgba(38, 48, 60, 0.08);
}
.kicker{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  color: var(--slate);
  background: rgba(147, 186, 243, 0.25);
  padding: 8px 12px;
  border-radius: 999px;
}
.kicker .dot{
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 999px;
  border: 2px solid rgba(38, 48, 60, 0.15);
}
h1{
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.6px;
}
.lead{
  margin: 0 0 18px;
  color: var(--slate);
  font-size: 1.05rem;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.stat-panel{
  display: grid;
  gap: 12px;
}
.stat{
  background: linear-gradient(180deg, white, rgba(234, 243, 251, 0.55));
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid rgba(38, 48, 60, 0.08);
  box-shadow: var(--shadow-soft);
}
.stat b{
  display: block;
  font-size: 1.2rem;
}
.stat span{
  color: var(--muted);
  font-weight: 650;
}

/* Sections */
.section{
  padding: 22px 0 40px;
}
.section-title{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.section-title h2{
  margin: 0;
  font-size: 1.4rem;
}
.section-title p{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

/* Cards grid */
.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}
.card{
  background: white;
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid rgba(38, 48, 60, 0.08);
  box-shadow: var(--shadow-soft);
}
.card h3{
  margin: 0 0 8px;
}
.card p{
  margin: 0;
  color: var(--slate);
}
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(38, 48, 60, 0.06);
  color: var(--dark);
  font-weight: 750;
  margin-bottom: 10px;
}
.badge .mini{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--steel);
}

/* Forms */
.form-wrap{
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(38, 48, 60, 0.08);
  box-shadow: var(--shadow);
}
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 820px){
  .form-grid{ grid-template-columns: 1fr; }
}
label{
  display: block;
  font-weight: 750;
  margin-bottom: 6px;
}
input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(38, 48, 60, 0.18);
  background: rgba(234, 243, 251, 0.35);
  outline: none;
  font-size: 1rem;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(147, 186, 243, 0.9);
  box-shadow: 0 0 0 4px rgba(147, 186, 243, 0.35);
  background: white;
}
textarea{ min-height: 120px; resize: vertical; }

.form-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  align-items:center;
}
.small{
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Footer */
footer{
  padding: 24px 0 34px;
  color: var(--slate);
}
.footer-card{
  background: rgba(38, 48, 60, 0.05);
  border: 1px solid rgba(38, 48, 60, 0.08);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}
@media (max-width: 900px){
  .footer-card{ grid-template-columns: 1fr; }
}
.footer-card b{ color: var(--dark); }
.footer-links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a{
  padding: 8px 10px;
  border-radius: 10px;
}
.footer-links a:hover{
  background: rgba(147, 186, 243, 0.20);
}

/* Page header */
.pagehead{
  padding: 30px 0 8px;
}
.pagehead h1{
  margin: 0 0 8px;
}
.pagehead p{
  margin: 0;
  color: var(--slate);
  font-weight: 600;
}

/* ===== Visual polish: abstract shapes + accents ===== */

.bg-decor{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.shape{
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.9;
  border: 1px solid rgba(38, 48, 60, 0.10);
  box-shadow: 0 14px 40px rgba(38, 48, 60, 0.10);
}

.shape.s1{
  width: 320px; height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(147,186,243,0.9), rgba(147,186,243,0.10));
  top: -120px; left: -120px;
}
.shape.s2{
  width: 260px; height: 260px;
  background: radial-gradient(circle at 70% 30%, rgba(113,133,165,0.65), rgba(113,133,165,0.10));
  bottom: -120px; right: -120px;
}
.shape.s3{
  width: 180px; height: 180px;
  background: radial-gradient(circle at 50% 40%, rgba(84,102,130,0.45), rgba(84,102,130,0.06));
  top: 40px; right: 18%;
}

.hero{
  position: relative;
}
.hero .container{
  position: relative;
  z-index: 1;
}

/* Add a subtle grid pattern */
.pattern-grid{
  position:absolute;
  inset:-40px;
  background-image:
    linear-gradient(to right, rgba(38,48,60,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(38,48,60,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.22;
  mask-image: radial-gradient(circle at 30% 30%, black 0%, transparent 65%);
}

/* Illustration card */
.illus-card{
  position: relative;
  overflow: hidden;
}
.illus{
  width: 100%;
  height: 220px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(147,186,243,0.35), rgba(234,243,251,0.65));
  border: 1px solid rgba(38,48,60,0.10);
  display: grid;
  place-items: center;
}
.illus svg{
  width: min(380px, 100%);
  height: auto;
}

/* Accent section for “Så fungerar det” */
.section-accent{
  background: linear-gradient(180deg, rgba(147,186,243,0.38), rgba(234,243,251,0.2));
  border-top: 1px solid rgba(38,48,60,0.08);
  border-bottom: 1px solid rgba(38,48,60,0.08);
}
.section-accent .card{
  background: rgba(255,255,255,0.92);
  border-color: rgba(38,48,60,0.10);
}
.section-accent .badge{
  background: rgba(147,186,243,0.28);
}

/* Make “steps” pop more */
.step-num{
  width: 34px; height: 34px;
  border-radius: 12px;
  background: var(--dark);
  color: white;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  margin-right: 10px;
}
.step-title{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Small icon chips */
.icon-chip{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(38,48,60,0.06);
  border: 1px solid rgba(38,48,60,0.08);
  color: var(--dark);
  font-weight: 750;
}
.icon{
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

.card{
  position: relative;
}
.card:before{
  content:"";
  position:absolute;
  inset: 10px;
  border-radius: calc(var(--radius) - 10px);
  background: radial-gradient(circle at 10% 10%, rgba(147,186,243,0.22), transparent 40%);
  pointer-events:none;
}

/* ===== Minimal home (Odoo-lik) ===== */

.hero-min{
  padding: 54px 0 28px;
  position: relative;
}
.hero-min-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
}
@media (max-width: 900px){
  .hero-min-inner{ grid-template-columns: 1fr; }
  .hero-mini-illus{ order: -1; }
}
.lead-min{
  max-width: 50ch;
  margin-bottom: 16px;
}
.hero-mini-illus{
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(38,48,60,0.08);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.section-min{
  padding-top: 18px;
}
.h2-min{
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.feature-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 900px){
  .feature-row{ grid-template-columns: 1fr; }
}
.feature{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(38,48,60,0.08);
}
.feature b{ display:block; }
.feature span{
  display:block;
  color: var(--slate);
  font-weight: 650;
  font-size: 0.98rem;
}
.feature-dot{
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid rgba(38,48,60,0.15);
}

.mini-steps{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--slate);
  font-weight: 750;
}
.step-pill{
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 10px;
  background: var(--dark);
  color: white;
  margin-right: 8px;
  font-size: 0.95rem;
}

/* Keep decor subtle */
.bg-decor{ position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.shape{
  position:absolute;
  border-radius: 999px;
  opacity: 0.65;
  border: 1px solid rgba(38,48,60,0.08);
}
.shape.s1{
  width: 360px; height: 360px;
  background: radial-gradient(circle at 30% 30%, rgba(147,186,243,0.9), rgba(147,186,243,0.12));
  top: -160px; left: -160px;
}
.shape.s2{
  width: 280px; height: 280px;
  background: radial-gradient(circle at 70% 30%, rgba(113,133,165,0.65), rgba(113,133,165,0.10));
  bottom: -140px; right: -140px;
}

/* ===== About page: standout but clean ===== */
.about-hero{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(147,186,243,0.40), rgba(255,255,255,0.75));
  border: 1px solid rgba(38,48,60,0.10);
  box-shadow: var(--shadow);
}
@media (max-width: 900px){
  .about-hero{ grid-template-columns: 1fr; }
}
.about-illus{
  background: rgba(234,243,251,0.55);
  border: 1px solid rgba(38,48,60,0.08);
  border-radius: var(--radius);
  padding: 14px;
}
.about-points{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.point{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 750;
  color: var(--dark);
}
.point-dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid rgba(38,48,60,0.15);
}

/* Timeline */
.timeline{
  display: grid;
  gap: 12px;
}
.t-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(38,48,60,0.10);
}
.t-num{
  width: 30px; height: 30px;
  border-radius: 12px;
  background: var(--dark);
  color: white;
  display:grid;
  place-items:center;
  font-weight: 900;
  flex: 0 0 auto;
}

/* Hero stacked (text + illustration below, not side-by-side) */
.hero-stack{
  display: block !important;
}
.hero-stack .hero-mini-illus{
  margin-top: 16px;
  max-width: 720px;
}

.hero-mini-illus{
  padding: 16px;
}

.about-hero{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  margin-top: 10px;
}

.about-image img{
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(38, 48, 60, 0.25);
  object-fit: cover;
}

@media (max-width: 900px){
  .about-hero{
    grid-template-columns: 1fr;
  }

  .about-image{
    order: -1; /* Bilden överst på mobil */
  }
}

h1, h2 {
  letter-spacing: -0.4px;
}

.lead{
  font-weight: 500;
  color: #4b5563;
}

/* ===== FAQ / Policy ===== */
.faq-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

.faq-item{
  background: rgba(255,255,255,0.92);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(38,48,60,0.10);
  box-shadow: var(--shadow-soft);
}

.faq-item summary{
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker{ display:none; }

.faq-item summary:after{
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(38,48,60,0.06);
  border: 1px solid rgba(38,48,60,0.08);
  color: var(--dark);
  font-weight: 900;
  flex: 0 0 auto;
}

.faq-item[open] summary:after{ content: "–"; }

.faq-item p{
  margin: 10px 0 0;
  color: var(--slate);
  font-weight: 600;
  line-height: 1.55;
}

/* Policy typography */
.policy h2{
  margin: 0 0 10px;
}
.policy h3{
  margin: 16px 0 8px;
}
.policy p{
  margin: 0 0 10px;
  color: var(--slate);
  font-weight: 600;
}
.policy ul{
  margin: 0 0 10px 18px;
  color: var(--slate);
  font-weight: 600;
}
.policy li{ margin: 6px 0; }

.note{
  background: rgba(147,186,243,0.18);
  border: 1px solid rgba(38,48,60,0.08);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--dark);
  font-weight: 700;
}