/* ═══════════════════════════════════════════
   I-RON — Fælles stylesheet
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0d0d0d;
  --surface:  #161616;
  --surface2: #1f1f1f;
  --border:   #2a2a2a;
  --text:     #d0d0d0;
  --muted:    #777;
  --accent:   #e85c00;
  --accent-h: #ff7a1a;
  --white:    #f0f0f0;
  --nav-h:    64px;
  --max-w:    1120px;
  --radius:   4px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }
button { font-family: inherit; }


/* ─── NAVIGATION ─── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(13,13,13,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo-text span { color: var(--accent); }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--accent); }

.nav-links .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 20px;
}

.nav-links .nav-cta:hover { background: var(--accent-h); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 190;
  flex-direction: column;
  padding: 32px 5% 40px;
  gap: 8px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid var(--border);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  display: block;
  text-decoration: none;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); }

.mobile-menu .mob-cta {
  margin-top: 24px;
  background: var(--accent);
  color: #fff !important;
  text-align: center;
  border-radius: var(--radius);
  border-bottom: none;
  font-size: 1rem;
  padding: 16px;
}

.mobile-menu .mob-cta:hover { background: var(--accent-h); }

.mob-contact-info {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.mob-contact-info p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.mob-contact-info a {
  border: none !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 6px 0 !important;
}


/* ─── BUTTONS ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,92,0,0.3); }

.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }


/* ─── HERO (Forside) ─── */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 65%, rgba(232,92,0,0.07) 0%, transparent 70%),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.013) 59px, rgba(255,255,255,0.013) 60px),
    repeating-linear-gradient(0deg,  transparent, transparent 59px, rgba(255,255,255,0.013) 59px, rgba(255,255,255,0.013) 60px);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 28px;
}

.hero-label::before, .hero-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* Logo */
.logo {
  width: 200px;
  position: relative;
  top: 70px;
}



/* ─── PAGE HEADER (inner pages) ─── */

.page-header {
  padding: calc(var(--nav-h) + 60px) 5% 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
}

.page-header-inner { max-width: var(--max-w); margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.breadcrumb a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
}


/* ─── LAYOUT HELPERS ─── */

.container { max-width: var(--max-w); margin: 0 auto; }

section { padding: 88px 5%; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-text {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 30%, var(--border) 70%, transparent 100%);
  margin: 0 5%;
}

.surface-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


/* ─── STATS BAR ─── */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  background: var(--surface);
  padding: 36px 24px;
  text-align: center;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}


/* ─── SERVICE CARDS ─── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-4px); border-color: #333; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 18px;
}

.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}


/* ─── 2-COL GRID ─── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.two-col.align-start { align-items: start; }


/* ─── WHY LIST ─── */

.why-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }

.why-item { display: flex; gap: 16px; align-items: flex-start; }

.why-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.why-text strong { display: block; color: var(--white); font-size: 0.92rem; margin-bottom: 4px; }
.why-text p { color: var(--muted); font-size: 0.87rem; line-height: 1.65; }


/* ─── TESTIMONIALS ─── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  padding: 28px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--white);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
}


/* ─── PROCESS STEPS ─── */

.process-steps { display: flex; flex-direction: column; gap: 0; }

.process-step { display: flex; gap: 20px; }

.process-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-circle {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 28px;
  background: var(--border);
  margin: 6px 0;
}

.process-step:last-child .step-line { display: none; }

.process-step-content { padding-bottom: 28px; }
.process-step-content strong { display: block; color: var(--white); font-size: 0.92rem; margin-bottom: 4px; }
.process-step-content p { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }


/* ─── HIGHLIGHT BOX ─── */

.highlight-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 28px;
}

.highlight-box-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.highlight-box strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 5px; }
.highlight-box p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }


/* ─── CTA BANNER ─── */

.cta-banner {
  padding: 80px 5%;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(232,92,0,0.08) 0%, transparent 70%),
    var(--surface);
  border-top: 1px solid var(--border);
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cta-banner p { color: var(--muted); font-size: 1rem; margin-bottom: 32px; }


/* ─── CONTACT FORM & INFO ─── */

.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-item-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-item-value {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }

.form-group textarea { height: 130px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select option { background: #1f1f1f; }

.form-success {
  display: none;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(232,92,0,0.1);
  border: 1px solid rgba(232,92,0,0.3);
  color: var(--accent);
  font-size: 0.88rem;
  text-align: center;
}


/* ─── I-BEAM SVG STYLES ─── */

.ibeam-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ibeam-svg { filter: drop-shadow(0 8px 40px rgba(232,92,0,0.12)); }


/* ─── FOOTER ─── */

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 5%;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo-text { font-size: 1rem; font-weight: 900; color: var(--white); }
.footer-logo-text span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy { color: var(--muted); font-size: 0.78rem; }


/* ─── ABOUT PAGE – I-beam visual ─── */

.about-ibeam-col { position: relative; }


/* ═══════════════════════════════════════════
   RESPONSIVE – Tablet (≤ 1024px)
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .two-col { gap: 48px; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE – Mobile (≤ 768px)
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Nav */
  .nav-links { display: none !important; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 64px; }
  .hero-label { font-size: 0.65rem; }
  .hero-scroll { display: none; }
  .btn-group { justify-content: center; }
  .btn { padding: 13px 22px; font-size: 0.82rem; }

  /* Stats bar */
  .stats-bar { grid-template-columns: 1fr 1fr; }

  /* Page header */
  .page-header { padding-bottom: 48px; }

  /* Two-col layouts → single col */
  .two-col { grid-template-columns: 1fr; gap: 40px; }

  /* On mobile, reverse order so text comes first on about page */
  .two-col.img-right .about-ibeam-col { order: -1; }

  /* Services grid → 1 col on small screens */
  .services-grid { grid-template-columns: 1fr; }

  /* Form row */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  /* Sections */
  section { padding: 64px 5%; }

  /* CTA banner */
  .cta-banner { padding: 64px 5%; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 28px 16px; }
  .stat-num { font-size: 2rem; }
}
