/* ==========================================================================
   Lings-Teknik — custom visual layer (loaded after theme.css)
   Brand colours taken from the building signage: vivid blue + lime green.
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;      /* variable font */
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-blue:      #1c6db5;
  --brand-blue-dark: #12325a;
  --brand-green:     #a3c33f;
  --ink:             #1f2d3a;
  --muted:           #5c6b78;
  --hairline:        #e6eaee;

  /* re-point the theme's own font + button variables */
  --font-stack-body:   'Manrope', Helvetica, Arial, sans-serif;
  --font-stack-header: 'Manrope', Helvetica, Arial, sans-serif;
  --color-btn-primary: var(--brand-blue);
  --color-text-link:   var(--brand-blue);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-stack-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .h1, .h2, .h3, .mega-title {
  font-family: var(--font-stack-header);
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* Wider, calmer container + generous section rhythm ----------------------- */
.page-width { max-width: 1120px; }
.index-section { padding: clamp(2.75rem, 6vw, 5.5rem) 0; }
.index-section--flush { padding: 0; }

.section-header { margin-bottom: 2.2rem; }
.section-header .h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  position: relative;
  display: inline-block;
  padding-bottom: .7rem;
}
.section-header .h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 54px; height: 4px;
  transform: translateX(-50%);
  background: var(--brand-green);
  border-radius: 2px;
}

/* ==========================================================================
   HERO — split layout (text panel + photo, no text-over-photo)
   ========================================================================== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
}
.hero-split__text {
  background: var(--brand-blue-dark);
  color: #fff;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.hero-split__inner { max-width: 34rem; }
.hero-split__media { position: relative; }
.hero-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;
  font-size: .8rem;
  color: var(--brand-green);
  margin: 0 0 1rem;
}
.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.06;
  margin: 0;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  font-weight: 500;
  color: #cdd9e6;
  margin: 1.3rem 0 2.1rem;
  line-height: 1.65;
}
.hero-cta {
  display: inline-block;
  background: var(--brand-green);
  color: var(--brand-blue-dark);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: .95em 2.2em;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hero-cta:hover {
  background: #b4d34f;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
}

/* ==========================================================================
   STAT numbers (the "5.000+" / "100+" feature headings)
   ========================================================================== */
.h3:has(.stat-num) { display: flex; flex-direction: column; gap: .2rem; }
.stat-num {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-blue);
}
.stat-word {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

/* Content images — soften + lift --------------------------------------------*/
.custom__image { border-radius: 16px; }
.custom__item--image img { box-shadow: 0 14px 34px rgba(20,50,80,.14); }
.custom__item-inner--text .rte p { color: var(--muted); line-height: 1.65; }

/* ==========================================================================
   TEAM  (section id from the Shopify export)
   ========================================================================== */
#shopify-section-1632423898ff99b3a1 {
  background: #f4f7fa;
  /* extra grey breathing room below the team cards, before the dark footer */
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}
#shopify-section-1632423898ff99b3a1 .custom__item-inner--text {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 4px 16px rgba(20,50,80,.05);
  height: 100%;
  transition: transform .15s ease, box-shadow .15s ease;
}
#shopify-section-1632423898ff99b3a1 .custom__item-inner--text:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(20,50,80,.12);
}
#shopify-section-1632423898ff99b3a1 .h3 { color: var(--brand-blue-dark); font-size: 1.15rem; }
#shopify-section-1632423898ff99b3a1 .rte p:first-child {
  color: var(--brand-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .78rem;
  margin-bottom: .5rem;
}
#shopify-section-1632423898ff99b3a1 a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  text-transform: none;   /* keep emails/phones lower-case even inside an uppercased role line */
}
#shopify-section-1632423898ff99b3a1 a:hover { color: var(--brand-blue); text-decoration: underline; }

/* ==========================================================================
   LANGUAGE TOGGLE  (replaces the broken JS dropdown)
   ========================================================================== */
.lang-toggle {
  display: inline-flex;
  gap: .2rem;
  background: #eef2f5;
  border-radius: 999px;
  padding: .22rem;
}
.lang-toggle a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .72rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.lang-toggle a:hover { color: var(--brand-blue-dark); }
.lang-toggle a.active {
  background: #fff;
  color: var(--brand-blue);
  box-shadow: 0 1px 3px rgba(0,0,0,.14);
}
.lang-toggle img { width: 1.15em; height: auto; border-radius: 2px; }

/* ==========================================================================
   CONTACT FOOTER  (slim replacement for the removed Shopify footer)
   ========================================================================== */
.site-contact {
  background: var(--brand-blue-dark);
  color: #dfe8f2;
  padding: 2.8rem 0;                         /* vertical only; .page-width handles width */
}
.site-contact__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  font-size: .96rem;
  line-height: 1.7;
}
.site-contact strong { color: #fff; }
.site-contact a { color: #fff; text-decoration: none; }
.site-contact a:hover { text-decoration: underline; }
.site-contact .muted { opacity: .55; }

@media (max-width: 899px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-split__media { order: -1; height: 42vw; min-height: 220px; max-height: 340px; }
  .hero-split__text { padding: clamp(2rem, 8vw, 3rem); }
  .hero-split__inner { max-width: none; }
}
@media (max-width: 749px) {
  .site-contact__inner { grid-template-columns: 1fr; gap: 1.1rem; text-align: center; }
}
