/* ---------------------------------------------
   Logistic Work Srl — design tokens (matched to live site)
   White #FFFFFF · Panel #EEF3F8 · Navy band #0B2545
   Ink #12181F · Body gray #5B6572 · Accent orange #E15A26
--------------------------------------------- */

:root{
  --white: #FFFFFF;
  --panel: #EEF3F8;
  --navy: #0B2545;
  --navy-soft: #C9D6E6;
  --ink: #12181F;
  --body-text: #5B6572;
  --accent: #E15A26;
  --border: #E3E7ED;
  --icon-bg: #EEF0F3;

  --font: "Inter", sans-serif;
  --wrap: none;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 80px);
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus{ left: 16px; top: 16px; }

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.section-title{
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--ink);
  max-width: 720px;
}
.section-title--light{ color: #fff; }

/* ---------- Header ---------- */
.site-header{
  border-bottom: 1px solid var(--border);
}
.header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img{
  height: 56px;
  width: auto;
  display: block;
}
.lang-switch{
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--body-text);
}
.lang-switch a{ text-decoration: none; color: inherit; }
.lang-switch a.active{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- Hero ---------- */
.hero{ padding: 64px 0 40px; overflow: hidden; }
.hero-grid{
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.hero-copy{
  animation: fadeUpCopy 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-copy h1{
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
@keyframes fadeUpCopy{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero-copy{ animation: none; }
}
.hero-photo{
  animation: slideInPhoto 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.15s;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.hero-photo img{
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 3.75;
  object-fit: cover;
  border-radius: 2px;
}
@keyframes slideInPhoto{
  from{ opacity: 0; transform: translateX(64px); }
  to{ opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero-photo{ animation: none; }
}
.hero-lede{
  margin: 28px 0 0;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--body-text);
}

/* ---------- Framework ---------- */
.framework{ background: var(--panel); padding: 88px 0; margin-top: 56px; }
.framework-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.framework-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(18,24,31,0.04);
}
.framework-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--icon-bg);
  color: var(--navy);
  border-radius: 4px;
  margin-bottom: 18px;
}
.framework-icon svg{ width: 24px; height: 24px; }
.framework-card h3{
  font-family: var(--font);
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.25;
}
.framework-card p{
  color: var(--body-text);
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---------- Products & Services ---------- */
.products{ padding: 88px 0; }
.framework-card--wide{
  grid-column: 1 / -1;
}
.framework-card--wide h3{ font-size: 22px; }
.product-tagline{
  color: var(--accent);
  font-weight: 700;
  font-size: 15.5px;
  margin: 0 0 14px;
}
.product-range-title{
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 12px;
}
.product-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.product-list li{
  color: var(--body-text);
  font-size: 15px;
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.product-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.product-list li strong{ color: var(--ink); font-weight: 700; }

.product-media{
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(160deg, #E7ECF1, #D6DEE7);
}
.product-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-media.media-missing{
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media.media-missing img{ display: none; }
.product-media.media-missing::after{
  content: attr(data-placeholder);
  font-size: 12px;
  line-height: 1.5;
  color: #7C8798;
  text-align: center;
  padding: 0 18px;
}
.framework-card--wide .product-media{
  aspect-ratio: 2.2 / 1;
  margin-bottom: 22px;
}
.product-media--video.mosaic-tile.video-missing::after{
  color: rgba(255,255,255,0.7);
}
.product-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- Operations ---------- */
.operations{ background: var(--navy); padding: 128px 0; }
.operations-grid{
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 48px;
  align-items: center;
}
.operations-copy .section-title{
  font-size: clamp(34px, 4vw, 50px);
  margin-bottom: 20px;
}
.operations-copy p{
  color: var(--navy-soft);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 32ch;
}
.operations-mosaic{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: 480px;
}
.mosaic-tile{
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(160deg, #1B3A63, #0B2545);
  cursor: pointer;
}
.mosaic-tile.is-playing .play-btn{ opacity: 0; }
.mosaic-tile.video-missing{ cursor: default; }
.mosaic-tile.video-missing .play-btn{ display: none; }
.mosaic-tile.video-missing::after{
  content: "Video not yet added";
  position: absolute;
  inset: auto 10px 10px 10px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.65);
  text-align: center;
}
.mosaic-tile:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.mosaic-tile--large{ grid-row: 1 / 3; }
.mosaic-tile video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.play-btn{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.85);
  background: rgba(11,37,69,0.35);
  transition: opacity 0.15s ease;
}
.play-btn::after{
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent rgba(255,255,255,0.95);
}

/* ---------- Vision ---------- */
.vision{ padding: 0; }
.vision-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.vision-photo{
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.vision-photo.is-visible{
  opacity: 1;
  transform: translateX(0);
}
.vision-photo img{
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5.3;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 0;
  display: block;
}
@media (prefers-reduced-motion: reduce){
  .vision-photo{ opacity: 1; transform: none; transition: none; }
}
.vision-copy{
  padding: 72px 64px;
  align-self: center;
}
.vision-copy .section-title{
  font-size: clamp(34px, 4.2vw, 52px);
  margin-bottom: 36px;
  color: #131C2E;
}
.vision-subhead{
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.3;
  color: #EE6B1F;
  margin: 0 0 34px;
}
.vision-copy p{ color: #4A5568; font-size: 16px; line-height: 1.6; margin: 0; }
.vision-copy p + p{ margin-top: 14px; }

/* ---------- Board ---------- */
.board{ background: var(--panel); padding: 88px 0; }
.board-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  margin-top: 44px;
}
.board-card{ background: transparent; }
.board-photo{
  border-radius: 4px;
  overflow: hidden;
  margin: 0 0 16px;
  aspect-ratio: 4 / 4.2;
}
.board-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.board-card h3{
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}
.board-role{
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 12px;
}
.board-blurb{
  color: var(--body-text);
  margin: 0 0 10px;
  font-size: 14px;
}
.board-card ul{
  margin: 0;
  padding-left: 16px;
  color: var(--body-text);
  font-size: 13.5px;
  display: grid;
  gap: 5px;
}

/* ---------- Support ---------- */
.support{ padding: 88px 0 40px; }
.support-text{
  max-width: 760px;
  color: var(--body-text);
  font-size: 16px;
  margin: 0;
}

/* ---------- Contact ---------- */
.contact{ padding: 48px 0 100px; }
.contact-intro{
  color: var(--body-text);
  font-size: 15px;
  margin: 0 0 32px;
}
.contact-form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  max-width: 640px;
}
.form-row{ display: grid; gap: 6px; grid-column: 1 / -1; }
.form-row--half{ grid-column: span 1; }
.form-row label{
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.form-row input,
.form-row textarea{
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
}
.form-row input:focus,
.form-row textarea:focus{
  border-color: var(--accent);
}
.btn-submit{
  grid-column: 1 / -1;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px 26px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-submit:hover{ background: #C94E1E; }
.form-status{
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--accent);
  min-height: 18px;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand{
  display: inline-block;
  text-decoration: none;
}
.footer-brand img{
  height: 60px;
  width: auto;
  display: block;
}
.footer-copy{
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--body-text);
}
.footer-address{
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
}
.footer-address a{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-address p{ margin: 0 0 8px; }

.social-links{
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.social{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}
.social svg{ width: 17px; height: 17px; }
.social.facebook{ background: #1877F2; }
.social.instagram{ background: radial-gradient(circle at 30% 110%, #FED373, #F15245 40%, #D92E7F 65%, #9B36B7 85%, #515BD4); }
.social.youtube{ background: #FF0000; }
.social.xapp{ background: #000000; }
.social.linkedin{ background: #0A66C2; }
.social.tiktok{ background: #000000; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero-grid,
  .vision-grid,
  .operations-grid{
    grid-template-columns: 1fr;
  }
  .hero-photo{ order: -1; }
  .framework-grid{ grid-template-columns: 1fr; }
  .board-grid{ grid-template-columns: repeat(2, 1fr); }
  .operations-mosaic{ height: 360px; }
  .vision-copy{ padding: 48px 32px; }
  .vision-photo img{ aspect-ratio: 4 / 4.4; height: auto; object-position: center 12%; }
}

@media (max-width: 560px){
  .wrap{ padding: 0 20px; }
  .framework,
  .operations,
  .board,
  .support,
  .contact{ padding-top: 56px; padding-bottom: 56px; }
  .vision-copy{ padding: 40px 20px; }
  .board-grid{ grid-template-columns: 1fr; }
  .contact-form{ grid-template-columns: 1fr; }
  .form-row--half{ grid-column: 1 / -1; }
  .footer-grid{ flex-direction: column; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn-submit{ transition: none; }
}

/* ---------- Desktop-only enlargement (mobile sizes above stay untouched) ---------- */
@media (min-width: 901px){
  .hero-copy h1{ font-size: clamp(58px, 6.8vw, 92px); }
  .hero-lede{ font-size: 18px; line-height: 1.6; }

  .section-title{ font-size: clamp(36px, 4vw, 52px); max-width: 780px; }

  .framework-card h3{ font-size: 23px; }
  .framework-card p{ font-size: 16.5px; line-height: 1.6; }

  .operations-copy p{ font-size: 17px; line-height: 1.6; }

  .board-photo{ max-width: 82%; }
  .board-card h3{ font-size: 19px; }
  .board-role{ font-size: 13.5px; }
  .board-blurb{ font-size: 14.5px; }
  .board-card ul{ font-size: 14px; }

  .support-text{ font-size: 17px; max-width: 780px; }
  .contact-intro{ font-size: 16px; }
}
