/* ==========================================================================
   Teletek — stylesheet
   Komponentbiblioteket är samma familj som IC_Webb (page-hero, feature-section,
   capability-strip, consequence-row, split-section, cta-section) men med
   Teletek-brandtokens: gul accent från loggan, behåller teal-dark som primärt
   mörkt komplement för att signalera "del av InfraCom-familjen".
   ========================================================================== */

:root {
  /* Brand tokens */
  --yellow:        #ffe100;   /* Teletek chevrons — primär CTA + accent */
  --yellow-hover:  #ffd700;
  --yellow-soft:   #fff7c5;
  --teal-dark:     #055559;   /* InfraCom-arv — hero, footer, dark sections */
  --teal-darker:   #033236;
  --teal-soft:     #e6f0ed;
  --text-dark:     #1a1a1a;
  --text-mid:      #4a5454;
  --text-light:    #6b7280;
  --border:        #e2e8eb;
  --offwhite:      #f7f5f0;
  --white:         #ffffff;
  --shadow-sm:     0 1px 1px rgba(8,85,90,0.03), 0 2px 8px rgba(8,85,90,0.05);
  --shadow-md:     0 1px 1px rgba(8,85,90,0.06), 0 4px 12px rgba(8,85,90,0.06), 0 16px 32px rgba(8,85,90,0.05);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p  { margin: 0 0 16px; color: var(--text-mid); }
a  { color: var(--teal-dark); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--yellow-hover); }
strong { font-weight: 700; color: var(--text-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 6px; color: var(--text-mid); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   Reveal animation (scroll-in)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }
.reveal--d4 { transition-delay: 0.4s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Header + navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(8,85,90,0.06);
  transition: height 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  height: 64px;
  box-shadow: 0 1px 0 rgba(8,85,90,0.08), 0 6px 20px rgba(0,0,0,0.04);
}
.header__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo img { height: 36px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 4px;
  position: relative;
}
.main-nav a:hover { color: var(--teal-dark); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}
.main-nav__cta {
  background: var(--text-dark);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.15s ease;
}
.main-nav__cta:hover { background: var(--teal-dark); color: var(--white) !important; }

/* Mobile burger */
.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav__cta { text-align: center; border-bottom: 0 !important; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--yellow);
  color: var(--text-dark);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--yellow);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); color: var(--text-dark); transform: translateY(-1px); }
.btn--dark { background: var(--text-dark); border-color: var(--text-dark); color: var(--white); }
.btn--dark:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--text-dark); }
.btn--ghost:hover { background: var(--yellow-soft); border-color: var(--yellow); color: var(--text-dark); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.link-arrow::after { content: "→"; transition: transform 0.15s ease; }
.link-arrow:hover { color: var(--teal-darker); }
.link-arrow:hover::after { transform: translateX(4px); }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
}

/* ==========================================================================
   Eyebrow + section headings
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.section-title-center {
  text-align: center;
  position: relative;
  padding-bottom: 18px;
  margin: 0 auto 16px;
}
.section-title-center::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 16px auto 0;
}
.section-eyebrow-center {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 8px;
}
.section-intro-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 16px;
  color: var(--text-mid);
}

/* ==========================================================================
   Page hero
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--teal-soft) 100%);
  padding: 80px 0 96px;
  overflow: hidden;
}
.page-hero--dark {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-darker) 100%);
  color: var(--white);
}
.page-hero--dark h1, .page-hero--dark h2, .page-hero--dark p, .page-hero--dark .eyebrow {
  color: var(--white);
}
.page-hero--dark .eyebrow { color: var(--yellow); }
.page-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.page-hero__text h1 { font-size: 48px; line-height: 1.1; margin-bottom: 24px; }
.page-hero__text p { font-size: 18px; line-height: 1.55; }
.page-hero__image img,
.page-hero__image picture { width: 100%; height: auto; border-radius: 16px; }
.page-hero__image--rounded img { box-shadow: var(--shadow-md); }

@media (max-width: 900px) {
  .page-hero { padding: 56px 0 64px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero__text h1 { font-size: 36px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
}

/* ==========================================================================
   Feature section (centered or split)
   ========================================================================== */
.feature-section {
  padding: 80px 0;
  background: var(--white);
}
.feature-section--offwhite { background: var(--offwhite); }
.feature-section--teal {
  background: var(--teal-dark);
  color: var(--white);
}
.feature-section--teal h2, .feature-section--teal p, .feature-section--teal h3 { color: var(--white); }
.feature-section--teal .section-title-center::after { background: var(--yellow); }

@media (max-width: 720px) { .feature-section { padding: 56px 0; } }

/* ==========================================================================
   Capability strip (teal band, 3-4 icons + titles)
   ========================================================================== */
.capability-strip {
  background: var(--teal-dark);
  color: var(--white);
  padding: 40px 0;
}
.capability-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.capability-strip--3col .capability-strip__inner { grid-template-columns: repeat(3, 1fr); }
.capability {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.capability__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 225, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}
.capability__icon svg { width: 22px; height: 22px; }
.capability__text { display: flex; flex-direction: column; gap: 4px; }
.capability__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: var(--white);
}
.capability__sub {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 900px) {
  .capability-strip__inner,
  .capability-strip--3col .capability-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
}
@media (max-width: 480px) {
  .capability-strip__inner,
  .capability-strip--3col .capability-strip__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Consequence row (numbered cards 3 or 4 across)
   ========================================================================== */
.consequence-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.consequence-row--four { grid-template-columns: repeat(4, 1fr); }
.consequence {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.consequence:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.consequence__num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--yellow-soft);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.consequence h3 { font-size: 18px; margin-bottom: 10px; }
.consequence p { margin: 0; font-size: 14px; }
@media (max-width: 900px) { .consequence-row, .consequence-row--four { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1100px) {
  .consequence-row--four { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Split section (text + image / image + text)
   ========================================================================== */
.split-section { padding: 80px 0; background: var(--white); }
.split-section--offwhite { background: var(--offwhite); }
.split-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-section--reverse .split-section__inner { direction: rtl; }
.split-section--reverse .split-section__text,
.split-section--reverse .split-section__image { direction: ltr; }
.split-section__text h2 { font-size: 30px; margin-bottom: 18px; }
.split-section__image img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-md); }
@media (max-width: 900px) {
  .split-section { padding: 56px 0; }
  .split-section__inner { grid-template-columns: 1fr; gap: 32px; direction: ltr !important; }
}

/* ==========================================================================
   Bullet list (cleaner spacing)
   ========================================================================== */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.bullet-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-mid);
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--yellow);
  transform: rotate(45deg);
}
.bullet-list li strong { color: var(--text-dark); }
.bullet-list--tight li { margin-bottom: 6px; }

/* ==========================================================================
   Price card
   ========================================================================== */
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  max-width: 460px;
  margin: 0 auto;
}
.price-card__lead {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.price-card__price {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.price-card__price small { font-size: 16px; font-weight: 600; color: var(--text-mid); }
.price-card__list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  border-top: 1px solid var(--border);
}
.price-card__list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-mid);
}
.price-card__list li strong { color: var(--text-dark); }

/* ==========================================================================
   Info card (callout box)
   ========================================================================== */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--yellow);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.info-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
}
.info-card__text h3 { font-size: 19px; margin-bottom: 8px; color: var(--text-dark); }
.info-card__text p { margin: 0; font-size: 15px; color: var(--text-mid); }

/* ==========================================================================
   CTA section
   ========================================================================== */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-darker) 100%);
  color: var(--white);
}
.cta-section--centered { text-align: center; }
.cta-section__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
.cta-section h2 { color: var(--white); font-size: 36px; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 28px; }
.cta-section .eyebrow { color: var(--yellow); }
.cta-section .hero-cta-row { justify-content: center; }
@media (max-width: 720px) { .cta-section { padding: 64px 0; } }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-form__row--single { grid-template-columns: 1fr; }
.contact-form__field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.contact-form__field .req { color: #b91c1c; }
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,225,0,0.18);
}
.contact-form__field textarea { resize: vertical; min-height: 120px; }
.contact-form__gdpr {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-mid);
  margin: 18px 0;
}
.contact-form__gdpr input { margin-top: 3px; flex-shrink: 0; }
.contact-form__submit { width: 100%; }
.contact-form__recaptcha-note {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 16px;
  text-align: center;
}
.contact-form__message {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  display: none;
}
.contact-form__message--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.contact-form__message--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.contact-form__message.is-visible { display: block; }
@media (max-width: 720px) {
  .contact-form { padding: 28px 22px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 14px; }
}

/* ==========================================================================
   Service-dir (list of links to subpages)
   ========================================================================== */
.service-dir__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-dir__list li { margin: 0; }
.service-dir__list a {
  display: block;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.service-dir__list a:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  box-shadow: var(--shadow-md);
}
.service-dir__list a::after {
  content: "→";
  position: absolute;
  top: 28px;
  right: 28px;
  color: var(--yellow);
  font-size: 20px;
  font-weight: 800;
  transition: transform 0.15s ease;
}
.service-dir__list a:hover::after { transform: translateX(4px); }
.service-dir__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  padding-right: 32px;
}
.service-dir__desc {
  display: block;
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.service-dir__cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal-dark);
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  width: 100%;
  transition: color 0.15s ease;
}
.service-dir__list a:hover .service-dir__cta { color: var(--text-dark); }
@media (max-width: 720px) { .service-dir__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--teal-darker);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--yellow); }
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer__brand img { height: 32px; margin-bottom: 20px; }
.footer__brand p { color: rgba(255,255,255,0.65); font-size: 14px; max-width: 320px; }
.footer__col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; font-size: 14px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 900px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   404
   ========================================================================== */
.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.not-found__code {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
  letter-spacing: -4px;
  margin-bottom: 16px;
}
.not-found h1 { font-size: 32px; }
.not-found p { color: var(--text-mid); max-width: 520px; }
