/* ============================================
   FOSKO Signage Solutions — Redesign 2026
   ============================================ */

:root {
  --brand: #2a2a75;
  --brand-dark: #1a1a54;
  --brand-light: #3a3a95;
  --accent: #000000;
  --accent-soft: #f0f0f5;
  --ink: #0a0a0a;
  --ink-soft: #404050;
  --muted: #8a8fa8;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --bg-card: #ffffff;
  --border: #e6e8f2;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(14, 17, 51, 0.06);
  --shadow-md: 0 10px 30px rgba(14, 17, 51, 0.08);
  --shadow-lg: 0 20px 60px rgba(14, 17, 51, 0.14);
  --container: 1200px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Typography ============ */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.accent { color: var(--accent); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); background: var(--brand); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .25s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0) 100%);
  pointer-events: none;
  transition: opacity .35s var(--ease);
  z-index: -1;
}
.site-header.scrolled {
  background: var(--brand);
  box-shadow: var(--shadow-md);
}
.site-header.scrolled::before { opacity: 0; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo { display: flex; align-items: center; }
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 500; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.nav a:hover { color: #fff; }
.nav a.btn-primary { color: #fff; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: all .3s var(--ease);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 140px 0 100px;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.25) 60%, rgba(10,10,10,0.15) 100%),
              linear-gradient(180deg, rgba(42,42,117,0.15) 0%, rgba(10,10,10,0.25) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin-bottom: 32px;
  font-weight: 400;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 28px; height: 3px;
  background: rgba(255,255,255,0.35);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: all .3s var(--ease);
}
.hero-dots button.active { background: #fff; width: 44px; }
.hero-dots button:hover { background: rgba(255,255,255,0.7); }

/* ============ Clients ============ */
.clients {
  padding: 40px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.clients-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.clients-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.clients-row span { opacity: 0.75; transition: opacity .2s; }
.clients-row span:hover { opacity: 1; color: var(--brand); }

/* ============ Sections ============ */
section { padding: 100px 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 16px;
}
.section-cta { text-align: center; margin-top: 48px; }

/* ============ Services ============ */
.services { background: var(--bg-soft); }
.industries {
  max-width: 940px;
  margin: 0 auto 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
}
.industries li {
  list-style: none;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all .2s var(--ease);
}
.industries li:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}
.services-lead {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0 40px;
  letter-spacing: -0.01em;
  position: relative;
  padding-top: 32px;
}
.services-lead::before {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--brand);
  margin: 0 auto 24px;
  border-radius: 2px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card.featured {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.service-card.featured h3,
.service-card.featured .service-icon { color: #fff; }
.service-card.featured li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.15); }
.service-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 20px; }
.service-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.service-card li:last-child { border-bottom: none; }

/* ============ Process ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.step {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  position: relative;
  transition: all .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: #fff; }
.step-num {
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--ink-soft); }

/* ============ Work ============ */
.work { background: var(--bg-soft); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.work-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: block;
  background: var(--ink);
}
.work-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-item:hover img { transform: scale(1.08); }
.work-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(20,28,84,0.95), transparent);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.work-caption strong { font-size: 1.05rem; font-weight: 700; }
.work-caption span { font-size: 0.85rem; opacity: 0.8; }

/* ============ Why ============ */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-left p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 20px 0 32px;
}
.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-card {
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.why-card:hover { background: var(--brand); color: #fff; transform: translateY(-4px); }
.why-card:hover h4, .why-card:hover p { color: #fff; }
.why-card h4 { margin-bottom: 8px; }
.why-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ============ Testimonial ============ */
.testimonial {
  background: var(--brand);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.testimonial blockquote {
  max-width: 820px;
  margin: 0 auto;
}
.testimonial p {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ============ About ============ */
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 16px 0;
}
.about-signature {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
  display: flex;
  flex-direction: column;
}
.about-signature strong { font-size: 1.1rem; }
.about-signature span { font-size: 0.9rem; color: var(--muted); }
.about-visual {
  display: flex;
  justify-content: center;
}
.about-badge {
  width: min(260px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  margin: 12px;
}
.about-badge::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px dashed var(--border);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-badge strong {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.about-badge span { font-size: 0.85rem; letter-spacing: 0.1em; margin-top: 8px; }

/* ============ CTA Band ============ */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,0.75); margin-top: 8px; }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 24px;
}
.footer-logo { height: 42px; width: auto; margin-bottom: 8px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 280px; }
.footer-col h5 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--accent); }
.footer-area { font-size: 0.8rem; margin-top: 12px; color: var(--muted); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ Gallery Page ============ */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  text-align: center;
  position: relative;
}
.page-hero-image {
  background-size: cover;
  background-position: center;
  padding: 180px 0 90px;
}
.page-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,42,117,0.55), rgba(10,10,10,0.45));
  z-index: 0;
}
.page-hero-image > .container {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.breadcrumb a {
  color: rgba(255,255,255,0.75);
  transition: color .2s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep {
  color: rgba(255,255,255,0.35);
}
.breadcrumb [aria-current="page"] {
  color: #fff;
  font-weight: 600;
}
.page-hero .eyebrow { color: rgba(255,255,255,0.7); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto; }

.gallery-section { padding: 80px 0; }
.gallery-section h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.gallery-section .section-sub {
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 60px;
}
.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--bg-soft);
  cursor: zoom-in;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-grid a:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 30, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ============ Contact Page ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  padding: 80px 0;
}
.contact-info h2 { font-size: 2rem; margin-bottom: 16px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 32px; }
.contact-cards {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-card {
  padding: 20px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all .3s var(--ease);
  border: 1px solid transparent;
}
.contact-card:hover {
  background: #fff;
  border-color: var(--brand);
  transform: translateX(4px);
}
.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-card strong { display: block; font-size: 1.05rem; }

.contact-form-wrap {
  background: var(--bg-soft);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.contact-form-wrap h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-privacy {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.5;
}
.form-privacy a { color: var(--brand); text-decoration: underline; }

.map-block {
  background: var(--bg-soft);
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 360px;
  position: relative;
  border: 1px solid var(--border);
}
.map-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #dce1f5 0%, #c4cbee 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  text-align: center;
  padding: 20px;
}
.map-placeholder strong { font-size: 1.3rem; margin-bottom: 4px; }
.map-placeholder span { color: var(--ink-soft); font-size: 0.9rem; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--brand-dark);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    align-items: stretch;
  }
  .nav-toggle { display: flex; }
  .why-inner, .about-inner, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-right { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  section { padding: 70px 0; }
  .hero { min-height: 90vh; padding: 100px 0 40px; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 1.6rem; }
  .cta-inner { flex-direction: column; text-align: center; align-items: stretch; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .clients-row { gap: 20px; font-size: 0.95rem; }
  .section-head { margin-bottom: 40px; }
}
