:root {
  --bg-main: #090909;
  --bg-soft: #101010;
  --gold: #a11826;
  --gold-soft: #d85a66;
  --text-main: #f5f5f5;
  --text-muted: #b8b8b8;
  --card-border: rgba(161, 24, 38, 0.36);
  --shadow-gold: 0 10px 30px rgba(161, 24, 38, 0.24);
  --font-brand: "Montserrat", sans-serif;
  --cta-video-focus-x: 50%;
  --cta-video-focus-y: 50%;
}

* {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-brand);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.section-space {
  padding: clamp(34px, 4.2vw, 52px) 0;
}

.section-space + .section-space {
  padding-top: clamp(18px, 2.2vw, 28px);
}

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

.section-tag {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.76rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.section-text {
  color: var(--text-muted);
  max-width: 600px;
}

.navbar-brand {
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.brand-video {
  width: clamp(150px, 20vw, 240px);
  height: clamp(40px, 5.6vw, 66px);
  object-fit: contain;
  border-radius: 4px;
}

#mainNavbar {
  --mobile-nav-offset: 78px;
  background: #090909;
  transition: all 0.35s ease;
  overflow: visible;
}

#mainNavbar .container {
  overflow: visible;
}

.navbar-brand {
  flex: 0 0 auto;
}

#mainNavbar .nav-link {
  color: #f0f0f0;
  position: relative;
  font-weight: 500;
}

#mainNavbar .nav-link::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--gold);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link:focus-visible::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.35rem;
}

.nav-icon-action {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-icon-action:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.nav-icon-action--whatsapp {
  background: var(--gold);
  border-color: var(--gold);
}

.nav-icon-action--whatsapp:hover {
  background: #7f101d;
  border-color: #7f101d;
}

@media (min-width: 992px) {
  #mainNavbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
  }

  #mainNavbar .navbar-brand {
    margin-right: 1.25rem;
  }

  #mainNavbar .navbar-collapse {
    flex: 0 0 auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
  }

  #mainNavbar .navbar-nav {
    align-items: center;
    margin-bottom: 0;
  }

  .navbar-actions {
    margin-left: 0.2rem;
  }
}

#mainNavbar.scrolled {
  background: #090909;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.navbar-toggler {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-lines {
  width: 22px;
  height: 16px;
  position: relative;
  display: block;
}

.toggler-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.toggler-lines span:nth-child(1) {
  top: 0;
}

.toggler-lines span:nth-child(2) {
  top: 7px;
}

.toggler-lines span:nth-child(3) {
  top: 14px;
}

.navbar-toggler[aria-expanded="true"] .toggler-lines span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-lines span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-lines span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.section-role {
  color: var(--gold-soft);
  font-size: 1.1rem;
  margin-top: -0.5rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.03rem;
}

.hero-section {
  min-height: 100vh;
  position: relative;
  padding-top: 90px;
  overflow: hidden;
  background: #070707;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 7000ms ease;
  will-change: opacity, transform;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.hero-kicker {
  color: var(--gold);
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.8rem;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2.7rem, 7.4vw, 5.8rem);
  line-height: 0.98;
  margin-bottom: 1rem;
  max-width: 900px;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 640px;
  color: #dadada;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.btn-gold {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-bg: #7f101d;
  --bs-btn-hover-border-color: #7f101d;
  --bs-btn-hover-color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-gold);
}

.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  color: #101010;
  background: var(--gold);
}

.profile-frame {
  border: 1px solid var(--card-border);
  border-radius: 22px;
  overflow: hidden;
  background: #090909;
  box-shadow: var(--shadow-gold);
  position: relative;
}

.profile-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #090909;
}

.profile-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.02);
}

.stat-card h3 {
  color: var(--gold);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.stat-card p {
  margin: 0.35rem 0 0;
  color: #d0d0d0;
  font-size: 0.9rem;
}

.gold-line {
  width: 80px;
  height: 2px;
  background: var(--gold);
  border-radius: 99px;
}

.portfolio-loop {
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  background: #090909;
  margin-top: 1.2rem;
}

.portfolio-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: max-content;
  animation: portfolio-scroll 38s linear infinite;
}

.portfolio-loop:hover .portfolio-track {
  animation-play-state: paused;
}

.portfolio-slide {
  margin: 0;
  flex: 0 0 auto;
  height: clamp(320px, 34vw, 460px);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  background: #090909;
}

.portfolio-slide img {
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #090909;
}

@keyframes portfolio-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.service-card {
  background: #090909;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.service-content {
  padding: 1.1rem;
}

.service-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.service-content p {
  color: #cfcfcf;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
}


.services-more {
  margin-top: 1.7rem;
}
.price-card {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.35rem;
  background: #090909;
  height: 100%;
}

.price-card h3 {
  margin-bottom: 0.9rem;
  font-family: var(--font-brand);
  font-size: 1.9rem;
}

.price-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.price-card li {
  margin-bottom: 0.55rem;
  color: #dedede;
  position: relative;
  padding-left: 1.2rem;
}

.price-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.68rem;
}

.demo-card {
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  background: #090909;
}

.testimonial-card {
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2.2rem;
  background: #090909;
  min-height: 240px;
  width: clamp(280px, 42vw, 540px);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-loop {
  border-radius: 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.testimonial-track {
  display: flex;
  gap: 1.15rem;
  width: max-content;
  animation: testimonial-scroll 26s linear infinite;
}

@keyframes testimonial-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.575rem));
  }
}

.stars {
  color: var(--gold);
  letter-spacing: 0.2rem;
  margin-bottom: 0.8rem;
}

.testimonial-card p {
  margin-bottom: 1rem;
  color: #f0f0f0;
}

.testimonial-card h3 {
  margin: 0;
  color: var(--gold-soft);
  font-size: 1rem;
}

.cta-section {
  position: relative;
  min-height: clamp(420px, 58vh, 620px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--cta-video-focus-x) var(--cta-video-focus-y);
  filter: saturate(1.05) contrast(1.02) brightness(0.58);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 6, 6, 0.78), rgba(6, 6, 6, 0.62));
  backdrop-filter: blur(1.5px);
}

.cta-section .section-title {
  max-width: 14ch;
  margin-bottom: 1rem;
}

.contact-box {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.5rem;
  background: rgba(9, 9, 9, 0.86);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-box p,
.contact-box a {
  margin: 0 0 0.5rem;
  color: #ececec;
}

.contact-box a:hover {
  color: var(--gold-soft);
}

.social-row {
  display: flex;
  gap: 1rem;
}

.cta-social-row {
  margin-top: 1.5rem;
}

.social-row a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3f3f3;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-row a:hover {
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.site-footer {
  padding: 52px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #090909;
}

.footer-brand-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-logo {
  width: clamp(76px, 7vw, 92px);
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f0f0f;
  padding: 0.4rem;
  object-fit: contain;
}

.footer-brand-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}

.footer-brand-text {
  margin: 0;
  color: #d8d8d8;
}

.footer-col-title {
  margin: 0 0 0.75rem;
  color: #f0f0f0;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer-col-title--right {
  margin-bottom: 0.5rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-contact-line {
  margin: 0;
  color: #dddddd;
}

.footer-contact-link {
  margin-top: 0.2rem;
  color: #ededed;
  transition: color 0.25s ease;
}

.footer-contact-link:hover {
  color: var(--gold);
}

.footer-copy {
  margin: 0.8rem 0 0.35rem;
  color: #d0d0d0;
}

.footer-nav {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  justify-content: center;
}

.footer-nav a {
  color: #d8d8d8;
  transition: color 0.25s ease;
}

.footer-nav a:hover,
.dev-link:hover {
  color: var(--gold);
}

.dev-link {
  color: #d8d8d8;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  animation: pulse 1.9s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.reveal,
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.lazy-image {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.lazy-image.loaded {
  opacity: 1;
}

@media (max-width: 991.98px) {
  body.menu-open {
    overflow: hidden;
  }

  #mainNavbar .container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding-left: calc(1.2rem + env(safe-area-inset-left));
    padding-right: calc(1.2rem + env(safe-area-inset-right));
  }

  #mainNavbar .navbar-toggler {
    margin-left: auto;
  }

  #mainNavbar .navbar-collapse {
    position: fixed;
    top: var(--mobile-nav-offset);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--mobile-nav-offset));
    overflow-y: auto;
    padding: 1rem calc(1rem + env(safe-area-inset-right)) 1rem calc(1rem + env(safe-area-inset-left));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #090909;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
    z-index: 1001;
  }

  #mainNavbar .navbar-nav {
    gap: 0.55rem;
  }

  #mainNavbar .nav-link {
    padding: 0.55rem 0;
    font-size: 1.1rem;
  }

  .navbar-actions {
    margin-top: 0.9rem;
    margin-left: 0;
    justify-content: flex-start;
  }

  .section-space {
    padding: 34px 0;
  }

  .section-space + .section-space {
    padding-top: 16px;
  }

  .portfolio-slide {
    height: clamp(260px, 42vw, 360px);
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  #mainNavbar .container {
    padding-left: calc(1.35rem + env(safe-area-inset-left));
    padding-right: calc(1.35rem + env(safe-area-inset-right));
  }

  .navbar-brand {
    margin-right: 0;
  }

  .navbar-toggler {
    width: 42px;
    height: 42px;
    margin-right: 0.15rem;
  }

  .nav-icon-action {
    width: 44px;
    height: 44px;
  }

  .toggler-lines {
    width: 20px;
    height: 14px;
  }

  .toggler-lines span:nth-child(2) {
    top: 6px;
  }

  .toggler-lines span:nth-child(3) {
    top: 12px;
  }

  .navbar-toggler[aria-expanded="true"] .toggler-lines span:nth-child(1),
  .navbar-toggler[aria-expanded="true"] .toggler-lines span:nth-child(3) {
    top: 6px;
  }

  .brand-video {
    width: 150px;
    height: 42px;
  }

  .hero-title {
    line-height: 1.02;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .portfolio-slide {
    height: 260px;
  }

  .service-card img {
    height: 200px;
  }

  .testimonial-loop {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .testimonial-track {
    animation-duration: 22s;
  }

  .testimonial-card {
    width: min(88vw, 380px);
    min-height: 220px;
    padding: 1.4rem;
  }

  .social-row {
    justify-content: center;
  }

  .cta-section {
    min-height: clamp(520px, 80vh, 760px);
  }

  .cta-section .section-title {
    max-width: none;
  }

  .cta-social-row {
    margin-top: 1.1rem;
    justify-content: flex-start;
  }

  .site-footer {
    text-align: center;
  }

  .footer-brand-block {
    align-items: center;
  }

  .footer-meta {
    align-items: center;
  }

  .footer-col-title--right {
    margin-top: 0.25rem;
  }
}

@media (max-width: 420px) {
  #mainNavbar .container {
    padding-left: calc(1.1rem + env(safe-area-inset-left));
    padding-right: calc(1.1rem + env(safe-area-inset-right));
  }

  .brand-video {
    width: 138px;
    height: 40px;
  }

  .navbar-toggler {
    width: 40px;
    height: 40px;
    margin-right: 0.1rem;
  }

  .navbar-actions {
    gap: 0.65rem;
  }

  .nav-icon-action {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}
