/*
Theme Name: Lardo AB
Theme URI: https://www.lardo.nu
Author: Lardo AB
Description: Ett skräddarsytt, snabbt och responsivt tema för Lardo AB.
Version: 1.0.25
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: lardo
*/

:root {
  --black: #08090b;
  --charcoal: #111419;
  --panel: #171b21;
  --silver: #c9cdd2;
  --white: #f7f8fa;
  --muted: #a7adb6;
  --gold: #c6a35c;
  --gold-light: #ead9ad;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

/* Filmisk neonreveal vid första besöket i varje webbläsarflik */
.site-intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 76%, rgba(50, 74, 145, .22), transparent 32%),
    radial-gradient(circle at 50% 45%, rgba(120, 153, 231, .09), transparent 28%),
    linear-gradient(160deg, #02050a, #07101b 52%, #020409);
}
html.lardo-intro-ready .site-intro {
  display: grid;
  animation: lardo-intro-curtain .7s cubic-bezier(.4, 0, .2, 1) 2.3s forwards;
}
body.lardo-intro-active { overflow: hidden; }
.intro-stars {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(169, 195, 255, .65) 0 1px, transparent 1.8px),
    radial-gradient(circle at 76% 34%, rgba(255, 255, 255, .6) 0 1px, transparent 1.7px),
    radial-gradient(circle at 64% 72%, rgba(116, 154, 245, .65) 0 1px, transparent 1.8px),
    radial-gradient(circle at 31% 67%, rgba(255, 255, 255, .42) 0 1px, transparent 1.6px);
  background-size: 310px 240px, 420px 310px, 360px 270px, 280px 330px;
  animation: lardo-intro-stars 2.3s ease-out .15s both;
}
.intro-horizon {
  position: absolute;
  left: 50%;
  bottom: -34vh;
  width: min(980px, 112vw);
  height: min(500px, 54vh);
  border-top: 1px solid rgba(127, 159, 242, .45);
  border-radius: 50% 50% 0 0;
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(69, 95, 173, .26), rgba(8, 15, 31, .15) 35%, transparent 66%),
    repeating-radial-gradient(ellipse at 50% 0%, rgba(125, 151, 224, .05) 0 2px, transparent 3px 15px);
  box-shadow: 0 -8px 50px rgba(74, 106, 197, .16);
  filter: blur(.25px);
  animation: lardo-intro-horizon 2.35s cubic-bezier(.16, 1, .3, 1) .25s both;
}
.intro-emblem {
  position: relative;
  display: grid;
  width: min(500px, 84vw);
  min-height: 410px;
  place-items: center;
  perspective: 900px;
}
.intro-ring,
.intro-glow {
  position: absolute;
  width: min(430px, 76vw);
  aspect-ratio: 1;
  border-radius: 50%;
}
.intro-ring {
  opacity: 0;
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63% 64.5%, transparent 65.5%);
  mask: radial-gradient(circle, transparent 62%, #000 63% 64.5%, transparent 65.5%);
}
.intro-ring-one {
  background: conic-gradient(from 15deg, transparent 0 16%, rgba(170, 203, 255, .9) 23%, transparent 30% 57%, rgba(111, 146, 243, .74) 66%, transparent 75%);
  animation: lardo-intro-ring-one 1.75s cubic-bezier(.16, 1, .3, 1) .15s both;
}
.intro-ring-two {
  width: min(355px, 66vw);
  background: conic-gradient(from 170deg, transparent 0 35%, rgba(255, 255, 255, .85) 42%, transparent 49% 72%, rgba(198, 163, 92, .72) 80%, transparent 87%);
  filter: blur(.4px);
  animation: lardo-intro-ring-two 1.65s cubic-bezier(.16, 1, .3, 1) .35s both;
}
.intro-glow {
  width: min(330px, 60vw);
  background: radial-gradient(circle, rgba(180, 210, 255, .28), rgba(70, 105, 197, .12) 42%, transparent 71%);
  filter: blur(16px);
  animation: lardo-intro-glow 2s ease-out .2s both;
}
.intro-burst {
  position: absolute;
  z-index: 1;
  width: min(580px, 96vw);
  height: 3px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(116, 155, 255, .2) 28%, #fff 50%, rgba(116, 155, 255, .2) 72%, transparent);
  box-shadow: 0 0 18px rgba(146, 181, 255, .9), 0 0 55px rgba(80, 118, 221, .55);
  animation: lardo-intro-burst .85s ease-out .85s both;
}
.intro-shield {
  position: relative;
  z-index: 2;
  width: min(230px, 46vw);
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, .58));
  animation: lardo-intro-shield 1.55s cubic-bezier(.16, 1, .3, 1) .35s both;
}
.intro-flare {
  position: absolute;
  top: calc(50% + 104px);
  z-index: 3;
  width: min(270px, 54vw);
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  box-shadow: 0 0 9px rgba(151, 185, 255, .8);
  animation: lardo-intro-flare .95s ease-out 1.05s both;
}
.intro-wordmark {
  position: absolute;
  top: calc(50% + 138px);
  z-index: 2;
  color: #e6e9ef;
  font-size: clamp(.84rem, 1.7vw, 1.08rem);
  font-weight: 500;
  letter-spacing: .22em;
  text-indent: .22em;
  text-shadow: 0 0 18px rgba(136, 170, 255, .48);
  opacity: 0;
  animation: lardo-intro-wordmark .75s ease-out 1.35s forwards;
}

@keyframes lardo-intro-shield {
  from { opacity: 0; transform: translateY(32px) rotateX(16deg) scale(.56); filter: blur(10px) brightness(.4) drop-shadow(0 24px 42px rgba(0,0,0,.6)); }
  42% { opacity: 1; filter: blur(0) brightness(1.85) drop-shadow(0 0 28px rgba(183, 210, 255, .9)); }
  72% { transform: translateY(-4px) rotateX(0) scale(1.045); filter: blur(0) brightness(1.15) drop-shadow(0 0 19px rgba(142, 178, 255, .52)); }
  to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); filter: blur(0) brightness(1) drop-shadow(0 22px 38px rgba(0,0,0,.58)); }
}
@keyframes lardo-intro-ring-one {
  from { opacity: 0; transform: rotate(-115deg) scale(.55); }
  42% { opacity: .95; }
  to { opacity: .16; transform: rotate(95deg) scale(1.05); }
}
@keyframes lardo-intro-ring-two {
  from { opacity: 0; transform: rotate(130deg) scale(.62); }
  48% { opacity: .82; }
  to { opacity: .12; transform: rotate(-45deg) scale(1.08); }
}
@keyframes lardo-intro-glow {
  from { opacity: 0; transform: scale(.35); }
  48% { opacity: 1; }
  to { opacity: .4; transform: scale(1.28); }
}
@keyframes lardo-intro-burst {
  0% { opacity: 0; transform: scaleX(.08); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scaleX(1); }
}
@keyframes lardo-intro-flare {
  0% { opacity: 0; transform: scaleX(.08); }
  35% { opacity: .95; }
  100% { opacity: 0; transform: scaleX(1.2); }
}
@keyframes lardo-intro-wordmark {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lardo-intro-stars {
  from { opacity: 0; transform: scale(1.08); }
  35% { opacity: .46; }
  to { opacity: .16; transform: scale(1); }
}
@keyframes lardo-intro-horizon {
  from { opacity: 0; transform: translate(-50%, 48px) scale(.78); }
  55% { opacity: .8; }
  to { opacity: .32; transform: translate(-50%, 0) scale(1); }
}
@keyframes lardo-intro-curtain {
  to { opacity: 0; visibility: hidden; }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(8, 9, 11, 0.78);
  backdrop-filter: blur(16px);
}
.site-header.scrolled { border-color: var(--line); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; font-weight: 700; letter-spacing: .08em; }
.brand img { width: 45px; height: 45px; object-fit: contain; border-radius: 8px; }
.brand span { font-family: Georgia, serif; font-size: 1.12rem; letter-spacing: .13em; }
.main-nav { display: flex; align-items: center; gap: 26px; color: var(--silver); font-size: .92rem; }
.main-nav a:hover, .main-nav a:focus { color: var(--gold-light); }
.language-switch { display: inline-grid; min-width: 38px; min-height: 32px; place-items: center; padding: 0 9px; border: 1px solid rgba(198,163,92,.55); border-radius: 999px; color: var(--gold-light); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.language-switch:hover, .language-switch:focus-visible { border-color: var(--gold-light); color: #101216; background: var(--gold-light); }
.menu-toggle { display: none; border: 1px solid var(--line); color: var(--white); background: transparent; border-radius: 10px; padding: 9px 12px; font: inherit; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 92px;
  background:
    radial-gradient(circle at 80% 25%, rgba(198, 163, 92, .15), transparent 29%),
    radial-gradient(circle at 15% 75%, rgba(115, 130, 150, .12), transparent 31%),
    linear-gradient(135deg, #07080a 0%, #11151a 56%, #090a0c 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: center; gap: 56px; }
.hero-copy { min-width: 0; }
.eyebrow { color: var(--gold-light); text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 700; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.1; }
h1 { max-width: 760px; font-size: clamp(3rem, 4.8vw, 4.1rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.22rem; }
.lead { max-width: 720px; color: var(--silver); font-size: clamp(1.06rem, 1.7vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #101216;
  background: var(--gold);
  font-weight: 750;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); background: var(--gold-light); }
.button.secondary { color: var(--white); background: transparent; border-color: var(--line); }
.button.secondary:hover { border-color: var(--gold); }
.hero-mark { justify-self: end; width: min(340px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: 34px; background: rgba(255,255,255,.035); box-shadow: var(--shadow); }
.hero-mark img { width: 100%; border-radius: 16px; }

.trust-strip { border-block: 1px solid var(--line); background: #0e1014; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 30px 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 1.35rem; color: var(--gold-light); }
.trust-item span { color: var(--muted); font-size: .9rem; }

.section { padding: 110px 0; }
.section.alt { background: var(--charcoal); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; margin-bottom: 54px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { min-height: 310px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(198, 163, 92, .45);
  border-radius: 12px;
  color: var(--gold-light);
  background: rgba(198, 163, 92, .08);
}
.card-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 38px; }
.card p { color: var(--muted); margin-bottom: 0; }

.specialties { margin-top: 58px; padding-top: 42px; border-top: 1px solid var(--line); }
.specialties h3 { margin-top: 10px; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.specialties-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.specialties-grid li { display: flex; align-items: center; gap: 13px; min-height: 66px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 14px; color: var(--silver); background: rgba(255,255,255,.025); }
.specialty-icon { flex: 0 0 10px; width: 10px; height: 10px; border: 2px solid var(--gold); border-radius: 3px; transform: rotate(45deg); }

.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.expertise { padding: 34px; border-radius: var(--radius); background: #0c0e11; border: 1px solid var(--line); }
.expertise ul { margin: 20px 0 0; padding: 0; list-style: none; color: var(--silver); }
.expertise li { padding: 10px 0 10px 24px; border-top: 1px solid var(--line); position: relative; }
.expertise li::before { content: "—"; color: var(--gold); position: absolute; left: 0; }

.about-profile { display: grid; gap: 34px; }
.profile-header { display: grid; justify-items: center; text-align: center; }
.profile-portrait {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 210px;
  min-height: 0;
  aspect-ratio: 1;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 36%, rgba(198, 163, 92, .2), transparent 38%),
    linear-gradient(145deg, #181c23, #0c0e12);
  box-shadow: var(--shadow);
}
.profile-portrait::after {
  content: "";
  position: absolute;
  inset: auto 8% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 217, 173, .55), transparent);
}
.profile-portrait img { position: relative; z-index: 1; width: 100%; height: auto; object-fit: contain; }
.profile-header h2 { margin: .12em 0 .18em; font-size: clamp(2.15rem, 5vw, 3.2rem); }
.profile-copy { width: min(920px, 100%); margin-inline: auto; }
.profile-copy > p { max-width: 820px; margin-inline: auto; color: var(--muted); }
.profile-role { margin: 0; color: var(--gold-light) !important; font-size: 1.12rem; font-weight: 700; }
.profile-role span { margin-inline: .35em; color: var(--gold); }
.credential-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 30px; }
.credential { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: center; min-height: 92px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.credential-logo { display: grid; width: 84px; height: 56px; place-items: center; }
.credential-logo img { width: 76px; height: 48px; object-fit: contain; }
.credential-copy { min-width: 0; }
.credential-copy strong, .credential-copy small { display: block; }
.credential-copy strong { line-height: 1.25; }
.credential-copy small { margin-top: 3px; color: var(--muted); }
.profile-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 13px; }
.profile-link { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 15px; align-items: center; min-height: 80px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); transition: border-color .2s, background .2s, transform .2s; }
.profile-link:hover, .profile-link:focus-visible { border-color: rgba(198,163,92,.65); background: rgba(198,163,92,.08); transform: translateY(-2px); }
.profile-link-logo { display: grid; width: 64px; height: 50px; place-items: center; overflow: hidden; border-radius: 10px; }
.linkedin-logo img { width: 50px; height: 50px; object-fit: contain; }
.sbr-logo img { width: 58px; height: 46px; object-fit: contain; }
.facebook-logo { width: 50px; height: 50px; color: #fff; background: #1877f2; }
.facebook-logo svg { width: 36px; height: 36px; fill: currentColor; }
.profile-link-copy { min-width: 0; }
.profile-link-copy strong, .profile-link-copy small { display: block; }
.profile-link-copy strong { line-height: 1.25; }
.profile-link-copy small { margin-top: 3px; color: var(--muted); }
.profile-link-arrow { color: var(--gold); font-size: 1.05rem; transition: transform .2s; }
.profile-link:hover .profile-link-arrow, .profile-link:focus-visible .profile-link-arrow { transform: translate(2px, -2px); }

.logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.logo-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--silver); background: rgba(255,255,255,.025); transition: color .2s, border-color .2s, background .2s, transform .2s; }
.logo-pill span { color: var(--gold); font-size: .86em; transition: transform .2s; }
.logo-pill:hover, .logo-pill:focus-visible { color: var(--white); border-color: rgba(198,163,92,.65); background: rgba(198,163,92,.09); transform: translateY(-2px); }
.logo-pill:hover span, .logo-pill:focus-visible span { transform: translate(2px, -2px); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.project { padding: 28px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.025); }
.project small { color: var(--gold-light); text-transform: uppercase; letter-spacing: .12em; }
.project p { color: var(--muted); margin-bottom: 0; }

.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 550px; height: 550px; border-radius: 50%; background: rgba(198,163,92,.1); filter: blur(80px); right: -220px; top: -140px; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; }
.contact-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(0,0,0,.22); }
.contact-line { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line span { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-line strong { font-size: 1.16rem; }

.contact-form-card { grid-column: 1 / -1; margin-top: 4px; padding: clamp(26px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); box-shadow: var(--shadow); }
.contact-form-intro { max-width: 720px; margin-bottom: 30px; }
.contact-form-intro h3 { margin-top: 10px; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.contact-form-intro p { margin: 0; color: var(--muted); }
.project-form { position: relative; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { display: grid; gap: 8px; color: var(--silver); font-weight: 700; }
.form-field.full { grid-column: 1 / -1; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: none; color: var(--white); background: rgba(5,7,10,.72); font: inherit; transition: border-color .2s, box-shadow .2s, background .2s; }
.form-field input, .form-field select { min-height: 52px; padding: 0 15px; }
.form-field textarea { min-height: 150px; padding: 14px 15px; resize: vertical; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px; background-repeat: no-repeat; background-size: 6px 6px, 6px 6px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,163,92,.14); background-color: rgba(5,7,10,.92); }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.form-privacy { max-width: 680px; margin: 0; color: var(--muted); font-size: .9rem; }
.project-form .button { flex: 0 0 auto; cursor: pointer; font: inherit; }
.form-status { margin: 0 0 24px; padding: 15px 17px; border-radius: 12px; font-weight: 700; }
.form-status.success { border: 1px solid rgba(85,194,129,.5); color: #b9f4d0; background: rgba(38,119,75,.22); }
.form-status.error { border: 1px solid rgba(224,105,105,.5); color: #ffd0d0; background: rgba(132,42,42,.22); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.mobile-contact-bar { display: none; }
.mobile-contact-bar a { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 9px; padding: 8px 12px; font-weight: 800; }
.mobile-contact-bar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-contact-call { color: var(--white); background: #171b21; }
.mobile-contact-enquiry { color: #101216; background: var(--gold); }

.site-footer { padding: 36px 0; border-top: 1px solid var(--line); background: #060709; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.footer-brand img { width: 38px; }

@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; top: 82px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #101217; }
  .main-nav.open { display: flex; }
  .language-switch { align-self: flex-start; padding-inline: 14px; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .section-head, .contact-grid { grid-template-columns: 1fr; }
  .hero-mark { justify-self: start; width: min(420px, 100%); }
  .profile-portrait { width: min(210px, 100%); min-height: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards, .projects { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-links { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .container { width: min(100% - 28px, 1160px); }
  .hero { padding-top: 130px; }
  .hero-grid { gap: 44px; }
  .hero-mark { padding: 22px; }
  .section { padding: 80px 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: 1fr; }
  .credential-list { grid-template-columns: 1fr; }
  .credential { grid-template-columns: 76px minmax(0, 1fr); padding-inline: 15px; }
  .credential-logo { width: 76px; }
  .credential-logo img { width: 68px; }
  .profile-links { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .project-form .button { width: 100%; }
  .mobile-contact-bar { position: fixed; z-index: 99998; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: .85fr 1.15fr; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(255,255,255,.14); background: #171b21; box-shadow: 0 -12px 34px rgba(0,0,0,.38); }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

/* Diskret logoanimation */
.hero-mark {
  position: relative;
  overflow: hidden;
  will-change: transform;
  animation:
    lardo-logo-reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    lardo-logo-float 6s ease-in-out 0.9s infinite;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: -45% auto -45% -35%;
  width: 28%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  animation: lardo-logo-shine 7s ease-in-out 1.4s infinite;
}

.hero-mark img {
  position: relative;
  z-index: 1;
}

.brand img {
  transform-origin: center;
  animation: lardo-shield-breathe 5s ease-in-out infinite;
}

@keyframes lardo-logo-reveal {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lardo-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes lardo-logo-shine {
  0%, 72% { left: -35%; opacity: 0; }
  78% { opacity: 0.75; }
  92%, 100% { left: 115%; opacity: 0; }
}

@keyframes lardo-shield-breathe {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(198, 163, 92, 0));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(198, 163, 92, 0.28));
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none !important; }
  .hero-mark,
  .hero-mark::before,
  .brand img {
    animation: none !important;
  }
}
