/* ═══════════════════════════════════════════════════════
   GRØNFORSYNING — Tilbudsside (Få tilbud)
   Two-column layout: info/trust + Elementor form
   ═══════════════════════════════════════════════════════ */

.gf-tilbud {
  margin: 0;
  padding: 0;
  background-color: var(--gf-white, #f8faf7);
  color: var(--gf-green-900, #0b1f15);
  font-family: var(--gf-font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.gf-tilbud *,
.gf-tilbud *::before,
.gf-tilbud *::after {
  box-sizing: border-box;
}

.gf-tilbud h1, .gf-tilbud h2, .gf-tilbud h3, .gf-tilbud h4 {
  margin: 0;
  line-height: 1.15;
}
.gf-tilbud p { margin: 0; }
.gf-tilbud a { text-decoration: none; color: inherit; }

/* ── Hero ── */
.gf-tilbud__hero {
  position: relative;
  background: linear-gradient(170deg, var(--gf-green-900, #0b1f15) 0%, var(--gf-green-800, #122a1c) 60%, var(--gf-green-700, #1a3d28) 100%);
  color: var(--gf-white, #f8faf7);
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(3rem, 6vh, 5rem);
  overflow: hidden;
}

.gf-tilbud__hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gf-tilbud__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.gf-tilbud__hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.gf-tilbud__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(196, 245, 66, .12);
  border: 1px solid rgba(196, 245, 66, .25);
  border-radius: 100px;
  padding: .4rem 1.1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gf-accent, #c4f542);
  margin-bottom: 1.5rem;
}

.gf-tilbud__title {
  font-family: var(--gf-font-display, 'DM Serif Display', serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
}

.gf-tilbud__title em {
  font-style: italic;
  color: var(--gf-accent, #c4f542);
}

.gf-tilbud__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--gf-stone-400, #b5b0a3);
  max-width: 560px;
  line-height: 1.65;
}

/* ── Main grid ── */
.gf-tilbud__main {
  padding: clamp(3rem, 6vh, 5rem) 0 clamp(4rem, 8vh, 6rem);
}

.gf-tilbud__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* ── Info column ── */
.gf-tilbud__info-title {
  font-family: var(--gf-font-display, 'DM Serif Display', serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--gf-green-900, #0b1f15);
}

/* Steps */
.gf-tilbud__steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.gf-tilbud__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.gf-tilbud__step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gf-green-900, #0b1f15);
  color: var(--gf-accent, #c4f542);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.gf-tilbud__step h3 {
  font-family: var(--gf-font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--gf-green-900, #0b1f15);
}

.gf-tilbud__step p {
  font-size: .92rem;
  color: var(--gf-stone-500, #8a8578);
  line-height: 1.6;
}

/* Trust items */
.gf-tilbud__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gf-stone-200, #e8e5dc);
}

.gf-tilbud__trust-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gf-green-800, #122a1c);
}

.gf-tilbud__trust-item svg {
  flex-shrink: 0;
  color: var(--gf-green-500, #2d7a4a);
  width: 20px;
  height: 20px;
}

/* ── Form column ── */
.gf-tilbud__form-card {
  background: var(--gf-white, #f8faf7);
  border: 1px solid var(--gf-stone-200, #e8e5dc);
  border-radius: 16px;
  box-shadow:
    0 1px 3px rgba(0,0,0,.04),
    0 8px 32px rgba(0,0,0,.06);
  overflow: hidden;
}

.gf-tilbud__form-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--gf-stone-200, #e8e5dc);
}

.gf-tilbud__form-header h2 {
  font-family: var(--gf-font-display, 'DM Serif Display', serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: .35rem;
  color: var(--gf-green-900, #0b1f15);
}

.gf-tilbud__form-header p {
  font-size: .85rem;
  color: var(--gf-stone-500, #8a8578);
}

.gf-tilbud__form-body {
  padding: 2rem;
}

/* ── Elementor form overrides ── */
.gf-tilbud__form-body .elementor-form {
  gap: 1rem;
}

.gf-tilbud__form-body .elementor-field-group {
  margin-bottom: .75rem;
}

.gf-tilbud__form-body .elementor-field-label {
  font-family: var(--gf-font-body, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  color: var(--gf-green-900, #0b1f15) !important;
  margin-bottom: .4rem !important;
}

.gf-tilbud__form-body .elementor-field-textual {
  font-family: var(--gf-font-body, 'Plus Jakarta Sans', sans-serif) !important;
  border: 1.5px solid var(--gf-stone-300, #d4d0c5) !important;
  border-radius: 10px !important;
  padding: .75rem 1rem !important;
  font-size: .95rem !important;
  color: var(--gf-green-900, #0b1f15) !important;
  background: #fff !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}

.gf-tilbud__form-body .elementor-field-textual:focus {
  border-color: var(--gf-green-500, #2d7a4a) !important;
  box-shadow: 0 0 0 3px rgba(45, 122, 74, .1) !important;
  outline: none !important;
}

.gf-tilbud__form-body .elementor-field-textual::placeholder {
  color: var(--gf-stone-400, #b5b0a3) !important;
}

.gf-tilbud__form-body textarea.elementor-field-textual {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Select dropdowns */
.gf-tilbud__form-body select.elementor-field-textual {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a8578' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem !important;
}

/* Submit button */
.gf-tilbud__form-body .elementor-button {
  font-family: var(--gf-font-body, 'Plus Jakarta Sans', sans-serif) !important;
  background: var(--gf-green-900, #0b1f15) !important;
  color: var(--gf-accent, #c4f542) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: .9rem 2rem !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  cursor: pointer !important;
  transition: background .25s ease, transform .15s ease !important;
  width: 100% !important;
}

.gf-tilbud__form-body .elementor-button:hover {
  background: var(--gf-green-800, #122a1c) !important;
  transform: translateY(-1px) !important;
}

.gf-tilbud__form-body .elementor-button:active {
  transform: translateY(0) !important;
}

/* Success message */
.gf-tilbud__form-body .elementor-message-success {
  background: rgba(45, 122, 74, .08) !important;
  border: 1px solid rgba(45, 122, 74, .2) !important;
  border-radius: 10px !important;
  padding: 1rem 1.25rem !important;
  color: var(--gf-green-700, #1a3d28) !important;
  font-weight: 500 !important;
}

/* ── Animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .gf-tilbud__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gf-tilbud__trust {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .gf-tilbud__hero {
    padding: 6rem 0 2.5rem;
  }

  .gf-tilbud__form-header {
    padding: 1.25rem 1.25rem 1rem;
  }

  .gf-tilbud__form-body {
    padding: 1.25rem;
  }

  .gf-tilbud__trust {
    grid-template-columns: 1fr;
  }

  .gf-tilbud__step-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
}
