/* ==========================================================================
   vpn.se — en tjänst från InfraCom. Fristående SEO-/innehållssajt om
   företags-VPN och säker fjärråtkomst. EGEN canonical (ej redirect).
   Brand: InfraCom teal #055559 + orange #ea5b0c.
   ========================================================================== */
:root {
  --teal-dark:   #055559;
  --teal-darker: #033236;
  --teal-soft:   #e6f0ed;
  --orange:      #ea5b0c;
  --orange-dark: #c24a08;
  --orange-soft: #fdeee2;
  --text-dark:   #1a1a1a;
  --text-mid:    #404040;
  --text-light:  #6b7280;
  --border:      #e2e8eb;
  --offwhite:    #f7faf9;
  --white:       #ffffff;
  --radius:      14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--text-mid);
  background: var(--white); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--teal-dark); line-height: 1.18; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: 44px; } h2 { font-size: 30px; } h3 { font-size: 20px; }
p { margin: 0 0 16px; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); }
strong { color: var(--text-dark); font-weight: 700; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--teal-dark); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,0.18); }
.header__inner { max-width: 1140px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__brand { display: inline-flex; align-items: baseline; gap: 10px; }
.header__brand .mark { font-size: 24px; font-weight: 800; letter-spacing: .5px; color: #fff; }
.header__brand .mark b { color: var(--orange); font-weight: 800; }
.header__brand .tag { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: rgba(255,255,255,0.9); font-size: 14.5px; font-weight: 600; }
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav__cta { background: var(--orange); color: #fff !important; padding: 9px 18px; border-radius: 8px; }
.main-nav__cta:hover { background: var(--orange-dark); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* Hero */
.page-hero { background: linear-gradient(160deg, var(--teal-soft) 0%, var(--white) 70%); padding: 72px 0 64px; }
.page-hero__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.page-hero--centered .page-hero__inner { grid-template-columns: 1fr; text-align: center; max-width: 820px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero__lead { font-size: 19px; color: var(--text-mid); margin-bottom: 28px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero--centered .hero-cta-row { justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 8px; font-weight: 700; font-size: 15px; letter-spacing: .3px; transition: .15s; border: 2px solid transparent; cursor: pointer; }
.btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--teal-dark); border-color: var(--border); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.link-arrow { font-weight: 700; color: var(--orange-dark); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Glyph panel */
.glyph-panel { border-radius: 18px; padding: 56px; display: flex; align-items: center; justify-content: center; min-height: 280px;
  background: radial-gradient(circle at 30% 25%, rgba(234,91,12,0.10), transparent 60%), var(--teal-soft); border: 1px solid var(--border); }
.glyph-panel svg { width: 124px; height: 124px; color: var(--teal-dark); }

/* Sections */
.feature-section { padding: 72px 0; }
.feature-section--offwhite { background: var(--offwhite); }
.section-title-center { text-align: center; margin-bottom: 14px; }
.section-title-center::after { content: ""; display: block; width: 56px; height: 4px; background: var(--orange); border-radius: 2px; margin: 16px auto 0; }
.section-intro { text-align: center; max-width: 700px; margin: 0 auto 44px; color: var(--text-mid); font-size: 17px; }

/* Trust strip */
.trust-strip { background: var(--teal-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip__inner { max-width: 1140px; margin: 0 auto; padding: 22px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trust-strip__item { color: var(--teal-dark); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.trust-strip__item::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; transition: .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 12px 28px rgba(8,85,90,0.12); }
.card__icon { width: 46px; height: 46px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 16px; }
.card .link-arrow { margin-top: auto; font-size: 14.5px; }

/* Split */
.split-section { padding: 72px 0; }
.split-section__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-section__text h2 { margin-bottom: 16px; }

/* Bullet list */
.bullet-list { list-style: none; margin: 0 0 22px; }
.bullet-list li { position: relative; padding-left: 28px; margin-bottom: 11px; color: var(--text-mid); }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 11px; height: 11px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.bullet-list li strong { color: var(--text-dark); }

/* Prose (guide pages) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin: 36px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }
.prose .lead { font-size: 18px; color: var(--text-mid); margin-bottom: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { padding: 22px 0; border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__item h3 { font-size: 18px; margin-bottom: 8px; color: var(--teal-dark); }
.faq__item p { margin: 0; color: var(--text-mid); }

/* Callout (in-content CTA) */
.callout { background: var(--teal-soft); border-left: 4px solid var(--orange); border-radius: 10px; padding: 22px 24px; margin: 28px 0; }
.callout p { margin: 0 0 12px; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-darker) 100%); color: #fff; padding: 60px 0; }
.cta-section--centered { text-align: center; }
.cta-section__inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 26px; font-size: 17px; }
.cta-section .eyebrow { color: #7ec4ec; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--teal-darker); color: rgba(255,255,255,0.8); padding: 52px 0 28px; font-size: 14.5px; }
.footer__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer__brand .mark { font-size: 22px; font-weight: 800; color: #fff; }
.footer__brand .mark b { color: var(--orange); }
.footer__brand p { font-size: 14px; max-width: 300px; margin-top: 12px; }
.footer__col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { color: rgba(255,255,255,0.8); }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,0.6); }
.footer__bottom a { color: rgba(255,255,255,0.75); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; } .reveal--d2 { transition-delay: .16s; } .reveal--d3 { transition-delay: .24s; }

@media (max-width: 880px) {
  h1 { font-size: 34px; } h2 { font-size: 26px; }
  .page-hero__inner, .split-section__inner { grid-template-columns: 1fr; }
  .page-hero__image { order: -1; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .burger { display: flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--teal-dark); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 24px; }
}
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }
