/* =============================================================
   inner.css — Inner page styles (all pages except homepage)
   ============================================================= */

/* --- Inner Page Hero (green bar at top) --- */
.page-hero {
  margin-top: 72px;
  padding: 50px 20px 64px;
  background-color: #71ae30;
  background-image: url('../brand_assets/hero-bg.png');
  background-position: 0 0;
  background-size: 840px;
  text-align: center;
}
.page-hero-h1 {
  color: #fff;
  font-size: 46px;
  line-height: 62px;
  font-weight: 700;
  margin: 0 auto;
  max-width: 800px;
  padding-top: 16px;
}
.page-hero-sub {
  color: rgba(255,255,255);
  font-size: 20px;
  line-height: 32px;
  margin: 12px auto 0;
  max-width: 600px;
}
/* Two-column hero: full-width section, inner content constrained */
.page-hero-split {
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
}
.page-hero-split-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.page-hero-split .page-hero-h1 {
  text-align: left;
  font-size: 38px;
  line-height: 52px;
  margin: 0;
  padding-top: 0;
  max-width: none;
}
.page-hero-left { flex: 0 0 auto; }
.page-hero-right { flex: 0 0 auto; }
.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-features li {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  padding-left: 20px;
  position: relative;
  margin-bottom: 2px;
}
.hero-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: 700;
}
.section-green-h2 {
  color: #71ae30;
  margin-top: 48px;
  margin-bottom: 16px;
}

/* --- Företagslån page --- */
.foretagslan-section {
  padding: 60px 20px;
}
.foretagslan-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.foretagslan-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}
.foretagslan-col {
  flex: 1 1 29%;
  padding: 0 16px 0 0;
}
.foretagslan-col h3 {
  color: #71ae30;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 12px;
}
.foretagslan-col ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.foretagslan-col ul li {
  font-size: 15px;
  line-height: 26px;
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.foretagslan-col ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #374151;
}

.apply-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 1px 1px 8px 8px rgba(0,0,0,0.05);
}
.apply-box h2 { color: #71ae30; margin-top: 0; }
.apply-box p { font-size: 15px; line-height: 26px; }

.apply-cta-section {
  padding: 60px 20px 80px;
  background-color: #71ae30;
  background-image: url('../brand_assets/hero-bg.png');
  background-size: 650px;
  text-align: center;
}
.apply-cta-inner {
  max-width: 800px;
  margin: -60px auto 0;
  padding: 48px 40px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 1px 1px 8px 8px rgba(0,0,0,0.07);
}
.apply-cta-inner h2 { color: #71ae30; margin-top: 0; }
.cta-btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 5px;
  background-color: #71ae30;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: background-color 0.2s;
}
.cta-btn:hover { background-color: #5e9030; color: #fff; text-decoration: none; }
.cta-btn.red { background-color: #fd3d67; }
.cta-btn.red:hover { background-color: #c82050; }

/* --- FAQ Page redesign (upplandsparkapital.se style) --- */
.faq-new-hero {
  margin-top: 72px;
  padding: 64px 20px 36px;
  text-align: center;
}
.faq-new-hero h1 {
  font-size: 42px;
  line-height: 54px;
  font-weight: 700;
  color: #111;
  margin: 0 0 16px;
}
.faq-new-hero h1 em {
  color: #71ae30;
  font-style: italic;
}
.faq-new-hero p { font-size: 18px; color: #555; margin: 0; }
.faq-new-hero p a { color: #71ae30; }


.faq-groups {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}
.faq-group { margin-bottom: 52px; }
.faq-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
  padding-bottom: 16px;
}
.faq-group-title svg { flex-shrink: 0; }

/* --- FAQ Page (Vanliga frågor) — legacy kept for reference --- */
.faq-page-section {
  padding: 50px 20px 70px;
}
.faq-page-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.faq-category-title {
  color: #71ae30;
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(113,174,48,0.25);
}
.faq-page-inner h2:first-child { margin-top: 0; }

/* Accordion (FAQ page) */
.accordion-grid {
  display: block;
}
.accordion-wrapper { width: 100%; margin-bottom: 0; }
.accordion-item {
  border-top: 1px solid rgba(113,174,48,0.35);
}
.accordion-item:last-child { border-bottom: 1px solid rgba(113,174,48,0.35); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 14px 0;
}
.accordion-q {
  flex: 1;
  color: #71ae30;
  font-size: 17px;
  font-weight: 600;
  padding-right: 12px;
  font-family: 'Encode Sans', Helvetica, sans-serif;
}
.accordion-toggle {
  flex: 0 0 18px;
  position: relative;
  width: 18px;
  height: 18px;
}
.accordion-toggle::before,
.accordion-toggle::after {
  content: '';
  position: absolute;
  background-color: #71ae30;
  transition: transform 0.25s ease-out;
}
.accordion-toggle::before { top: 0; left: 50%; width: 2px; height: 100%; margin-left: -1px; }
.accordion-toggle::after  { top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; }
.accordion-item.open .accordion-toggle::before { transform: rotate(90deg); }
.accordion-item.open .accordion-toggle::after  { transform: rotate(180deg); }

.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.accordion-item.open .accordion-body { max-height: 800px; }
.accordion-body p {
  font-size: 15px;
  line-height: 25px;
  padding-bottom: 14px;
  margin: 0;
}
.accordion-body ul { padding-left: 20px; }
.accordion-body li { font-size: 15px; line-height: 26px; }
.accordion-body a { color: #71ae30; text-decoration: none; }
.accordion-body a:hover { text-decoration: underline; }

/* --- Om oss --- */
.about-section {
  padding: 60px 20px;
}
.about-group-section {
  padding: 56px 20px 60px;
  background: #f9fafb;
}
.about-inner {
  max-width: 860px;
  margin: 0 auto;
}
.about-inner h2 {
  color: #71ae30;
  margin-top: 36px;
}
.about-inner h2:first-child { margin-top: 0; }
.about-inner p { font-size: 15px; line-height: 26px; }

/* Service list with icons */
.about-service-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 8px;
}
.about-service-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  line-height: 26px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.about-service-list li:last-child { border-bottom: none; }
.about-service-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(113,174,48,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Why choose us — highlight cards */
.about-highlight-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 8px;
}
.about-highlight-grid--centered {
  justify-content: center;
}
.about-highlight-card {
  flex: 0 1 calc(40% - 8px);
  padding: 24px 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  border-top: 3px solid #71ae30;
  font-size: 15px;
  line-height: 24px;
  color: #444;
}
.about-highlight-card strong {
  display: block;
  font-size: 16px;
  color: #111;
  margin: 10px 0 8px;
}
.about-highlight-card p { font-size: 15px; line-height: 24px; margin: 0; }
.about-highlight-icon {
  display: block;
}

/* Subsidiary cards */
.about-subsidiaries {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 32px;
}
.about-subsidiary-card {
  flex: 1 1 220px;
  padding: 24px 22px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.08);
  position: relative;
}
.about-subsidiary-card.active {
  border-color: #71ae30;
  box-shadow: 0 4px 18px rgba(113,174,48,0.15);
}
.subsidiary-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0,0,0,0.06);
  color: #555;
  margin-bottom: 12px;
}
.subsidiary-badge.green {
  background: rgba(113,174,48,0.12);
  color: #71ae30;
}
.about-subsidiary-card h3 {
  font-size: 17px;
  color: #111;
  margin: 0 0 10px;
  line-height: 24px;
}
.about-subsidiary-card p {
  font-size: 14px;
  line-height: 22px;
  color: #555;
  margin: 0;
}

/* Contact grid */
.about-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  margin: 20px 0 40px;
}
.about-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 26px;
  color: #333;
}
.about-contact-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(113,174,48,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.about-contact-link {
  color: #71ae30;
  text-decoration: none;
}
.about-contact-link:hover { text-decoration: underline; }

/* GDPR prose */
.about-gdpr-h4 {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin: 28px 0 8px;
}
.about-gdpr-list {
  padding-left: 22px;
  margin: 10px 0 20px;
}
.about-gdpr-list li {
  font-size: 15px;
  line-height: 26px;
  color: #333;
}

/* Documents section */
.about-docs-section {
  padding: 72px 20px 80px;
  background-color: #d4e0c8;
  background-image: url('../brand_assets/hero-bg.png');
  background-size: 840px;
  text-align: center;
}
.about-docs-section h2 {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin: 0 0 12px;
}
.about-docs-subtitle {
  font-size: 15px;
  color: #555;
  margin: 0 0 40px;
}
.about-docs-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.about-docs-group-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a2e1a;
  margin: 0 0 14px;
}
.about-doc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  transition: box-shadow 0.2s;
}
.about-doc-row:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #111;
}
.about-doc-icon {
  flex: 0 0 32px;
  color: #71ae30;
}

/* GDPR grid */
.about-gdpr-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 8px;
}
.about-gdpr-item {
  flex: 1 1 220px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(113,174,48,0.05);
  border: 1px solid rgba(113,174,48,0.15);
}
.about-gdpr-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #71ae30;
  margin: 0 0 8px;
}
.about-gdpr-item p {
  font-size: 14px;
  line-height: 22px;
  margin: 0;
  color: #444;
}

.about-org-box {
  background: rgba(113,174,48,0.08);
  border-left: 4px solid #71ae30;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 32px 0;
}
.about-org-box p { font-size: 15px; line-height: 26px; margin: 0 0 6px; }
.about-org-box p:last-child { margin: 0; }

/* --- Investera hero features (centered) --- */
.page-hero .hero-features--center {
  display: inline-block;
  margin-top: 24px;
  text-align: left;
}

/* --- Investera feature blocks --- */
.invest-features-section {
  padding: 56px 20px;
  background: #fff;
}
.invest-features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.invest-feature-card {
  padding: 32px 28px;
  text-align: center;
}
.invest-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.invest-feature-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.invest-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #71ae30;
  margin: 0 0 16px;
}
.invest-feature-card p {
  font-size: 15px;
  line-height: 26px;
  color: #444;
  margin: 0;
}

/* --- Investera financial reports --- */
.invest-reports-section {
  padding: 48px 20px 56px;
  background-color: #d4e0c8;
  background-image: url('../brand_assets/hero-bg.png');
  background-size: 840px;
}
.invest-reports-inner {
  max-width: 860px;
  margin: 0 auto;
}
.invest-reports-cols {
  display: grid;
  grid-template-columns: 2fr 1.55fr;
  gap: 20px;
  align-items: start;
}
.invest-reports-col {
  background: #fff;
  border-radius: 14px;
  padding: 28px 28px 24px;
}
.invest-col-icon {
  width: 52px;
  height: 52px;
  background: rgba(113,174,48,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71ae30;
  margin-bottom: 16px;
}
.invest-reports-col h2 {
  color: #111;
  font-size: 20px;
  margin: 0 0 16px;
}
.invest-reports-list {
  display: flex;
  flex-direction: column;
}
.invest-report-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: color 0.15s;
}
.invest-report-link:last-child { border-bottom: none; }
.invest-report-link:hover { color: #71ae30; }
.invest-report-link span { flex: 1; }
.invest-report-arrow { color: #bbb; flex-shrink: 0; }
.invest-report-link:hover .invest-report-arrow { color: #71ae30; }
.invest-upcoming-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}
.invest-upcoming-table td {
  padding: 11px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.invest-upcoming-table tr:last-child td { border-bottom: none; }
.invest-upcoming-table td:first-child {
  font-size: 14px;
  color: #222;
}
.invest-upcoming-table td:last-child {
  text-align: right;
  font-size: 13px;
  color: #888;
  font-weight: 400;
  white-space: nowrap;
  padding-left: 12px;
}
@media (max-width: 640px) {
  .invest-reports-cols { grid-template-columns: 1fr; gap: 16px; }
}

/* --- Investera registration block --- */
.invest-reg-section {
  padding: 60px 20px;
  background: #f9fafb;
}
.invest-reg-box {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 48px 52px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.invest-reg-box h2 {
  color: #71ae30;
  margin: 0 0 24px;
}
.invest-reg-box p {
  font-size: 15px;
  line-height: 26px;
}

/* --- Investera interest form --- */
.invest-interest-form {
  max-width: 100%;
  margin-top: 24px;
}
.invest-interest-fields {
  margin-bottom: 0;
}
.form-error {
  display: none;
  padding: 20px 24px;
  background: rgba(253,61,103,0.07);
  border: 1px solid #fd3d67;
  border-radius: 6px;
  color: #8b0020;
  font-size: 15px;
  margin-top: 12px;
}
.form-error p { margin: 6px 0 16px; color: #8b0020; font-size: 14px; }
.form-retry {
  background: #fd3d67;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.form-retry:hover { background: #c82050; }

/* --- Investera FAQ wider inner --- */
.invest-faq-inner {
  max-width: 1100px;
}

/* --- Investera --- */
.invest-section {
  padding: 60px 20px;
}
.invest-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.invest-inner h2 {
  color: #71ae30;
  margin-top: 36px;
}
.invest-inner h2:first-child { margin-top: 0; }
.invest-inner p { font-size: 15px; line-height: 26px; }

.invest-highlight {
  background: rgba(113,174,48,0.08);
  border-left: 4px solid #71ae30;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}
.invest-highlight p { font-size: 15px; margin: 0; line-height: 26px; }

.invest-reg-subheading {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px;
  line-height: 1.5;
}

.invest-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 16px;
}
.invest-table th {
  background: #71ae30;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: 'Encode Sans', sans-serif;
  font-weight: 600;
}
.invest-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.invest-table tr:nth-child(even) td { background: rgba(113,174,48,0.04); }

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-size: 16px;
}
.fee-table th {
  background: #71ae30;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-family: 'Encode Sans', sans-serif;
}
.fee-table td { padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,0.07); }
.fee-table tr:last-child td { border-bottom: none; }

/* --- Kontakt --- */
.contact-hero {
  margin-top: 72px;
  padding: 50px 20px 80px;
  background-color: #71ae30;
  background-image: url('../brand_assets/hero-bg.png');
  background-size: 840px;
  text-align: center;
}
.contact-hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 12px;
}
.contact-hero p { color: rgba(255,255,255,0.9); font-size: 15px; margin: 0; }

.contact-section {
  background: #f9fafb;
  padding: 56px 20px 64px;
}
.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.contact-form-box {
  padding: 40px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 30px -4px rgba(0,0,0,0.12);
}
.contact-form-box h2 { color: #71ae30; margin-top: 0; }
.contact-intro {
  max-width: 800px;
  margin: 0 auto 32px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}
.contact-info-box {
  padding: 32px 28px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 30px -4px rgba(0,0,0,0.12);
}
.contact-info-box h3 { color: #71ae30; margin-top: 0; font-size: 20px; }
.contact-info-box p { font-size: 15px; line-height: 24px; margin-bottom: 14px; }
.contact-info-box a { color: #71ae30; }
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.contact-info-left, .contact-info-right { min-width: 0; }
.contact-docs-section {
  padding: 0 20px 64px;
}
.contact-docs-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.contact-docs-inner h3 {
  color: #71ae30;
  font-family: 'Encode Sans', sans-serif;
  font-size: 20px;
  margin: 0 0 12px;
}
.contact-docs-inner p {
  font-size: 15px;
  line-height: 26px;
  margin: 0;
}

.form-row { margin-bottom: 20px; }
.form-row-split { display: flex; gap: 20px; }
.form-row-split .form-row { flex: 1; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.22);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #333;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row textarea:focus { border-bottom-color: rgba(113,174,48,0.7); }
.form-row textarea { min-height: 110px; resize: vertical; }
.form-submit {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 5px;
  background-color: #71ae30;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
  transition: background-color 0.2s;
}
.form-submit:hover { background-color: #5e9030; }
.form-success {
  display: none;
  padding: 20px 24px;
  background: rgba(113,174,48,0.1);
  border: 1px solid #71ae30;
  border-radius: 6px;
  color: #3a6010;
  font-size: 15px;
  margin-top: 12px;
}
.form-success p { margin: 6px 0 0; color: #3a6010; font-size: 14px; }

/* --- Contact CTA banner (shared with homepage) --- */
.form-contact-wrapper {
  padding: 60px 20px;
  background-color: #71ae30;
  background-image: url('../brand_assets/hero-bg.png');
  background-size: 650px;
  text-align: center;
}
.faq-form-heading {
  color: #fff;
  margin: 0 0 18px;
}
.more-question-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 5px;
  background-color: #fff;
  color: #71ae30;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}
.more-question-btn:hover { background-color: #f0f0f0; color: #5e9030; text-decoration: none; }

/* --- Inline link (used in body copy across inner pages) --- */
.inline-link {
  color: #71ae30;
  text-decoration: none;
}
.inline-link:hover { color: #5e9030; text-decoration: underline; }

/* --- Responsive inner pages --- */
@media (max-width: 767px) {
  .invest-features-inner { grid-template-columns: 1fr; }
  .invest-interest-fields { flex-direction: column; }
  .page-hero-split-inner { flex-direction: column; gap: 20px; }
  .page-hero-split .page-hero-h1 { font-size: 30px; line-height: 42px; }
  .page-hero-h1 { font-size: 34px; line-height: 46px; }
  .foretagslan-columns { flex-direction: column; }
  .accordion-grid { flex-direction: column; }
  .accordion-wrapper { width: 100%; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .apply-cta-inner { margin-top: -30px; padding: 32px 24px; }
  .about-highlight-grid { flex-direction: column; }
  .about-subsidiaries { flex-direction: column; }
  .about-contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-gdpr-grid { flex-direction: column; }
  .contact-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .form-row-split { flex-direction: column; gap: 0; }
  .invest-reg-box { padding: 32px 24px; }
  .page-hero { padding: 36px 16px 52px; }
  .page-hero-h1 { font-size: 28px; line-height: 38px; }
  .contact-form-box { padding: 24px 20px; }
  .contact-info-box { padding: 24px 20px; }
  .apply-cta-inner { padding: 24px 16px; }
  .invest-table, .fee-table { font-size: 14px; }
  .invest-table th, .fee-table th,
  .invest-table td, .fee-table td { padding: 8px 10px; }
}

/* =============================================================
   Investment Application Form (INVEST_FORM_ENABLED = true)
   ============================================================= */

/* Hero CTA button */
.hero-invest-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  background: #fff;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.hero-invest-btn:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}
.hero-invest-bankid {
  height: 28px;
  width: auto;
  display: block;
}

.invest-apply-section {
  background: #f7f8f5;
  padding: 60px 20px;
}
.invest-apply-inner {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 52px;
}
.invest-app-step h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1a1a1a;
}
.invest-app-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #1a1a1a;
}
.invest-steps-list {
  margin: 0 0 32px 20px;
  padding: 0;
  color: #444;
  line-height: 1.8;
}

/* ── Slider + ROI ── */
.invest-calc-row {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eee;
}
.invest-calc-left { flex: 1; }
.invest-calc-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.invest-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.invest-slider-label { font-size: 15px; color: #555; }
.invest-slider-value { font-size: 18px; font-weight: 700; color: #71ae30; }
.invest-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #d4e8b8;
  outline: none;
  cursor: pointer;
}
.invest-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #71ae30;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(113,174,48,0.4);
}
.invest-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #71ae30;
  cursor: pointer;
}
.invest-total-label {
  font-size: 14px;
  color: #777;
  margin-top: 20px;
}
.invest-total-value {
  font-size: 42px;
  font-weight: 700;
  color: #71ae30;
  line-height: 1.1;
  margin-top: 4px;
}
.invest-roi-row {
  font-size: 14px;
  color: #555;
}
.invest-roi-row.big {
  font-size: 16px;
  color: #222;
}
.invest-roi-row strong { color: #71ae30; }

/* ── Form sections ── */
.invest-form-section {
  margin-bottom: 28px;
}
.invest-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.invest-section-desc {
  font-size: 14px;
  color: #666;
  margin: 0 0 14px;
  line-height: 1.6;
}
.invest-field-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.invest-field-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.invest-field-row--single .invest-field-group {
  max-width: calc(50% - 10px);
}
.invest-field-group label {
  font-size: 13px;
  color: #555;
  font-weight: 500;
}
.invest-input {
  border: none;
  border-bottom: 1.5px solid #ccc;
  border-radius: 0;
  padding: 8px 0;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}
.invest-input:focus { border-bottom-color: #71ae30; }
.invest-input-inline {
  border: none;
  border-bottom: 1.5px solid #ccc;
  padding: 4px 0;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
  outline: none;
  width: 160px;
  margin-left: 8px;
}

/* ── Radio + Checkbox ── */
.invest-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.invest-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
}
.invest-radio-label input[type=radio] {
  accent-color: #71ae30;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.invest-checks-row {
  display: flex;
  gap: 40px;
}
.invest-checks-row .invest-form-section { flex: 1; }
.invest-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  cursor: pointer;
}
.invest-check-label input[type=checkbox] {
  accent-color: #71ae30;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Submit button ── */
.invest-submit-btn {
  display: inline-block;
  background: #71ae30;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  padding: 16px 48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
  min-width: 220px;
}
.invest-submit-btn:hover { background: #5e9628; }
.invest-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* ── Error block ── */
.invest-error-wrapper {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
  color: #dc2626;
}
.invest-error-wrapper p { margin: 6px 0 0; font-size: 14px; color: #555; }

.loan-example-note {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  line-height: 1.5;
}

/* ── Hidden utility ── */
.hidden { display: none !important; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .invest-apply-inner { padding: 32px 24px; }
  .invest-calc-row { flex-direction: column; gap: 24px; }
  .invest-total-value { font-size: 32px; }
  .invest-field-row { flex-direction: column; gap: 16px; }
  .invest-field-row--single .invest-field-group { max-width: 100%; }
  .invest-checks-row { flex-direction: column; gap: 0; }
}
@media (max-width: 479px) {
  .invest-apply-inner { padding: 24px 16px; }
  .invest-app-step h2 { font-size: 22px; }
}
