/* ============================================================
   EC MEDIA — hemma-hos-dig teknikhjälp
   ============================================================ */

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

:root{
  --bg:            #0d0b09;
  --bg-raised:     #17140f;
  --bg-raised-2:   #1e1a14;
  --line:          #33291d;
  --orange:        #ff5a00;
  --orange-deep:   #d94800;
  --orange-dim:    #7a3010;
  --white:         #f7f4ef;
  --muted:         #a89f92;
  --muted-2:       #6f6658;

  --font-display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --radius: 2px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ margin:0; padding:0; }

body{
  background:var(--bg);
  color:var(--white);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed; inset:0;
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -5%, rgba(255,90,0,0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 20%, rgba(255,90,0,0.06), transparent 60%);
  pointer-events:none;
  z-index:0;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ margin:0; font-family:var(--font-display); font-weight:400; letter-spacing:-0.01em; }
p{ margin:0; }

.wrap{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 32px;
}

:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

/* ---------- eyebrow / kicker ---------- */
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--orange);
  font-weight:700;
  font-size:13px;
  letter-spacing:0.02em;
  margin-bottom:14px;
}
.kicker::before{
  content:"";
  width:18px; height:3px;
  background:var(--orange);
  transform:skewX(-20deg);
  flex-shrink:0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(13,11,9,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:78px;
}
.logo-mark{ height:34px; width:auto; }
.main-nav{ display:flex; align-items:center; gap:36px; }
.main-nav a{
  font-size:14.5px;
  font-weight:600;
  color:var(--muted);
  transition:color .15s ease;
}
.main-nav a:hover{ color:var(--white); }
.header-cta{ display:flex; align-items:center; gap:22px; }
.header-phone{
  font-weight:700;
  font-size:15px;
  color:var(--white);
  display:flex; align-items:center; gap:8px;
}
.header-phone svg{ color:var(--orange); flex-shrink:0; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:13px 26px;
  font-weight:700;
  font-size:14.5px;
  border:none;
  border-radius:var(--radius);
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--orange);
  color:#161310;
  clip-path:polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-primary:hover{ background:#ff7526; transform:translateY(-1px); }
.btn-ghost{
  background:transparent;
  color:var(--white);
  border:1.5px solid var(--line);
}
.btn-ghost:hover{ border-color:var(--orange); color:var(--orange); }
.btn-block{ width:100%; }

.nav-toggle{
  display:none;
  background:none; border:none; color:var(--white);
  width:40px; height:40px;
  align-items:center; justify-content:center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  padding:88px 0 110px;
  overflow:hidden;
}
.hero .wrap{
  position:relative; z-index:2;
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:50px;
  align-items:center;
}
.hero h1{
  font-size:clamp(38px, 5.2vw, 68px);
  line-height:1.03;
  color:var(--white);
  text-transform:uppercase;
}
.hero h1 em{
  font-style:normal;
  color:var(--orange);
  display:block;
}
.hero-lede{
  margin-top:22px;
  font-size:18px;
  color:var(--muted);
  max-width:46ch;
}
.hero-actions{
  margin-top:34px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.hero-badges{
  margin-top:40px;
  display:flex;
  gap:28px;
  flex-wrap:wrap;
}
.hero-badge{
  display:flex; align-items:center; gap:10px;
  font-size:13.5px; color:var(--muted); font-weight:600;
}
.hero-badge svg{ color:var(--orange); flex-shrink:0; }

.hero-visual{
  position:relative;
  aspect-ratio:1/1;
  display:grid;
  place-items:center;
}
.hero-visual .house{
  width:78%;
  color:var(--orange);
  filter:drop-shadow(0 0 34px rgba(255,90,0,0.35));
}
.hero-orb{
  position:absolute;
  width:230px; height:230px;
  border-radius:50%;
  border:1.5px solid var(--orange);
  display:grid; place-items:center;
  text-align:center;
  background:radial-gradient(circle at 35% 30%, rgba(255,90,0,0.16), rgba(13,11,9,0.2));
  top:-6%; right:-4%;
}
.hero-orb .pct{
  font-family:var(--font-display);
  font-size:46px;
  color:var(--orange);
  line-height:1;
}
.hero-orb .pct-label{
  font-size:11px; color:var(--muted); margin-top:6px; max-width:150px;
  font-weight:600;
}
.hero-orb .pct-top{ font-size:12px; color:var(--white); font-weight:700; margin-bottom:4px;}

.hero-chip-row{
  position:absolute;
  bottom:6%;
  left:6%;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.hero-chip{
  background:var(--bg-raised);
  border:1px solid var(--line);
  padding:10px 16px;
  font-size:13px;
  font-weight:700;
  display:flex; align-items:center; gap:9px;
  clip-path:polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.hero-chip svg{ color:var(--orange); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--bg-raised);
}
.trust-strip .wrap{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:18px;
  padding:26px 32px;
}
.trust-item{
  display:flex; align-items:center; gap:12px;
  font-weight:700; font-size:15px;
  flex:1 1 220px;
}
.trust-item svg{ color:var(--orange); flex-shrink:0; }
.trust-item span em{ color:var(--orange); font-style:normal; }

/* ============================================================
   SECTION generic
   ============================================================ */
section{ position:relative; z-index:1; }
.section{ padding:112px 0; }
.section-head{
  max-width:640px;
  margin-bottom:56px;
}
.section-head h2{
  font-size:clamp(30px,3.4vw,44px);
  text-transform:uppercase;
  line-height:1.08;
}
.section-head p{
  margin-top:16px;
  color:var(--muted);
  font-size:16.5px;
}
.section-alt{ background:var(--bg-raised); }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.service-cell{
  background:var(--bg);
  padding:32px 26px;
  display:flex;
  flex-direction:column;
  gap:16px;
  transition:background .15s ease;
}
.service-cell:hover{ background:var(--bg-raised); }
.service-cell svg{ color:var(--orange); width:30px; height:30px; }
.service-cell h3{
  font-family:var(--font-body);
  font-weight:800;
  font-size:16px;
  text-transform:none;
  letter-spacing:0;
}
.service-cell p{ color:var(--muted); font-size:13.5px; }

/* ============================================================
   PROBLEM CARDS ("bento")
   ============================================================ */
.bento{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:18px;
}
.bento .card{
  background:var(--bg-raised);
  border:1px solid var(--line);
  border-left:3px solid var(--orange);
  padding:34px 30px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.bento .card:nth-child(1){ grid-column:span 3; }
.bento .card:nth-child(2){ grid-column:span 3; }
.bento .card:nth-child(3){ grid-column:span 2; }
.bento .card:nth-child(4){ grid-column:span 2; }
.bento .card:nth-child(5){ grid-column:span 2; }

.card-icon{
  width:46px; height:46px;
  border:1.5px solid var(--orange-dim);
  display:grid; place-items:center;
  color:var(--orange);
  flex-shrink:0;
}
.card h3{
  font-family:var(--font-body);
  font-weight:800;
  font-size:19px;
  color:var(--white);
}
.card h3 .accent{ color:var(--orange); }
.card p.desc{ color:var(--muted); font-size:14.5px; }
.card ul{ display:flex; flex-direction:column; gap:9px; margin-top:4px; }
.card ul li{
  display:flex; align-items:flex-start; gap:10px;
  font-size:14px; color:var(--white); font-weight:500;
}
.card ul li svg{ color:var(--orange); flex-shrink:0; margin-top:2px; }
.card-price{
  margin-top:auto;
  padding-top:16px;
  border-top:1px dashed var(--line);
  display:flex; align-items:baseline; gap:8px;
  font-size:13px; color:var(--muted);
}
.card-price strong{ color:var(--orange); font-size:20px; font-family:var(--font-display); }

/* ============================================================
   RUT BANNER
   ============================================================ */
.rut-banner{
  background:var(--orange);
  color:#181410;
  padding:70px 0;
  position:relative;
  overflow:hidden;
}
.rut-banner .wrap{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:40px;
}
.rut-figure{
  font-family:var(--font-display);
  font-size:clamp(64px,8vw,110px);
  line-height:0.9;
  white-space:nowrap;
}
.rut-text h2{
  text-transform:uppercase;
  font-size:clamp(22px,2.6vw,30px);
  line-height:1.15;
}
.rut-text p{ margin-top:10px; font-weight:600; font-size:15px; max-width:52ch; }
.rut-banner .btn-primary{
  background:#181410; color:var(--white);
}
.rut-banner .btn-primary:hover{ background:#2a2420; }

/* ============================================================
   STEPS
   ============================================================ */
.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  counter-reset:step;
  border-top:1px solid var(--line);
}
.step{
  padding:44px 36px 0;
  border-right:1px solid var(--line);
  position:relative;
}
.step:last-child{ border-right:none; }
.step .num{
  font-family:var(--font-display);
  font-size:15px;
  color:var(--orange);
  display:flex; align-items:center; gap:12px;
  margin-bottom:18px;
}
.step .num::before{
  counter-increment:step;
  content:"0" counter(step);
}
.step .num::after{
  content:"";
  height:1px; flex:1;
  background:var(--line);
}
.step h3{
  font-family:var(--font-body);
  font-weight:800; font-size:19px; margin-bottom:10px;
}
.step p{ color:var(--muted); font-size:14.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:60px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
.field label{ font-size:13px; font-weight:700; color:var(--muted); }
.field input,
.field textarea{
  background:var(--bg-raised);
  border:1px solid var(--line);
  color:var(--white);
  padding:14px 16px;
  font-family:inherit;
  font-size:15px;
  border-radius:var(--radius);
  transition:border-color .15s ease;
  resize:vertical;
}
.field input:focus,
.field textarea:focus{ border-color:var(--orange); outline:none; }
.field-hp{ position:absolute; left:-9999px; opacity:0; }
.form-status{
  margin-top:14px;
  font-size:14px;
  font-weight:600;
  min-height:20px;
}
.form-status.ok{ color:#5fd97f; }
.form-status.err{ color:#ff6b5e; }

.contact-side{
  background:var(--bg-raised);
  border:1px solid var(--line);
  padding:38px 32px;
  display:flex;
  flex-direction:column;
  gap:26px;
}
.contact-side .logo-mark{ height:30px; width:auto; align-self:flex-start; margin-bottom:6px; }
.contact-line{
  display:flex; align-items:flex-start; gap:14px;
}
.contact-line svg{ color:var(--orange); flex-shrink:0; margin-top:2px; }
.contact-line strong{ display:block; font-size:15.5px; }
.contact-line span{ color:var(--muted); font-size:13.5px; }
.contact-divider{ height:1px; background:var(--line); }

/* ============================================================
   FOOTER
   ============================================================ */
footer{
  border-top:1px solid var(--line);
  padding:56px 0 30px;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:36px;
  padding-bottom:36px;
  border-bottom:1px solid var(--line);
}
.footer-tag{ color:var(--muted); font-size:14px; margin-top:14px; max-width:34ch; }
.footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer-col h4{
  font-family:var(--font-body); font-weight:800; font-size:13px;
  text-transform:uppercase; letter-spacing:0.04em; color:var(--muted-2);
  margin-bottom:16px;
}
.footer-col a, .footer-col span{
  display:block; font-size:14.5px; color:var(--muted); margin-bottom:11px; font-weight:500;
}
.footer-col a:hover{ color:var(--orange); }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  padding-top:24px;
  font-size:13px; color:var(--muted-2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:980px){
  .hero .wrap{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:360px; margin:0 auto; }
  .bento{ grid-template-columns:repeat(2,1fr); }
  .bento .card{ grid-column:span 1 !important; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
  .rut-banner .wrap{ grid-template-columns:1fr; text-align:center; }
  .rut-banner .btn{ margin:0 auto; }
  .steps{ grid-template-columns:1fr; }
  .step{ border-right:none; border-bottom:1px solid var(--line); padding-bottom:36px; margin-bottom:8px; }
}
@media (max-width:760px){
  .main-nav{ display:none; }
  .header-phone{ display:none; }
  .header-cta .btn-primary{ padding:11px 18px; font-size:13.5px; }
  .nav-toggle{ display:flex; }
  .services-grid{ grid-template-columns:1fr 1fr; }
  .form-row{ grid-template-columns:1fr; }
  .trust-strip .wrap{ flex-direction:column; }
  .section{ padding:76px 0; }
}
