:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --ink: #1f2937;
  --ink-soft: #111827;
  --muted: #6b7280;
  --accent: #1f6fd8;
  --accent-dark: #1959ad;
  --accent-warm: #f5b555;
  --stroke: rgba(15, 23, 42, 0.12);
  --shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.page {
  min-height: 100vh;
  background: var(--bg);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.site-header {
  padding: 24px 0;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  z-index: 10;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 46px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  color: #4b5563;
}

.nav-links a.active {
  color: var(--ink);
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent-warm);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang {
  border: 1px solid var(--stroke);
  background: var(--panel);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.hero .btn {
  border-radius: 999px;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(45, 109, 246, 0.2);
}

.btn.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: var(--accent-warm);
  color: #1c2a3f;
}

.btn.ghost {
  border-color: var(--stroke);
  background: transparent;
  color: var(--ink-soft);
}

.btn.outline {
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  padding: 12px 32px;
}

.btn.outline-dark {
  border-color: #cfd4dc;
  background: #ffffff;
  color: #111827;
  padding: 10px 28px;
  border-radius: 999px;
}

main > section:not(.hero) h2,
main > section:not(.hero) h3,
main > section:not(.hero) h4 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(8, 14, 24, 0.55) 0%,
      rgba(8, 14, 24, 0.2) 40%,
      rgba(8, 14, 24, 0.65) 100%
    ),
    radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.5), transparent 55%);
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 0 64px;
  color: #fff;
  text-align: center;
}

.hero-content {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.eyebrow {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 0.78rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  margin: 16px 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 3.7rem);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 18px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin: 28px 0 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .eyebrow,
.hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  color: #fff;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-feature {
  background: rgba(12, 18, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 18px 20px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.hero-feature h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #fff;
}

.hero-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.audit {
  padding: 72px 0 84px;
  background: #f8fafc;
}

.audit-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.audit-copy h2 {
  margin-top: 12px;
}

.audit-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.audit-media {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 16px;
  align-items: center;
  margin: 24px 0;
}

.audit-media img {
  border-radius: 12px;
  height: 180px;
  object-fit: cover;
}

.audit-media .quote {
  background: rgba(45, 109, 246, 0.08);
  border-radius: 16px;
  padding: 16px;
  font-weight: 600;
  color: var(--ink-soft);
}

.audit-media .quote span {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-heading {
  text-align: left;
  margin-bottom: 32px;
  max-width: 720px;
}

.deliverability {
  padding: 84px 0;
  background: #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-grid article {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-grid img {
  border-radius: 10px;
  height: 190px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 16px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent);
  font-weight: 600;
}

.testimonials {
  padding: 84px 0;
  background: #f8fafc;
}

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

.testimonial-grid article {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 22px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}

.testimonial-grid img {
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
}

.testimonial-grid .name {
  font-weight: 600;
}

.results {
  padding: 84px 0;
  background: #ffffff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  margin-top: 28px;
}

.stats > div {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 18px 12px;
  background: #ffffff;
}

.stats strong {
  display: block;
  font-size: 2rem;
  font-family: "Fraunces", serif;
}

.stats span {
  color: var(--muted);
  font-weight: 500;
}

.approach {
  padding: 90px 0 110px;
  background: #ffffff;
}

.approach-heading {
  text-align: center;
  margin: 0 auto 34px;
  max-width: 760px;
}

.approach-heading h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.approach-heading p {
  color: #6b7280;
  margin: 0;
}

.approach-block {
  margin-top: 30px;
}

.approach-block + .approach-block {
  margin-top: 40px;
}

.approach-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.approach-images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 26px rgba(15, 23, 42, 0.08);
}

.approach-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.approach-content h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
}

.approach-text {
  margin-top: 6px;
  color: #4b5563;
  max-width: 980px;
}

.approach-text p {
  margin: 6px 0 0;
}

.services-page {
  background: #eef1f4;
}

.services-page .site-header {
  background: #ffffff;
}

.services-hero {
  background: #0e1b2a;
  color: #fff;
  padding: 120px 0 90px;
  text-align: center;
}

.services-hero h1 {
  margin: 0 auto 18px;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  max-width: 900px;
  color: #fff;
}

.services-hero p {
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.services-automation {
  padding: 72px 0 40px;
  background: #eef1f4;
}

.services-heading {
  text-align: center;
  margin-bottom: 32px;
}

.services-heading h2 {
  margin-bottom: 8px;
}

.services-heading p {
  color: var(--muted);
}

.services-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.services-image-grid img {
  width: 100%;
  height: 230px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.services-columns {
  background: #eef1f4;
  padding: 24px 0 64px;
}

.services-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services-columns h3 {
  margin-bottom: 10px;
}

.services-columns p {
  color: var(--muted);
}

.services-testimonial {
  background: #1f6fd8;
  color: #fff;
  text-align: center;
  padding: 56px 0;
}

.services-testimonial .stars {
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.services-testimonial .quote {
  max-width: 720px;
  margin: 18px auto 24px;
  font-size: 1.1rem;
}

.services-testimonial .person {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.services-testimonial img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.about-page {
  background: #ffffff;
}

.about-page .site-header {
  background: #ffffff;
  backdrop-filter: none;
}

.about-hero {
  padding: 70px 0 36px;
  background: #ffffff;
  text-align: center;
}

.about-page h1,
.about-page h2,
.about-page h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #2a2f36;
}

.about-hero h1 {
  margin: 0 auto;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  max-width: 980px;
}

.about-intro {
  padding: 8px 0 40px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: start;
}

.intro-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.intro-grid p {
  color: #6b7280;
  line-height: 1.8;
}

.about-hero-image {
  background: #ffffff;
  padding: 16px 0 60px;
}

.about-hero-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.about-projects {
  padding: 60px 0 80px;
}

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

.project-card {
  background: #ffffff;
  border-radius: 14px;
  display: grid;
  gap: 14px;
  position: relative;
  padding-bottom: 18px;
}

.project-card img {
  width: 100%;
  height: 240px;
  border-radius: 14px;
  object-fit: cover;
}

.project-text {
  padding-right: 28px;
}

.project-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.project-card p {
  margin: 6px 0 0;
  color: #6b7280;
}

.project-arrow {
  font-size: 1.6rem;
  color: #2a2f36;
  position: absolute;
  right: 6px;
  bottom: 0;
}

.about-blog {
  padding: 60px 0 90px;
  background: #ffffff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-card {
  display: grid;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.blog-card img {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  object-fit: cover;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
}

.blog-card p {
  color: #6b7280;
  margin: 0;
}

.blog-meta {
  color: #9aa3af;
  font-size: 0.9rem;
}

.blog-slider {
  overflow: hidden;
}

.blog-track {
  display: flex;
  transition: transform 0.45s ease;
}

.blog-page {
  min-width: 100%;
}

.blog-page .blog-grid {
  margin: 0;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
  font-weight: 600;
  color: #6b7280;
}

.blog-pagination button {
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.blog-pagination button:hover {
  color: #2a2f36;
}

.blog-pagination button:disabled {
  color: #9aa3af;
  cursor: default;
}

.blog-pagination .is-active {
  color: #2a2f36;
}

.pager {
  font-size: 1.4rem;
  color: #2a2f36;
  display: inline-flex;
  align-items: center;
}

.pager.disabled {
  color: #9aa3af;
  cursor: default;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .blog-track {
    transition: none;
  }
}

.site-footer {
  background: #0e1b2a;
  color: #f8f8f2;
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 40px;
}

.footer-services {
  grid-template-columns: 1.2fr 0.6fr 1.2fr;
  align-items: start;
}

.footer-services h4 {
  margin-bottom: 8px;
}

.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  color: #fff;
}

.footer-grid a {
  color: rgba(248, 248, 242, 0.75);
}

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

.audit-form {
  display: grid;
  gap: 12px;
  margin: 16px 0 20px;
}

.audit-form input {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  padding-top: 12px;
  color: rgba(248, 248, 242, 0.75);
  font-size: 0.9rem;
}

.footer-legal a {
  color: rgba(248, 248, 242, 0.75);
}

.fineprint {
  font-size: 0.85rem;
  color: rgba(248, 248, 242, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: var(--delay, 0ms);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1000px) {
  .hero-features,
  .audit-grid,
  .feature-grid,
  .testimonial-grid,
  .stats,
  .services-image-grid,
  .services-columns-grid,
  .intro-grid,
  .project-grid,
  .contact-grid,
  .footer-grid,
  .footer-services {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    padding: 110px 0 48px;
  }

  .nav-links {
    display: none;
  }

  .audit-media {
    grid-template-columns: 1fr;
  }

  .approach-images {
    grid-template-columns: 1fr;
  }

  .approach-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-image-grid img {
    height: 200px;
  }

  .about-hero-media img {
    height: 280px;
  }

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

@media (max-width: 640px) {
  .hero {
    min-height: 70vh;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-overlay {
    text-align: left;
  }

  .hero-content {
    justify-items: start;
  }

  .hero-feature {
    text-align: left;
  }

  .btn {
    width: 100%;
  }

  .stats strong {
    font-size: 1.6rem;
  }

  .services-hero {
    padding: 80px 0 56px;
  }

  .services-hero h1 {
    font-size: 2.1rem;
  }

  .services-testimonial .quote {
    padding: 0 12px;
  }

  .project-card img {
    height: 180px;
  }

  .approach-images img {
    height: 220px;
  }

  .approach-content .btn {
    width: 100%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 60px 0 40px;
  }

  .intro-grid {
    gap: 28px;
  }

  .contact-form {
    padding: 18px;
  }

  .contact-image img {
    max-height: 320px;
  }

  .thank-you-hero {
    padding: 72px 0 96px;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.legal-page .legal-hero {
  padding: 78px 0 48px;
  background: radial-gradient(circle at top, #f7f5ef 0%, #ffffff 55%);
  text-align: center;
}

.legal-page .legal-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4.8vw, 3.4rem);
  margin-bottom: 16px;
  color: #1a1f26;
}

.legal-page .legal-meta {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-content {
  padding: 48px 0 96px;
}

.legal-content .container {
  width: min(900px, 92%);
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-family: "Fraunces", serif;
  color: #1f2937;
  font-size: 1.3rem;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-page .lead {
  margin: 0 auto;
  max-width: 720px;
  color: #4b5563;
}

.contact-page .contact-hero {
  padding: 84px 0 44px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  margin: 8px 0 12px;
  color: #1a1f26;
}

.contact-copy .lead {
  max-width: 440px;
  color: #4b5563;
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.contact-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f2937;
  margin-bottom: 6px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  justify-self: start;
}

.form-status {
  min-height: 1.2em;
  margin: 4px 0 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.form-status.error {
  color: #b3261e;
}

.form-status.success {
  color: #0b6b3f;
}

.contact-image {
  padding: 32px 0 96px;
}

.contact-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 460px;
}

.thank-you-hero {
  padding: 96px 0 120px;
  text-align: center;
  background: radial-gradient(circle at top, #f7f5ef 0%, #ffffff 55%);
}

.thank-you-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin: 8px 0 16px;
  color: #1a1f26;
}

.thank-you-hero .lead {
  margin: 0 auto 24px;
  max-width: 560px;
  color: #4b5563;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
