/**
 * Digital Kreativ – Editable Elementor hero + Contact Form 7 enquiry.
 * Layout/content widgets stay editable; background is Elementor Media Library image.
 * No inline CSS or hard-coded form fields inside Elementor.
 */
.dk-home-hero,.dk-home-hero *,.dk-home-hero *::before,.dk-home-hero *::after,
.dk-hero-lead-wrap,.dk-hero-lead-wrap * {box-sizing:border-box}
.dk-home-hero{
  --dk-hero-accent:#3edfd0;
  isolation:isolate;position:relative;overflow:hidden;
  min-height:750px;
  color:#f7ffff;
  background-color:#001015;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center 46%;
  font-family:'Poppins',Arial,sans-serif!important;
}
.dk-home-hero::before{
  content:"";pointer-events:none;position:absolute;z-index:0;inset:0;
  /* Match the PSD's inky left vignette without darkening the laptop. */
  background:
    linear-gradient(90deg,rgba(0,10,15,.68) 0%,rgba(0,12,18,.43) 27%,rgba(0,12,18,.13) 53%,rgba(0,12,18,0) 80%),
    linear-gradient(0deg,rgba(0,9,13,.35) 0%,transparent 37%);
}
/* Decorative, reusable and deliberately separate from the editable Elementor photo. */
.dk-home-hero::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:url("../textures/hero-network.svg");
  background-repeat:no-repeat;
  background-position:left top;
  background-size:clamp(290px,25vw,465px) 100%;
  opacity:.34;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.62) 36%,transparent 82%);
  mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.62) 36%,transparent 82%);
}
.dk-home-hero > .e-con-inner,.dk-home-hero > .elementor-container{position:relative;z-index:1}
.dk-home-hero .dk-hero-main{
  width:100%;max-width:1280px;
  padding:105px 40px 54px;
  margin:0 auto;
  position:relative;z-index:1;
}
.dk-home-hero .dk-hero-copy{max-width:720px;align-items:flex-start;gap:0}
.dk-home-hero .dk-hero-kicker{margin:0 0 18px!important;width:auto}
.dk-home-hero .dk-hero-kicker .elementor-heading-title{
  display:inline-flex;align-items:center;min-height:31px;
  border:1px solid rgba(62,223,208,.76);border-radius:99px;
  padding:7px 17px;color:#eefdfb!important;
  font:700 11px/1.2 'Poppins',Arial,sans-serif!important;letter-spacing:.07em;
  background:rgba(3,20,24,.32);
}
.dk-home-hero .dk-hero-line-one,.dk-home-hero .dk-hero-line-two{margin:0!important}
.dk-home-hero .dk-hero-line-one .elementor-heading-title{
  font:700 clamp(31px,2.85vw,42px)/1.08 'Playfair Display',Georgia,'Times New Roman',serif!important;
  letter-spacing:-.025em;color:#fff!important;
}
.dk-home-hero .dk-hero-line-two .elementor-heading-title{
  font:700 clamp(40px,3.95vw,57px)/1.12 'Playfair Display',Georgia,'Times New Roman',serif!important;
  letter-spacing:-.028em;color:var(--dk-hero-accent)!important;
  text-shadow:0 2px 25px rgba(0,0,0,.18);
}
.dk-home-hero .dk-hero-desc{max-width:455px;margin:21px 0 0!important}

/* HOME_HERO_DESCRIPTION_EXACT_LINES — JS wraps the original copy in
   two inline spans. On desktop the requested line break is fixed; smaller
   devices retain their existing responsive text flow and mobile styling. */
@media (min-width:1025px) {
  body.page-id-78 .dk-home-hero .dk-hero-desc {
    width:min(100%,700px)!important;
    max-width:700px!important;
  }
  body.page-id-78 .dk-home-hero .dk-hero-desc p {
    max-width:100%!important;
    text-shadow:0 2px 10px rgba(0,9,13,.78);
  }
  body.page-id-78 .dk-home-hero .dk-hero-desc [data-dkm-hero-line] {
    display:block;
    white-space:nowrap;
  }
}
.dk-home-hero .dk-hero-desc,.dk-home-hero .dk-hero-desc p{
  font:400 clamp(15px,1.2vw,17px)/1.66 'Poppins',Arial,sans-serif!important;
  color:#e7f4f3!important;margin-bottom:0!important;
}
.dk-home-hero .dk-hero-buttons{margin-top:34px;display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.dk-home-hero .dk-hero-buttons .elementor-widget-button{width:auto!important}
.dk-home-hero .dk-hero-buttons .elementor-button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;border-radius:999px!important;padding:13px 24px!important;
  font:700 13px/1.3 'Poppins',Arial,sans-serif!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.dk-home-hero .dk-hero-btn-primary .elementor-button{background:var(--dk-hero-accent)!important;color:#062020!important;border:1px solid transparent!important}
.dk-home-hero .dk-hero-btn-primary .elementor-button::after{content:"↗";font-size:17px;margin-left:16px}
.dk-home-hero .dk-hero-btn-primary .elementor-button:hover{background:#24c9bf!important;transform:translateY(-1px)}
.dk-home-hero .dk-hero-btn-outline .elementor-button{color:#f4ffff!important;border:1px solid var(--dk-hero-accent)!important;background:rgba(1,18,23,.52)!important}
.dk-home-hero .dk-hero-btn-outline .elementor-button::after{content:"›";font-size:20px;margin-left:15px;line-height:0}
.dk-home-hero .dk-hero-btn-outline .elementor-button:hover{background:rgba(62,223,208,.12)!important}
.dk-home-hero .dk-hero-features{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;margin-top:53px;width:min(520px,100%);
  align-items:stretch;
}
.dk-home-hero .dk-hero-feature{width:100%;min-width:0;padding:0 13px!important;border-right:1px solid rgba(62,223,208,.23)}
.dk-home-hero .dk-hero-feature:first-child{padding-left:0!important}
.dk-home-hero .dk-hero-feature:last-child{border-right:0}
.dk-home-hero .dk-hero-feature .elementor-icon-box-wrapper{text-align:left!important}
.dk-home-hero .dk-hero-feature .elementor-icon-box-icon{margin:0 0 11px!important;float:none!important}
.dk-home-hero .dk-hero-feature .elementor-icon,.dk-home-hero .dk-hero-feature .elementor-icon svg{font-size:23px!important;width:25px;height:25px;fill:var(--dk-hero-accent)!important;color:var(--dk-hero-accent)!important}
.dk-home-hero .dk-hero-feature .elementor-icon-box-title{margin:0 0 4px!important;line-height:1.2!important}
.dk-home-hero .dk-hero-feature .elementor-icon-box-title span,
.dk-home-hero .dk-hero-feature .elementor-icon-box-title a{font:700 11px/1.38 'Poppins',Arial,sans-serif!important;color:#fff!important}
.dk-home-hero .dk-hero-feature .elementor-icon-box-description{
  font:400 10px/1.5 'Poppins',Arial,sans-serif!important;color:#c4d7d7!important;
}
.dk-home-hero a:focus-visible,.dk-hero-lead-wrap :is(a,button,input):focus-visible{outline:2px solid #3edfd0!important;outline-offset:3px!important}

/* Lead form sits right below/overlaps hero, as in the supplied screenshot. */
.dk-hero-lead-wrap{
  background:#000d10;
  color:#fff;
  position:relative;z-index:4;
  padding:0 40px 38px!important;
  width:100%;
  font-family:'Poppins',Arial,sans-serif!important;
}
.dk-hero-lead-wrap .dk-hero-lead-inner{max-width:1150px;width:100%;margin:-36px auto 0;position:relative;z-index:4}
.dk-hero-lead-wrap .dk-hero-lead-shortcode{width:100%;margin:0!important}
.dk-hero-lead-wrap .wpcf7{
  position:relative;overflow:hidden;
  border:1px solid rgba(62,223,208,.64);
  border-radius:16px;
  padding:23px 26px;
  /* PSD texture from WordPress Media Library (attachment #35).
   Use a transparent dark wash for contrast; the actual streaks come from
   the photograph, rather than synthetic repeating CSS gradients. */
  background-color:#001317;
  background-image:
    linear-gradient(105deg,rgba(0,9,12,.43) 0%,rgba(0,13,17,.36) 52%,rgba(0,11,15,.44) 100%),
    url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/pexels-justguryan-19945132-scaled.jpg");
  background-position:center,center 48%;
  background-size:cover,cover;
  background-repeat:no-repeat,no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(62,223,208,.085),
    inset 0 0 29px rgba(0,0,0,.48),
    0 12px 35px rgba(0,0,0,.61),
    0 0 21px rgba(62,223,208,.13);
}
/* A very soft top sheen; never blocks editing, fields or consent checkbox. */
.dk-hero-lead-wrap .wpcf7::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 9% 0%,rgba(62,223,208,.08),transparent 40%),
    linear-gradient(180deg,rgba(255,255,255,.022),transparent 35%);
}
.dk-hero-lead-wrap .wpcf7 form{position:relative;z-index:1;margin:0!important}
.dk-hero-lead-wrap .wpcf7-form-control-wrap{display:block;width:100%;min-width:0}
.dk-hero-lead-wrap .dk-hero-lead-grid{
  display:grid;grid-template-columns:minmax(225px,1.17fr) minmax(370px,1.05fr);
  gap:clamp(24px,4vw,70px);align-items:center;
}
.dk-hero-lead-wrap .dk-hero-lead-intro h2{
  color:#fff!important;margin:0 0 13px!important;
  font:700 clamp(23px,2.3vw,32px)/1.2 'Playfair Display',Georgia,'Times New Roman',serif!important;
  letter-spacing:-.04em;
}
.dk-hero-lead-wrap .dk-hero-lead-consent,
.dk-hero-lead-wrap .dk-hero-lead-consent label{
  font:400 11px/1.55 'Poppins',Arial,sans-serif!important;
  color:#c3d7d6!important;
}
.dk-hero-lead-wrap .dk-hero-lead-consent .wpcf7-list-item{margin:0!important}
.dk-hero-lead-wrap .dk-hero-lead-consent label{
  display:flex!important;align-items:flex-start;gap:8px;
}
.dk-hero-lead-wrap .dk-hero-lead-consent input[type=checkbox]{flex:0 0 auto;width:15px;height:15px;margin:1px 0 0!important;accent-color:#3edfd0}
.dk-hero-lead-wrap .dk-hero-lead-fields{display:flex;flex-direction:column;gap:11px;min-width:0}
.dk-hero-lead-wrap .dk-hero-lead-row{
  display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:12px;
}
.dk-hero-lead-wrap .dk-hero-lead-row input:not([type=submit]){
  display:block!important;width:100%!important;max-width:100%!important;min-width:0;
  min-height:43px;margin:0!important;padding:11px 17px!important;
  border:1px solid rgba(62,223,208,.72)!important;border-radius:99px!important;
  background:rgba(0,14,17,.94)!important;color:#f3fffe!important;
  font:500 12px/1.4 'Poppins',Arial,sans-serif!important;
  box-shadow:none!important;
}
.dk-hero-lead-wrap .dk-hero-lead-row input::placeholder{color:#a1b8b7!important;opacity:1}
.dk-hero-lead-wrap .dk-hero-lead-row input[type=submit]{
  min-height:43px;width:100%;margin:0!important;padding:11px 18px!important;
  background:#3edfd0!important;color:#062523!important;
  border-radius:99px!important;border:0!important;
  cursor:pointer;font:700 12px/1.35 'Poppins',Arial,sans-serif!important;
  transition:background .2s,transform .2s;
}
.dk-hero-lead-wrap .dk-hero-lead-row input[type=submit]:hover{background:#22cabe!important;transform:translateY(-1px)}
.dk-hero-lead-wrap .wpcf7-spinner{position:absolute;right:18px;bottom:7px;margin:0!important}
.dk-hero-lead-wrap .wpcf7-response-output{
  color:#fff!important;background:#10352f!important;padding:10px 13px!important;
  border:1px solid #3edfd0!important;border-radius:9px!important;
  font:500 12px/1.4 'Poppins',Arial,sans-serif!important;
}
.dk-hero-lead-wrap .wpcf7-not-valid-tip{color:#ffb6ad!important;font-size:11px!important;margin:3px 0 0 7px}
.dk-hero-lead-wrap .screen-reader-text{
  border:0!important;clip:rect(1px,1px,1px,1px)!important;
  clip-path:inset(50%)!important;height:1px!important;width:1px!important;
  margin:-1px!important;overflow:hidden!important;padding:0!important;
  position:absolute!important;white-space:nowrap!important;
}
@media(max-width:1024px){
  .dk-home-hero{min-height:710px;background-position:58% center}
  .dk-home-hero .dk-hero-main{padding:87px 30px 55px}
  .dk-home-hero .dk-hero-copy{max-width:630px}
  .dk-home-hero .dk-hero-features{width:500px;margin-top:50px}
  .dk-hero-lead-wrap{padding-left:30px!important;padding-right:30px!important}
  .dk-hero-lead-wrap .dk-hero-lead-grid{grid-template-columns:1fr 1.2fr;gap:25px}
  .dk-hero-lead-wrap .wpcf7{padding:21px 23px}
}
@media(max-width:767px){
  .dk-home-hero{min-height:auto;background-position:67% center}
  .dk-home-hero::before{background:linear-gradient(90deg,rgba(0,10,15,.94),rgba(0,13,17,.73) 63%,rgba(0,10,15,.33)),linear-gradient(0deg,rgba(0,10,14,.9),transparent 50%)}
  .dk-home-hero .dk-hero-main{padding:64px 23px 75px}
  .dk-home-hero .dk-hero-copy{max-width:100%}
  .dk-home-hero .dk-hero-desc{max-width:470px;margin-top:19px!important}
  .dk-home-hero .dk-hero-line-one .elementor-heading-title{font-size:clamp(29px,7.1vw,39px)!important}
  .dk-home-hero .dk-hero-line-two .elementor-heading-title{font-size:clamp(33px,8.3vw,43px)!important}
  .dk-home-hero .dk-hero-buttons{margin-top:24px;gap:9px}
  .dk-home-hero .dk-hero-buttons .elementor-button{min-height:43px;padding:12px 18px!important}
  .dk-home-hero .dk-hero-features{margin-top:48px;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:22px}
  .dk-home-hero .dk-hero-feature:nth-child(2){border-right:0}
  .dk-home-hero .dk-hero-feature:nth-child(3){padding-left:0!important}
  .dk-hero-lead-wrap{padding:0 22px 35px!important}
  .dk-hero-lead-wrap .dk-hero-lead-inner{margin-top:-32px}
  .dk-hero-lead-wrap .wpcf7{padding:22px 20px;border-radius:15px}
  .dk-hero-lead-wrap .dk-hero-lead-grid{display:flex;flex-direction:column;gap:20px;align-items:stretch}
  .dk-hero-lead-wrap .dk-hero-lead-intro h2{font-size:23px!important}
}
@media(max-width:430px){
  .dk-home-hero .dk-hero-main{padding:53px 18px 66px}
  .dk-home-hero .dk-hero-kicker .elementor-heading-title{font-size:10px!important;min-height:27px}
  .dk-home-hero .dk-hero-line-one .elementor-heading-title{font-size:clamp(29px,8vw,35px)!important}
  .dk-home-hero .dk-hero-line-two .elementor-heading-title{font-size:clamp(31px,8.5vw,39px)!important}
  .dk-home-hero .dk-hero-desc,.dk-home-hero .dk-hero-desc p{font-size:13px!important}
  .dk-home-hero .dk-hero-buttons .elementor-button{font-size:12px!important}
  .dk-home-hero .dk-hero-features{margin-top:47px}
  .dk-hero-lead-wrap{padding-left:14px!important;padding-right:14px!important}
  .dk-hero-lead-wrap .wpcf7{padding:19px 16px}
  .dk-hero-lead-wrap .dk-hero-lead-row{grid-template-columns:1fr;gap:10px}
  .dk-hero-lead-wrap .dk-hero-lead-intro h2{font-size:21px!important}
}
@media(prefers-reduced-motion:reduce){
 .dk-home-hero .elementor-button,.dk-hero-lead-wrap input[type=submit]{transition:none!important}
}
/* CF7 automatically groups field tags in paragraphs; keep two true grid columns. */
.dk-hero-lead-wrap .dk-hero-lead-row > p{display:contents!important;margin:0!important;padding:0!important}
.dk-hero-lead-wrap .dk-hero-lead-row br{display:none!important}
.dk-hero-lead-wrap .dk-hero-field{display:block;width:100%;margin:0!important;min-width:0}
.dk-hero-lead-wrap .dk-hero-field .wpcf7-form-control-wrap{width:100%;display:block}
.dk-hero-lead-wrap .dk-hero-lead-consent > p{margin:0!important}
.dk-hero-lead-wrap .wpcf7 .hidden-fields-container{display:none!important}
.dk-hero-lead-wrap .wpcf7 form:not(.sent):not(.invalid):not(.failed):not(.spam):not(.aborted):not(.unaccepted) .wpcf7-response-output{display:none!important}

/* The reference uses display-serif headings with Open Sans body/navigation. */
.dk-home-hero .dk-hero-line-one,.dk-home-hero .dk-hero-line-two{max-width:100%;}
/* Consent remains a real CF7 checkbox: visually round like the radio-style reference.
   Explicit inline/block and min/max sizing prevents theme/Elementor rules
   from stretching the 18px ring into an ellipse. */
.dk-hero-lead-wrap .dk-hero-lead-consent .wpcf7-acceptance input[type=checkbox]{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-block!important;
  box-sizing:border-box!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  inline-size:18px!important;
  block-size:18px!important;
  aspect-ratio:1 / 1;
  padding:0!important;
  margin:3px 0 0!important;
  border:2px solid #3edfd0!important;
  border-radius:50%!important;
  background-color:rgba(2,29,30,.85)!important;
  background-image:none!important;
  box-shadow:none!important;
  vertical-align:top;
  cursor:pointer;
}
.dk-hero-lead-wrap .dk-hero-lead-consent .wpcf7-acceptance input[type=checkbox]:checked{
  background-image:radial-gradient(circle at center,#3edfd0 0 4px,transparent 4.5px)!important;
}
.dk-hero-lead-wrap .dk-hero-lead-consent .wpcf7-acceptance input[type=checkbox]:focus-visible{
  outline:2px solid #3edfd0!important;
  outline-offset:3px!important;
}

/*
 * Elementor Full Width must retain Astra's global header/footer but remove its
 * page wrapper. Scoped to this one editable homepage draft (and the same page
 * when published). A later homepage redesign can keep the same template.
 */
body.page-id-78 {
  background: #000d10;
}
body.page-id-78 .site-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #000d10;
}
body.page-id-78 .site-content > .ast-container,
body.page-id-78 .site-content .ast-container {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}
body.page-id-78 #primary,
body.page-id-78 .site-content .content-area,
body.page-id-78 .site-content .site-main,
body.page-id-78 .site-content .ast-article-single,
body.page-id-78 .site-content .entry-content,
body.page-id-78 .site-content .elementor.elementor-78 {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  float: none !important;
}
body.page-id-78 .site-content .ast-article-single {
  padding-block: 0 !important;
  margin-block: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.page-id-78 .site-content .entry-content,
body.page-id-78 .site-content #primary {
  margin-block: 0 !important;
  padding-block: 0 !important;
}
body.page-id-78 .dk-home-hero,
body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

/* Reference-preserving mobile texture balance and reduced visual noise. */
@media (max-width:767px){
  .dk-home-hero::after{
    background-size:280px 100%;
    opacity:.26;
    -webkit-mask-image:linear-gradient(90deg,#000,transparent 88%);
    mask-image:linear-gradient(90deg,#000,transparent 88%);
  }
  .dk-hero-lead-wrap .wpcf7{
    /* Keep the exact same Media Library image on mobile. */
    background-image:
      linear-gradient(110deg,rgba(0,9,12,.46),rgba(0,13,17,.39)),
      url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/pexels-justguryan-19945132-scaled.jpg");
    background-position:center,center 48%;
    background-size:cover,cover;
    background-repeat:no-repeat,no-repeat;
  }
}
@media (prefers-reduced-motion:reduce) {
  .dk-home-hero::after{transition:none!important}
}

/*
 * Figma desktop enquiry strip (the section immediately following the hero).
 * At the 1500px design width the panel starts around y=850, title x=188,
 * title top y=873, Poppins consent top y=930, input rows on the right.
 * Retains the actual Contact Form 7 form, labels, consent, validation and
 * submit behavior rather than reproducing them in static HTML.
 */
@media (min-width: 1101px) {
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap {
    padding: 0 40px 38px !important;
    background: #000d10;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-inner {
    /* Figma title begins at x≈188 on a 1500px artboard. */
    width: 100%;
    max-width: 1204px;
    margin: -37px auto 0;
    position: relative;
    z-index: 4;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .wpcf7 {
    /* Equal top/bottom padding, rather than a visibly deeper bottom edge. */
    padding: 28px 38px 28px !important;
    border-radius: 16px;
    border: 1px solid rgba(62,223,208,.7);
    background-color: #001317;
    /* Real overlay lives on ::before; keep only the original PSD streak
       photograph here so the gradient is not lost to background cascades. */
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/pexels-justguryan-19945132-scaled.jpg") !important;
    background-position: center 48% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    box-shadow: inset 0 0 26px rgba(0,0,0,.40),
      0 14px 30px rgba(0,0,0,.44),
      0 0 18px rgba(62,223,208,.10);
  }

  /* Dedicated full-panel gradient above the texture and below every form
     control. Darkest behind the left copy, with a continuous softer wash
     beneath the right inputs. Explicit layering avoids obscuring controls. */
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .wpcf7::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    border-radius: inherit !important;
    background:
      linear-gradient(90deg,
        rgba(0,5,8,.88) 0%,
        rgba(0,7,10,.78) 34%,
        rgba(0,8,12,.62) 68%,
        rgba(0,9,13,.52) 100%
      ) !important;
  }
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .wpcf7 form {
    position: relative !important;
    z-index: 1 !important;
  }

  /*
   * Contact Form 7 adds wpautop paragraph wrappers around shortcodes.
   * Default paragraph bottom margins were stretching the panel under its
   * last input row, even when the outer padding was set correctly.
   */
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .wpcf7 form,
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-grid,
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-fields,
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row {
    margin-block: 0 !important;
    padding-block: 0 !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .wpcf7 form > p,
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row > p,
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-fields > p {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row > p {
    display: contents !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .wpcf7 form > p:empty {
    display: none !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
    gap: clamp(22px, 2.27vw, 34px);
    /* Keep both input rows in their original position. */
    align-items: start;
  }

  /* Vertically center the heading + consent together against the complete
     two-row form, rather than using a fixed 24px top offset. The fields and
     the outer panel remain in place when text/font metrics change. */
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-intro {
    align-self: center !important;
    padding-top: 0 !important;
  }

  body:not(#dk-font-override):is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-intro h2 {
    margin: 0 0 24px !important;
    color: #ffffff !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700 !important;
    font-size: 33.3333px !important;
    line-height: 33.3333px !important;
    letter-spacing: 0 !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent,
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent label,
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent .wpcf7-list-item-label,
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent span {
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 16.6667px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: -.3333px !important;
    color: #ffffff !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent label {
    gap: 12px;
    align-items: flex-start;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-consent .wpcf7-acceptance input[type=checkbox] {
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    inline-size: 16px;
    block-size: 16px;
    margin: 0 !important;
    border: 1.5px solid #3edfd0 !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-fields {
    gap: 12px;
    min-width: 0;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input:not([type=submit]),
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input[type=submit] {
    width: 100% !important;
    min-width: 0;
    min-height: 48px !important;
    height: 48px;
    margin: 0 !important;
    padding: 0 19px !important;
    border-radius: 999px !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 16.6667px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input:not([type=submit]) {
    color: #ffffff !important;
    background: rgba(0,14,17,.88) !important;
    border: 1px solid #3edfd0 !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input::placeholder {
    font-family: 'Poppins', Arial, sans-serif !important;
    color: #d0dddc !important;
    font-weight: 400 !important;
    opacity: 1;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input[type=submit] {
    border: 0 !important;
    background: #3edfd0 !important;
    color: #000000 !important;
    cursor: pointer;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input[type=submit]:hover {
    background-color: #28c4bb !important;
  }

  /* Replace a generic text arrow only when the enhancement has completed.
     The original CF7 submit value remains a functional fallback without JS. */
  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input[type=submit].dk-lead-arrow-svg {
    background-color: #3edfd0 !important;
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-Hero-CTA-Chevron-Dark.svg") !important;
    background-repeat: no-repeat !important;
    background-position: right 22px center !important;
    background-size: 6px 10px !important;
    text-align: left !important;
    padding-left: 21px !important;
    padding-right: 43px !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-row input[type=submit].dk-lead-arrow-svg:hover {
    background-color: #28c4bb !important;
  }
}

/* The legacy responsive stylesheet remains authoritative at <=1100px. */


/*
 * Homepage hero — Figma PSD measured at the 1500px desktop artboard.
 * Do not override the existing tablet/mobile Elementor experience.
 * Reference: kicker y=203.5; headings y=261 (50px + 75px lines);
 * paragraph y=411.7; 201x48 CTA buttons y=558;
 * icons y=674-679; light Poppins captions y=715; lead form ~y=850.
 */
@media (min-width: 1101px) {
  body.page-id-78 .dk-home-hero {
    min-height: 886px;
    background-color: #000d12 !important;
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-%E2%80%94-PSD-Figma-exact-hero-photograph.png") !important;
    background-repeat: no-repeat !important;
    background-position: center 42px !important;
    background-size: cover !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-main {
    width: 100%;
    max-width: 1500px;
    padding: 203.5px clamp(40px, 9.4vw, 141px) 64px !important;
    /* The vertical gap is controlled ONLY by .dk-hero-features below;
       do not add Elementor's inherited container row-gap on top. */
    --row-gap: 0px;
    --gap: 0px;
    gap: 0 !important;
    row-gap: 0 !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-copy {
    max-width: 610px;
    gap: 0 !important;
    align-items: flex-start;
  }

  body.page-id-78 .dk-home-hero .dk-hero-kicker {
    margin: 0 0 19px !important;
  }

  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-kicker .elementor-heading-title {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-width: 218px;
    min-height: 39px;
    padding: 0 30px !important;
    border: 1px solid #3edfd0 !important;
    border-radius: 999px !important;
    background: rgba(1, 13, 19, .34);
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 16.6667px !important;
    font-weight: 400 !important;
    line-height: 16.6667px !important;
    letter-spacing: .065px !important;
    color: #ffffff !important;
    white-space: nowrap;
  }

  body.page-id-78 .dk-home-hero .dk-hero-line-one,
  body.page-id-78 .dk-home-hero .dk-hero-line-two {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-line-one .elementor-heading-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 41.6667px !important;
    font-weight: 700 !important;
    line-height: 50px !important;
    letter-spacing: .0407px !important;
    color: #ffffff !important;
    margin: 0 !important;
  }

  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-line-two .elementor-heading-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 62.5px !important;
    font-weight: 700 !important;
    line-height: 75px !important;
    letter-spacing: .061px !important;
    color: #3edfd0 !important;
    margin: 0 !important;
    white-space: nowrap;
  }

  body.page-id-78 .dk-home-hero .dk-hero-desc {
    width: 553px !important;
    max-width: 553px !important;
    margin: 25px 0 0 !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-desc,
  body.page-id-78 .dk-home-hero .dk-hero-desc p {
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 20.8333px !important;
    font-weight: 400 !important;
    line-height: 33.3333px !important;
    letter-spacing: 0 !important;
    color: #ffffff !important;
  }

  /* Remove the old two-line nowrap treatment; Figma's copy spans three lines. */
  body.page-id-78 .dk-home-hero .dk-hero-desc [data-dkm-hero-line] {
    display: inline !important;
    white-space: normal !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-buttons {
    width: auto;
    margin-top: 47px !important;
    gap: 20px !important;
    flex-wrap: nowrap;
    align-items: center;
  }

  body.page-id-78 .dk-home-hero .dk-hero-buttons .elementor-widget-button {
    width: 201px !important;
    min-width: 201px;
    margin: 0 !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-buttons .elementor-button {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 201px;
    height: 48px;
    min-height: 48px;
    padding: 0 23px 0 24px !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 16.6667px !important;
    font-weight: 400 !important;
    line-height: 16.6667px !important;
    letter-spacing: .065px !important;
    text-decoration: none !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-btn-primary .elementor-button {
    background: #3edfd0 !important;
    color: #000000 !important;
    border: 1px solid transparent !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-btn-outline .elementor-button {
    background: rgba(1, 13, 19, .30) !important;
    color: #ffffff !important;
    border: 1px solid #3edfd0 !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-btn-primary .elementor-button::after,
  body.page-id-78 .dk-home-hero .dk-hero-btn-outline .elementor-button::after {
    content: '' !important;
    flex: 0 0 6px;
    display: block !important;
    width: 6px;
    height: 10px;
    margin: 0 !important;
    background-repeat: no-repeat;
    background-size: 6px 10px;
    background-position: center;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-btn-primary .elementor-button::after {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-Hero-CTA-Chevron-Dark.svg");
  }
  body.page-id-78 .dk-home-hero .dk-hero-btn-outline .elementor-button::after {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-Hero-CTA-Chevron-White.svg");
  }

  body.page-id-78 .dk-home-hero .dk-hero-features {
    width: 540px !important;
    max-width: 540px;
    display: grid !important;
    grid-template-columns: 127px 138px 150px 125px !important;
    column-gap: 0 !important;
    /* The PSD shows ~68px visually from the button bottom to the first
       icon. The Elementor row contributes its own layout spacing, so
       reduce the actual group offset rather than just resetting its parent. */
    margin: 36px 0 0 !important;
    align-items: start;
  }

  body.page-id-78 .dk-home-hero .dk-hero-feature {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 80px;
    padding: 0 0 0 24px !important;
    border-right: 0 !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-feature:first-child {
    padding-left: 10px !important;
  }

  /* Figma: vertical strokes at x=267,405,555, from y=676 to y=753.
     A fixed 77px pseudo-element avoids growing with caption content. */
  body.page-id-78 .dk-home-hero .dk-hero-feature:not(:last-child)::after {
    content: '' !important;
    position: absolute;
    display: block;
    top: 2px;
    right: 0;
    height: 77px;
    width: 1px;
    border: 0;
    pointer-events: none;
    background: rgba(62,223,208,.28);
  }

  body.page-id-78 .dk-home-hero .dk-hero-feature:last-child {
    border-right: 0 !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-content {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-icon {
    width: 37px;
    height: 37px;
    min-height: 37px;
    margin: 0 0 2px !important;
    float: none !important;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  /* Restore the four PSD-exported icon images instead of Font Awesome approximations. */
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(1) .elementor-icon-box-icon {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-hero-advantage-%E2%80%94-Synlighet.png");
    background-size: 32px 32px;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(2) .elementor-icon-box-icon {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-hero-advantage-%E2%80%94-Skreddersydde.png");
    background-size: 30px 34px;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(3) .elementor-icon-box-icon {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-hero-advantage-%E2%80%94-Kreativitet.png");
    background-size: 37px 37px;
  }
  body.page-id-78 .dk-home-hero .dk-hero-feature:nth-child(4) .elementor-icon-box-icon {
    background-image: url("https://www.digitalkreativ.no/wp-content/uploads/2026/10/Digital-Kreativ-Figma-hero-advantage-%E2%80%94-Samarbeid.png");
    background-size: 28px 32px;
  }

  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-icon .elementor-icon {
    visibility: hidden !important;
  }

  /* Figma has four TWO-LINE caption pairs, not 15px bold, wrapped titles.
     Include the heading element as well as its inner span/link so the
     site-wide serif heading selector cannot replace Poppins. */
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title,
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title span,
  body:not(#dk-font-override).page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-title a,
  body.page-id-78 .dk-home-hero .dk-hero-feature .elementor-icon-box-description {
    display: block;
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 300 !important;
    line-height: 20.8333px !important;
    letter-spacing: 0 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Captions fit at 12.5px. Allow safe wrapping if a fallback font is wider,
       instead of spilling across the separator when JS or fonts are absent. */
    max-width: calc(100% - 8px) !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-transform: none !important;
  }

  /* At the 1500px Figma artboard each two-line caption is:
     Mer synlighet / i digitale kanaler
     Skreddersydde / løsninger
     Kreativitet som / skaper resultater
     Langsiktig / samarbeid. */
}

@media (min-width: 1500px) {
  body.page-id-78 .dk-home-hero {
    background-size: 100% auto !important;
  }
}

/*
 * PSD hero-to-enquiry image blending.
 *
 * The imported Figma artwork places a darkening gradient rectangle from
 * canvas Y=732 to Y=950. The hero photo remains visible through the start of
 * this transition and fades seamlessly into the #000d10 page background.
 * The enquiry card sits above that fade rather than on a separate hard stripe.
 *
 * At the 1500px reference width the hero grows 64px (886 -> 950), while the
 * form overlap grows by the same amount (-37 -> -101). This keeps the enquiry
 * card and following sections at their already approved vertical coordinates.
 * The extension reduces progressively to zero on smaller desktop viewports.
 */
@media (min-width: 1101px) {
  body.page-id-78 {
    --dk-hero-blend-extension: clamp(0px, calc(16vw - 176px), 64px);
  }

  body.page-id-78 .dk-home-hero {
    min-height: calc(886px + var(--dk-hero-blend-extension)) !important;
  }

  body.page-id-78 .dk-home-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(0, 13, 16, 0) 0%,
        rgba(0, 13, 16, 0) 77%,
        rgba(0, 13, 16, .25) 82%,
        rgba(0, 13, 16, .65) 88%,
        rgba(0, 13, 16, .96) 93%,
        #000d10 100%
      ),
      linear-gradient(
        90deg,
        rgba(0, 10, 15, .68) 0%,
        rgba(0, 12, 18, .43) 27%,
        rgba(0, 12, 18, .13) 53%,
        rgba(0, 12, 18, 0) 80%
      ) !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap {
    background-color: #000d10 !important;
  }

  body:is(.page-id-78,.page-id-358) .dk-hero-lead-wrap .dk-hero-lead-inner {
    /* Reference screenshot leaves more breathing room below the four feature
       captions before the enquiry panel begins. Reduce the upward overlap
       without changing the panel dimensions or the hero blend. */
    margin-top: calc(3px - var(--dk-hero-blend-extension)) !important;
  }
}

