@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #f8f8fa;
  --bg-soft: #f0f0f4;
  --panel: #ffffff;
  --text: #0a0a0f;
  --text-soft: #45454f;
  --muted: #7a7a8a;
  --line: rgba(10, 10, 15, 0.08);
  --line-strong: rgba(10, 10, 15, 0.14);
  --brand: #0093d0;
  --lime: #bdf600;
  --lime-dark: #9fd200;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --container: 1200px;
  --nav-h: 72px;
  --header-bg: rgba(248, 248, 250, 0.92);
}

html[data-theme="dark"] {
  --bg: #0c0c10;
  --bg-soft: #141418;
  --panel: #18181e;
  --text: #f0f0f8;
  --text-soft: #b0b0c0;
  --muted: #6a6a7a;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.3);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --header-bg: rgba(12, 12, 16, 0.92);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.25s, color 0.25s;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin: 0 auto;
}

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 2rem;
}

.header-shell {
  width: min(calc(100% - 2.5rem), var(--container));
  margin: 0 auto;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img { max-height: 34px; width: auto; }
.footer-logo img { max-height: 32px; width: auto; }
.content-logo img { max-height: 40px; width: auto; }
.content-logo { display: inline-flex; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}

.site-nav a:hover,
.site-nav .is-active {
  color: var(--text);
  background: var(--bg-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.theme-toggle:hover { background: var(--bg-soft); transform: rotate(15deg); }

.icon-btn { padding: 0; }
.icon-sun { display: none; }
html[data-theme="dark"] .icon-sun { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }

.theme-logo .logo-dark { display: none; }
html[data-theme="dark"] .theme-logo .logo-light { display: none; }
html[data-theme="dark"] .theme-logo .logo-dark { display: block; }

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

.mobile-nav-toggle .icon-close { display: none; }
.mobile-nav-toggle.is-active .icon-menu { display: none; }
.mobile-nav-toggle.is-active .icon-close { display: block; }

/* ─── LIVE BACKGROUND ─── */
#bgFx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ─── PORTFOLIO / SHOWCASE ─── */
.work-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.work-nav a {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-soft);
  text-decoration: none;
  background: var(--panel);
}
.work-nav a:hover { border-color: var(--lime); color: var(--text); }

.client-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.client-strip .client-logo {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: grid;
  place-items: center;
}
.client-strip img { max-width: 100%; height: 70px; object-fit: contain; }

.masonry { columns: 3; column-gap: 1rem; margin-top: 2rem; }
.masonry img {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  break-inside: avoid;
}
@media (max-width: 960px) { .masonry { columns: 2; } }
@media (max-width: 640px) { .masonry { columns: 1; } }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }

h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  color: var(--text);
}

/* Second line of h1 gets the random gradient */
.h1-grad {
  display: block;
  background: linear-gradient(135deg, var(--h1-color-a, #7ca300), var(--h1-color-b, #0093d0));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }

p { margin: 0 0 1rem; }

.lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 44rem;
}

.lead.large { font-size: 1.2rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

/* ─── BUTTONS ─── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--lime);
  color: #000;
}
.button-primary:hover { background: var(--lime-dark); box-shadow: 0 8px 24px rgba(189,246,0,0.35); }

.button-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}
.button-secondary:hover { background: var(--bg-soft); }

.button-dark {
  background: var(--text);
  color: var(--bg);
}
.button-dark:hover { opacity: 0.85; }

.button-whatsapp {
  background: #25d366;
  color: #000;
  font-weight: 700;
}
.button-whatsapp:hover { background: #20c05c; box-shadow: 0 8px 24px rgba(37,211,102,0.3); }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ─── HERO ─── */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--panel);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(189,246,0,0.8);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title { margin-bottom: 1.5rem; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 5rem;
}

.metric-item {
  background: var(--panel);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background 0.2s;
}

.metric-item:hover { background: var(--bg-soft); }

.metric-value {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.metric-accent { color: var(--lime); }

/* ─── SECTIONS ─── */
.page-section { padding: 6rem 0; }

.section-header { margin-bottom: 4rem; }

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ─── SERVICES ─── */
.services-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  transition: background 0.2s, transform 0.2s;
  cursor: default;
}

.service-row:last-child { border-bottom: none; }
.service-row:hover { background: var(--bg-soft); }

.service-row-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: background 0.2s;
}

.service-row:hover .service-icon { background: var(--lime); }

.service-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--muted);
}

.service-tag {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  flex-shrink: 0;
}

/* ─── CARDS ─── */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
}

/* ─── GRIDS ─── */
.services-grid, .poster-grid, .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.services-grid.is-two {
  grid-template-columns: repeat(2, 1fr);
}

.split-grid, .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ─── POSTER CARDS ─── */
.poster-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.poster-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--bg-soft);
}

.poster-copy { padding: 1.5rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }

.tag {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ─── TEAM ─── */
.team-card { text-align: center; }

.team-mark {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--lime);
  color: #000;
}

/* ─── LIST ─── */
.list { list-style: none; padding: 0; margin: 1rem 0 0; }
.list li {
  padding: 0.45rem 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.list li::before { content: '↗'; margin-right: 0.6rem; color: var(--lime); font-weight: 700; }

/* ─── ICON CHIP ─── */
.icon-chip {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: #000;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

/* ─── PRICE ─── */
.price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.meta { color: var(--muted); font-size: 0.9rem; }

.price {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}

/* ─── CONTACT FORM ─── */
.contact-grid { align-items: start; }
.contact-form { display: grid; gap: 1.25rem; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-soft);
}

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(189,246,0,0.15);
}

textarea { min-height: 150px; resize: vertical; }

.contact-links { display: grid; gap: 0.75rem; }
.contact-links a { color: var(--brand); font-weight: 500; }
.contact-links a:hover { text-decoration: underline; }

.notice { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ─── HIGHLIGHT SECTION ─── */
.highlight-section {
  background: var(--text);
  color: var(--bg);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .highlight-section {
  background: #0a0a0f;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.highlight-section .eyebrow { color: var(--lime); }
.highlight-section .eyebrow::before { background: var(--lime); }
.highlight-section h2 { color: var(--bg); }
html[data-theme="dark"] .highlight-section h2 { color: var(--text); }
.highlight-section .lead { color: rgba(248,248,250,0.65); }
html[data-theme="dark"] .highlight-section .lead { color: var(--text-soft); }

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-dot svg { width: 14px; height: 14px; }

.feature-text {
  font-size: 1rem;
  color: rgba(248,248,250,0.85);
  line-height: 1.5;
}

html[data-theme="dark"] .feature-text { color: var(--text-soft); }

/* ─── FOOTER ─── */
.site-footer {
  background: #0a0a0f;
  color: #a0a0b0;
  padding: 4rem 0 2.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand-desc {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6a6a7a;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: #6a6a7a;
  transition: color 0.2s;
}

.footer-nav a:hover, .footer-nav .is-active { color: #ffffff; }

.footer-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-list li { font-size: 0.9rem; color: #6a6a7a; }
.footer-list a { color: #6a6a7a; transition: color 0.2s; }
.footer-list a:hover { color: var(--lime); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: #4a4a5a;
}

.footer-lime { color: var(--lime); font-weight: 600; }

/* ─── LOGO THEME ─── */
.theme-logo { display: inline-flex; align-items: center; }

/* ─── MOBILE ─── */
.mobile-only-block { display: none; }
.desktop-only { display: block; }

@media (max-width: 960px) {
  h1 { font-size: clamp(3rem, 9vw, 4.2rem); }

  .hero-grid, .split-grid, .contact-grid, .highlight-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid, .poster-grid, .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid.is-two { grid-template-columns: 1fr; }

  .service-row { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .desktop-only { display: none !important; }
  .mobile-only-block { display: block !important; }

  .mobile-nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-xs);
    text-align: center;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.9rem, 12vw, 3.8rem); }
  .hero { padding: 4rem 0 3rem; }
  .page-section { padding: 4rem 0; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .services-grid, .poster-grid, .team-grid, .field-row { grid-template-columns: 1fr; }
  .hero-cta-row, .button-row { flex-direction: column; }
  .button { width: 100%; justify-content: center; }
  .metric-item { padding: 1.5rem 1.25rem; }
  .service-row { padding: 1.5rem; }
  .contact-box, .card { padding: 1.5rem; }
  .highlight-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
