:root {
  --yellow: #ffd400;
  --black: #090909;
  --white: #ffffff;
  --ink: #151515;
  --muted: #666a73;
  --line: rgba(9, 9, 9, .1);
  --glass: rgba(255, 255, 255, .7);
  --radius: 8px;
  --shadow: 0 24px 80px rgba(9, 9, 9, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(255, 212, 0, .95); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity .35s ease, visibility .35s ease;
}
.page-loader span {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(255,255,255,.16);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: loader-spin .8s linear infinite;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-spin { to { transform: rotate(360deg); } }
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1600;
  width: 0%;
  height: 3px;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(255,212,0,.7);
}

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.section-pad { padding: 112px 0; }
.eyebrow {
  margin: 0 0 14px;
  color: #806b00;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(9, 9, 9, .06); }
.navbar {
  width: min(1160px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0; }
.brand-mark { width: 36px; height: 36px; border-radius: 8px; }
.nav-menu { display: flex; align-items: center; gap: 28px; color: #2b2b2b; font-size: .95rem; font-weight: 650; }
.nav-menu a { transition: color .2s ease; }
.nav-menu a:hover { color: #9a8100; }
.nav-cta {
  padding: 11px 16px;
  background: var(--black);
  color: var(--white) !important;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(9, 9, 9, .18);
}
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--black); transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 20% 10%, rgba(255, 212, 0, .32), transparent 30%), linear-gradient(135deg, #fff 0%, #fff7be 42%, #fff 76%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(9,9,9,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(9,9,9,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 52px; align-items: center; }
.hero h1, .page-hero h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .9;
  letter-spacing: 0;
}
.hero-text, .page-hero p, .section-heading p { color: var(--muted); font-size: 1.1rem; max-width: 690px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center-actions { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--black); color: var(--white); box-shadow: 0 16px 36px rgba(9,9,9,.22); }
.btn-secondary { background: rgba(255,255,255,.72); border-color: rgba(9,9,9,.12); backdrop-filter: blur(12px); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.hero-stats div {
  padding: 18px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(9,9,9,.08);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}
.hero-stats strong { display: block; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.1; color: var(--black); }
.hero-stats span { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; }

.hero-panel { min-height: 540px; display: grid; place-items: center; }
.automation-card {
  width: min(430px, 100%);
  padding: 26px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, .88);
  color: #fff;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}
.floating { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.panel-top { display: flex; gap: 10px; align-items: center; font-weight: 750; }
.signal { width: 10px; height: 10px; border-radius: 50%; background: #18d26b; box-shadow: 0 0 0 8px rgba(24,210,107,.12); }
.orbit {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 34px auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}
.orbit span { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--black); font-weight: 900; font-size: 2rem; }
.orbit i { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; animation: spin 8s linear infinite; transform-origin: 120px 120px; left: 111px; top: -9px; }
.orbit i:nth-child(3) { animation-delay: -2.7s; background: var(--yellow); }
.orbit i:nth-child(4) { animation-delay: -5.4s; }
@keyframes spin { to { transform: rotate(360deg); } }
.metric-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.metric-row strong { color: var(--yellow); }

.tech-strip { padding: 28px 0; border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.tech-strip .container { display: flex; align-items: center; gap: 34px; }
.tech-strip p { margin: 0; color: var(--muted); white-space: nowrap; font-weight: 700; }
.logo-marquee { display: flex; gap: 14px; flex-wrap: wrap; }
.logo-marquee span, .industry-grid span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #333;
  font-weight: 750;
}

.section-heading { margin-bottom: 42px; }
.section-heading h2, .cta-box h2, .contact-panel h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}
.service-grid, .process-grid, .portfolio-grid, .values-grid, .service-detail-grid, .case-grid, .solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card, .process-step, .detail-card, .case-card, .values-grid article, .solution-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 40px rgba(9,9,9,.05);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover, .portfolio-card:hover, .detail-card:hover, .case-card:hover, .solution-card:hover, .solution-card:focus-visible { transform: translateY(-6px); border-color: rgba(255,212,0,.8); box-shadow: 0 24px 70px rgba(9,9,9,.1); }
.service-card span, .process-step span, .values-grid span, .solution-card span { color: #a98d00; font-weight: 900; }
.service-card h3, .process-step h3, .portfolio-card h3, .values-grid h3, .detail-card h2, .case-card h2, .solution-card h3 { margin: 14px 0 8px; color: var(--black); line-height: 1.1; }
.service-card p, .process-step p, .portfolio-card p, .values-grid p, .detail-card p, .case-card p, .solution-card p { color: var(--muted); margin: 0; }
.ai-solutions { background: linear-gradient(180deg, #fff, #fffdf0); }
.solution-grid { grid-template-columns: repeat(5, 1fr); }
.solution-card { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }

.split-section, .page-hero { background: #fbfbfb; }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.feature-list { display: grid; gap: 14px; }
.feature-list div {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.feature-list strong { font-size: 1.05rem; color: var(--black); }
.feature-list span { color: var(--muted); }

.automation-showcase { background: var(--black); color: #fff; }
.automation-showcase h2 { color: #fff; }
.automation-showcase .section-heading p { color: rgba(255,255,255,.72); }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.showcase-visual {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
}
.flow-node {
  padding: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  font-weight: 800;
}
.flow-node.active { background: var(--yellow); color: var(--black); }
.flow-line { width: 2px; height: 34px; margin: 0 0 0 28px; background: linear-gradient(var(--yellow), rgba(255,255,255,.18)); }
.workflow-animation .flow-node { position: relative; transition: transform .28s ease, background .28s ease, color .28s ease, border-color .28s ease; }
.workflow-animation .flow-node.active { transform: translateX(8px); border-color: rgba(255,212,0,.9); box-shadow: 0 18px 50px rgba(255,212,0,.18); }
.workflow-animation .flow-node.active::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
  opacity: .5;
}

.portfolio-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.portfolio-card h3, .portfolio-card p { padding-inline: 22px; }
.portfolio-card p { padding-bottom: 24px; }
.portfolio-art {
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(255,212,0,.92), rgba(255,255,255,.86)),
    repeating-linear-gradient(90deg, rgba(9,9,9,.08) 0 1px, transparent 1px 24px);
  position: relative;
}
.portfolio-art::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(9,9,9,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.54);
  box-shadow: inset 0 0 0 16px rgba(255,255,255,.18);
}
.portfolio-art.clinic { background: linear-gradient(135deg, #fff, #d8f7ff 38%, var(--yellow)); }
.portfolio-art.saas { background: linear-gradient(135deg, #111, #3d3d3d 48%, var(--yellow)); }
.portfolio-art.local { background: linear-gradient(135deg, var(--yellow), #ffffff 52%, #c8ffd4); }
.industry-grid { display: flex; flex-wrap: wrap; gap: 12px; }

.testimonial-shell { display: grid; grid-template-columns: 52px 1fr 52px; gap: 16px; align-items: center; }
.testimonial-track { position: relative; min-height: 260px; }
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 70px rgba(9,9,9,.08);
}
.testimonial.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.testimonial p { margin: 0 0 24px; font-size: 1.35rem; color: var(--black); }
.testimonial strong, .testimonial span { display: block; }
.testimonial span { color: var(--muted); }
.slider-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 20px; border: 0; background: transparent; cursor: pointer; text-align: left; font-weight: 850; color: var(--black); }
.faq-item p { max-height: 0; overflow: hidden; margin: 0; padding: 0 20px; color: var(--muted); transition: max-height .25s ease, padding .25s ease; }
.faq-item.open p { max-height: 180px; padding: 0 20px 20px; }

.contact-cta { background: linear-gradient(135deg, var(--yellow), #fff4a3); }
.cta-box { text-align: center; padding: 72px 28px; border: 1px solid rgba(9,9,9,.1); border-radius: var(--radius); background: rgba(255,255,255,.6); backdrop-filter: blur(16px); }
.cta-box p { margin-inline: auto; color: #4b430e; max-width: 660px; }

.black-band { background: var(--black); color: #fff; }
.black-band h3 { color: #fff; }
.black-band article { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.black-band p { color: rgba(255,255,255,.72); }
.detail-card ul { margin: 18px 0 0; padding-left: 18px; color: var(--muted); }
.case-card { display: grid; gap: 18px; }
.case-card .portfolio-art { min-height: 240px; border-radius: var(--radius); }
.case-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
.case-metrics div, .case-tech span {
  padding: 10px;
  background: #fff7c4;
  border-radius: var(--radius);
}
.case-metrics dt { color: #6d5b00; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.case-metrics dd { margin: 2px 0 0; color: var(--black); font-weight: 900; }
.case-tech { display: flex; flex-wrap: wrap; gap: 10px; }
.case-tech span { font-weight: 800; font-size: .9rem; }
.case-card blockquote { margin: 0; padding-left: 16px; border-left: 3px solid var(--yellow); color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.contact-form, .contact-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 60px rgba(9,9,9,.07);
}
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--black); font-weight: 800; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fbfbfb;
  color: var(--black);
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: #d4b000; box-shadow: 0 0 0 4px rgba(255,212,0,.18); }
.contact-form input.invalid, .contact-form textarea.invalid, .contact-form select.invalid { border-color: #c62b2b; box-shadow: 0 0 0 4px rgba(198,43,43,.12); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { margin: 0; color: var(--muted); font-size: .9rem; }
.form-status { margin: 0; color: #6b5a00; font-weight: 750; }
.contact-panel { display: grid; gap: 22px; }
.contact-panel div { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.contact-panel a { color: #8d7600; font-weight: 800; }
.map-placeholder {
  min-height: 220px;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255,212,0,.16), rgba(255,255,255,.7)),
    linear-gradient(rgba(9,9,9,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9,9,9,.08) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}
.map-placeholder span { color: var(--black); font-weight: 900; }
.map-placeholder small { color: var(--muted); }

.footer { padding: 64px 0 26px; background: var(--black); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.footer p, .footer a { color: rgba(255,255,255,.68); }
.footer .brand { color: #fff; }
.footer h3 { margin: 0 0 14px; color: #fff; }
.footer a { display: block; margin: 8px 0; }
.footer-bottom { width: min(1160px, calc(100% - 40px)); margin: 38px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(37,211,102,.35);
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 998;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(9,9,9,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  color: var(--black);
  box-shadow: 0 14px 36px rgba(9,9,9,.14);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .section-pad { padding: 84px 0; }
  .menu-toggle { display: block; position: relative; z-index: 1002; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-menu {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-menu a { padding: 12px; border-radius: var(--radius); }
  .hero-grid, .split-grid, .showcase-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-panel { min-height: 420px; }
  .service-grid, .process-grid, .portfolio-grid, .values-grid, .service-detail-grid, .case-grid, .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-strip .container { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container, .navbar, .narrow { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 68px 0; }
  .hero h1, .page-hero h1 { font-size: clamp(2.6rem, 17vw, 4rem); }
  .hero-stats, .service-grid, .process-grid, .portfolio-grid, .values-grid, .service-detail-grid, .case-grid, .solution-grid, .footer-grid, .case-metrics { grid-template-columns: 1fr; }
  .testimonial-shell { grid-template-columns: 1fr 1fr; }
  .testimonial-track { grid-column: 1 / -1; order: -1; min-height: 360px; }
  .slider-btn { width: 100%; }
  .orbit { width: 200px; height: 200px; }
  .orbit i { transform-origin: 100px 100px; left: 91px; }
  .hero-actions .btn { width: 100%; }
  .form-actions .btn { width: 100%; }
  .cta-box { padding: 46px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}


