:root {
  color-scheme: dark;
  --orange: #f26522;
  --orange-2: #ff8a3d;
  --navy: #0b1f3a;
  --bg: #111827;
  --bg-2: #0a1220;
  --surface: #162235;
  --surface-2: #1d2b41;
  --line: rgba(255, 255, 255, 0.13);
  --text: #ffffff;
  --muted: #c7d0dd;
  --soft: #f3f4f6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --container: 1180px;
  --header-height: 74px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root.light {
  color-scheme: light;
  --bg: #f7f8fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --line: rgba(11, 31, 58, 0.13);
  --text: #0b1f3a;
  --muted: #5b6675;
  --soft: #111827;
  --shadow: 0 20px 50px rgba(11, 31, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  line-height: 1.6;
}

body.menu-open,
body.chat-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(8, 15, 27, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

:root.light .site-header {
  background: rgba(255, 255, 255, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 46px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 34px rgba(242, 101, 34, 0.18);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 0.94rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 10px 12px;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(242, 101, 34, 0.12);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  background: rgba(242, 101, 34, 0.14);
  border-color: rgba(242, 101, 34, 0.4);
}

.icon-button svg,
.float-button svg,
.service-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(242, 101, 34, 0.85);
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  padding: 13px 20px;
  box-shadow: 0 18px 36px rgba(242, 101, 34, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #ff7432;
  box-shadow: 0 22px 46px rgba(242, 101, 34, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 54px) 0 70px;
  background: #07101e;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-command-center.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 20s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 11, 22, 0.96) 0%, rgba(5, 11, 22, 0.78) 34%, rgba(5, 11, 22, 0.4) 72%, rgba(5, 11, 22, 0.7) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 1) 0%, rgba(17, 24, 39, 0) 28%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: end;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-2);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(3.5rem, 8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 690px;
  color: #dde6f1;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(10, 18, 32, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 20px;
}

.panel-heading,
.signal-list div,
.studio-caption,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading span,
.signal-list dt,
.result-card p,
.project-copy span,
.insight-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-heading strong {
  color: var(--orange-2);
  font-size: 2rem;
  line-height: 1;
}

.chart {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  margin: 26px 0;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.chart span {
  height: var(--h);
  min-height: 24px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
}

.signal-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.signal-list div {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
}

.signal-list dd {
  margin: 0;
  font-weight: 800;
}

.growth-band,
.section,
.contact-section {
  padding: 96px 0;
}

.growth-band {
  background: var(--bg);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: 42px;
  align-items: end;
}

.lead,
.section-head p,
.about-copy > p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
  font-size: 1.06rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.metric,
.service-card,
.solution-card,
.result-card,
.project-card,
.why-item,
.insight-card,
.lead-form,
.google-panel,
.testimonial,
.chat-panel,
.studio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric {
  padding: 26px;
}

.metric strong {
  display: block;
  color: var(--orange-2);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  background: var(--bg-2);
}

.section:nth-of-type(2n + 1) {
  background: var(--bg);
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.service-grid,
.solution-grid,
.result-grid,
.why-grid,
.insight-grid {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.solution-card,
.why-item,
.insight-card {
  padding: 24px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(242, 101, 34, 0.12);
  color: var(--orange-2);
}

.service-card p,
.solution-card li,
.why-item p,
.project-copy p {
  color: var(--muted);
}

.results {
  background: linear-gradient(135deg, #0b1f3a, #111827);
}

:root.light .results {
  background: #0b1f3a;
  color: #fff;
}

.result-grid {
  grid-template-columns: repeat(3, 1fr);
}

.result-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.result-card strong {
  display: block;
  color: var(--orange-2);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
}

.result-card span {
  color: #e9eef5;
  font-weight: 800;
}

.solution-grid {
  grid-template-columns: repeat(4, 1fr);
}

.solution-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-card li {
  position: relative;
  padding-left: 18px;
}

.solution-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  padding: 10px 14px;
}

.filter-button.active,
.filter-button:hover {
  border-color: rgba(242, 101, 34, 0.55);
  background: rgba(242, 101, 34, 0.14);
  color: var(--text);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  overflow: hidden;
  transition: transform 180ms ease, opacity 180ms ease;
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-visual {
  min-height: 240px;
  background:
    linear-gradient(135deg, rgba(242, 101, 34, 0.88), rgba(11, 31, 58, 0.55)),
    url("assets/hero-command-center.png");
  background-size: cover;
  background-position: center;
}

.social-visual {
  background-position: right center;
}

.photo-visual {
  background-position: 72% 56%;
}

.video-visual {
  background-position: left center;
}

.project-copy {
  padding: 22px;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.industry-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  padding: 12px 14px;
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.why-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--orange-2);
  font-size: 1.05rem;
}

.about-grid,
.review-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-columns div {
  border-left: 3px solid var(--orange);
  padding-left: 16px;
}

.studio-card {
  overflow: hidden;
}

.studio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.studio-caption {
  align-items: flex-start;
  padding: 18px;
}

.studio-caption span {
  max-width: 280px;
  color: var(--muted);
  text-align: right;
}

.review-grid {
  align-items: stretch;
}

.google-panel {
  display: inline-grid;
  gap: 4px;
  min-width: 240px;
  margin-top: 18px;
  padding: 22px;
}

.google-panel strong {
  color: var(--orange-2);
  font-size: 3.5rem;
  line-height: 1;
}

.google-panel span {
  color: var(--muted);
}

.google-panel div {
  color: #f7b955;
}

.testimonial {
  display: grid;
  align-content: space-between;
  padding: 30px;
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.18;
}

.testimonial p {
  color: var(--muted);
  font-weight: 800;
}

.testimonial-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.insight-grid {
  grid-template-columns: repeat(4, 1fr);
}

.insight-card {
  min-height: 190px;
  display: grid;
  align-content: space-between;
}

.contact-section {
  background: #07101e;
  color: #fff;
}

.contact-copy address {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  font-style: normal;
}

.contact-copy address a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.lead-form label {
  display: grid;
  gap: 7px;
}

.lead-form span {
  color: #e6edf7;
  font-size: 0.86rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.newsletter input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 13px 14px;
  outline: none;
}

.lead-form select option {
  color: #111827;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.newsletter input:focus {
  border-color: var(--orange-2);
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.15);
}

.full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #dff5e6;
  font-weight: 800;
}

.site-footer {
  background: #050b14;
  color: #fff;
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 36px;
}

.footer-grid h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-brand .brand-logo {
  width: 72px;
  height: 58px;
}

.footer-grid a:not(.brand) {
  display: block;
  color: #c7d0dd;
  margin-bottom: 8px;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9da8b7;
  font-size: 0.9rem;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.float-button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow);
}

.float-button.whatsapp {
  background: #19a964;
}

.chat-panel {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 70;
  width: min(360px, calc(100vw - 36px));
  overflow: hidden;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

body.chat-open .chat-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.chat-body {
  padding: 16px;
}

.chat-body p {
  color: var(--muted);
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-2%, 1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: grid;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-grid,
  .split,
  .about-grid,
  .review-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 460px;
  }

  .service-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-grid,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 0 14px;
    gap: 10px;
  }

  .brand-copy {
    display: none;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 44px);
  }

  .hero-grid {
    gap: 30px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .hero-actions,
  .form-actions,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .form-actions .button {
    width: 100%;
  }

  .growth-band,
  .section,
  .contact-section {
    padding: 70px 0;
  }

  .metric-grid,
  .service-grid,
  .solution-grid,
  .result-grid,
  .project-grid,
  .why-grid,
  .insight-grid,
  .lead-form,
  .footer-grid,
  .about-columns {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 190px;
  }

  .studio-caption {
    display: grid;
  }

  .studio-caption span {
    max-width: none;
    text-align: left;
  }
}
