/* ==========================================================================
   Silo Genas — Modern refresh
   Self-contained: no Bootstrap, no Font Awesome, no jQuery deps.
   ========================================================================== */

/* Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
:focus-visible { outline: 2px solid #fec609; outline-offset: 2px; border-radius: 4px; }

/* Design tokens
   -------------------------------------------------------------------------- */
:root {
  --brand:        #1e3a5f;   /* deep steel blue */
  --brand-dark:   #122742;
  --accent:       #fec609;   /* amber — wheat/grain */
  --accent-hover: #b45309;
  --bg:           #ffffff;
  --bg-alt:       #f5f6f8;   /* warm-ish off-white */
  --surface:      #ffffff;
  --text:         #0f172a;
  --text-muted:   #5b6776;
  --border:       #e5e7eb;
  --shadow-sm:    0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow:       0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg:    0 12px 32px rgba(15, 23, 42, 0.12);
  --radius:       10px;
  --radius-lg:    16px;
  --t:            220ms cubic-bezier(.4, 0, .2, 1);
  --container:    1200px;
  --nav-h:        72px;
}

/* Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 88px 0;
}
.section-tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--brand-dark);
  color: #e2e8f0;
}
.section--dark .section-title,
.section--dark .section-eyebrow { color: #fff; }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 16px 0;
  text-transform: uppercase;
}
.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0;
}
.section-head {
  margin-bottom: 56px;
}
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* Header / nav
   --------------------------------------------------------------------------
   Default state: transparent (over hero) with white text/logo.
   On scroll: background fades to a dark frosted-glass panel so the same
   white text and yellow/white logo stay readable — no color inversion.
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
}
.site-header.is-scrolled {
  background: rgba(18, 39, 66, 0.88);   /* var(--brand-dark) @ 88% */
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-brand img {
  height: 35px;
  width: auto;
  display: block;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  border-radius: 6px;
  transition: color var(--t), background var(--t), border-color var(--t);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.nav-list a:hover,
.nav-list a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.nav-list .nav-lang a {
  padding: 6px 10px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.nav-list .nav-lang a.is-current {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
  color: var(--brand);
  text-shadow: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  transition: color var(--t), background var(--t);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.12); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    left: 0;
    /* Explicit height fallback for browsers without `inset` / for older
       iOS Safari where `bottom: 0` + `position: fixed` can render at 0. */
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: #ffffff;
    padding: 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--t), opacity var(--t), visibility var(--t);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
  }
  .nav-list.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  /* On the white mobile panel the nav links must always be dark, regardless
     of the header's transparent/scrolled state. */
  .nav-list a {
    padding: 14px 16px;
    font-size: 16px;
    color: var(--text);
    text-shadow: none;
  }
  .nav-list a:hover,
  .nav-list a.is-active {
    color: var(--brand);
    background: rgba(30, 58, 95, 0.06);
  }
  .nav-list .nav-lang {
    display: flex;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .nav-list .nav-lang a {
    flex: 1;
    text-align: center;
    border-color: var(--border);
    color: var(--text-muted);
  }
  .nav-list .nav-lang a.is-current {
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
  }
}

/* Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.hero.is-dragging { cursor: grabbing; }
.hero.is-dragging .hero-slide { transition: none; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
  background-position: center;
  background-size: cover;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 38, 0.55) 0%,
    rgba(10, 20, 38, 0.45) 40%,
    rgba(10, 20, 38, 0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: var(--nav-h);
  /* Always reserve horizontal room for the slider arrows so the title
     never sits behind them — overrides .container's default 24px. */
  padding-left: 96px;
  padding-right: 96px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.hero-title {
  font-size: clamp(38px, 6.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 16px 0;
  max-width: 12ch;
  text-transform: uppercase;
}
.hero-title-fade {
  display: inline-block;
  transition: opacity 500ms ease, transform 500ms ease;
}
.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-meta span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-nav {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background var(--t);
  border-radius: 2px;
}
.hero-dot.is-active { background: var(--accent); }

/* Hero slider arrows — pointer-driven, also bindable to drag/swipe in JS */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.06);
}
.hero-arrow:active { transform: translateY(-50%) scale(0.96); }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }
@media (max-width: 700px) {
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .hero-arrow svg { width: 18px; height: 18px; }

  /* On small screens center the hero content and pad it off the arrows */
  .hero-content {
    align-items: center;
    text-align: center;
    padding-left: 60px;
    padding-right: 60px;
  }
  .hero-eyebrow { justify-content: center; }
  .hero-title { max-width: none; }
  .hero-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 28px;
    margin-top: 28px;
  }
  .hero-meta strong { font-size: 22px; }
  .hero-meta span { font-size: 11px; }
}
/* Cursor: grab everywhere in the hero (inherited from .hero), pointer only
   on the actual controls. The hero-title etc. stay grabbable. */
.hero-arrow,
.hero-dot,
.hero-content a,
.hero-content button {
  cursor: pointer;
}

/* Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--t);
  border: 1px solid transparent;
  line-height: 1;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Company section
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
}
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item:first-child { border-top: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color var(--t);
}
.accordion-trigger:hover { color: var(--brand); }
.accordion-trigger .accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), transform var(--t);
}
.accordion-trigger[aria-expanded="true"] {
  color: var(--brand);
}
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.accordion-icon svg { width: 12px; height: 12px; }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding 350ms ease;
}
.accordion-panel-inner {
  padding: 0 0 22px 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.accordion-trigger[aria-expanded="true"] + .accordion-panel { max-height: 1000px; }

.feature-gallery {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}
.feature-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
}
.feature-gallery img.is-active { opacity: 1; }

.history {
  margin-top: 88px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.history h2 { margin-bottom: 8px; }
.history .section-eyebrow { margin-bottom: 8px; }
.history-text p {
  margin: 0 0 18px 0;
  color: var(--text-muted);
  font-size: 16px;
}
.history-text p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .history { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
}

/* Featured project (testimonial) section
   -------------------------------------------------------------------------- */
.feature-project {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.feature-project h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin: 16px 0 12px 0;
}
.feature-project p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.7;
}
.video-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .feature-project { grid-template-columns: 1fr; gap: 32px; }
}

/* Services
   -------------------------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff5e6, #ffe0b3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
  text-transform: capitalize;
}
.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Products gallery
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-chip {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: #fff;
  transition: all var(--t);
}
.filter-chip:hover { color: var(--brand); border-color: var(--brand); }
.filter-chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.product-card.is-hidden { display: none; }
.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity var(--t);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.product-info {
  padding: 18px 20px 22px;
}
.product-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}
.product-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 13, 25, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--t);
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox-dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 1100px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
@media (max-width: 900px) {
  .lightbox-dialog { grid-template-columns: 1fr; max-height: calc(100vh - 24px); overflow-y: auto; }
}
.lightbox-imgwrap {
  position: relative;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.lightbox-imgwrap img {
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
}
.lightbox-imgnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background var(--t);
}
.lightbox-imgnav:hover { background: #fff; }
.lightbox-imgnav.prev { left: 16px; }
.lightbox-imgnav.next { right: 16px; }
.lightbox-info {
  padding: 40px 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.lightbox-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  color: var(--text);
}
.lightbox-info .product-tag { margin-bottom: 12px; }
.lightbox-info p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.lightbox-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.lightbox-thumbs button {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  transition: border-color var(--t);
}
.lightbox-thumbs button.is-active { border-color: var(--accent); }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.lightbox-close:hover { background: #fff; }

/* Works (blog) grid
   -------------------------------------------------------------------------- */
.works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .works { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .works { grid-template-columns: 1fr; } }
.work-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.work-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-body { padding: 24px 22px 22px; }
.work-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
}
.work-meta { margin: 0; }
.work-meta li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
}
.work-meta li:last-child { border-bottom: none; }
.work-meta strong { color: var(--text); font-weight: 600; }

/* Clients
   -------------------------------------------------------------------------- */
.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
@media (max-width: 700px) { .clients { grid-template-columns: repeat(2, 1fr); } }
.client {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 3;
  filter: grayscale(40%);
  opacity: 0.85;
  transition: all var(--t);
}
@media (max-width: 900px) {
  .client { padding: 6px; }
}
.client:hover { filter: none; opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow); }
.client img { max-width: 80%; max-height: 70%; object-fit: contain; }

/* Contact
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact .section-title { margin-bottom: 16px; }
.contact-info {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}
.contact-info p { margin: 0 0 12px 0; }
.contact-info strong { color: var(--text); }
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map img { width: 100%; height: auto; display: block; }

/* Contact strip
   -------------------------------------------------------------------------- */
.contact-strip {
  background: var(--brand-dark);
  color: #fff;
  padding: 56px 0;
}
.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .contact-strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .contact-strip-grid { grid-template-columns: 1fr; } }
.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-strip-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.18);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-strip-icon svg { width: 22px; height: 22px; }
.contact-strip-item h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 4px 0;
}
.contact-strip-item p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
.contact-strip-item a:hover { color: var(--accent); }

/* Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0a1322;
  color: rgba(255, 255, 255, 0.55);
  padding: 28px 0;
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 992px) {
  .site-footer { text-align: center; }
  .site-footer .container {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }
  .site-footer p { margin: 0; }
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--accent); }
.easylogic-footer-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity var(--t);
}
.easylogic-footer-logo:hover { opacity: 1; }
.easylogic-footer-logo img {
  display: block;
  height: 20px;
  width: auto;
}

/* Scroll-to-top
   -------------------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 90;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all var(--t);
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--brand-dark); }

/* Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-slide { transition: none; }
}

/* Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .scroll-top, .hero-nav { display: none; }
  .hero { height: auto; }
}
