:root {
  --accent: #C6DD53;
  --dark-green: #044434;
  --darker-green: #010C05;
  --light-gray: #F8F8F8;
  --dark-gray: #222222;
  --white: #FFFFFF;
  
  --radius-container: 20px;
  --radius-button: 10px;
  --radius-card: 40px;
  
  --font-family: 'Clash Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-header: 0px 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-card: 0px 15px 35px rgba(1, 12, 5, 0.04);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--darker-green);
  color: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
  line-height: 1.5;
  font-weight: 400;
  background-color: var(--darker-green);
}

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

.scroll-reveal-heading,
.scroll-reveal-box {
  opacity: 0;
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    translate 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-box {
  translate: 0 28px;
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal-heading.is-visible,
.scroll-reveal-box.is-visible {
  opacity: 1;
  translate: 0 0;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.quote-dialog {
  width: min(760px, calc(100vw - 32px));
  height: min(900px, calc(100vh - 32px));
  height: min(900px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #FAFAFA;
  color: var(--darker-green);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.quote-dialog::backdrop {
  background: rgba(1, 12, 5, 0.72);
  backdrop-filter: blur(6px);
}

.quote-dialog-content {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  background: #FAFAFA;
}

.quote-dialog-toolbar {
  display: flex;
  width: 100%;
  flex: 0 0 52px;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 12px;
}

.quote-dialog-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--dark-green);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
}

.quote-dialog-close:hover {
  background: var(--darker-green);
}

.quote-dialog-frame-wrap {
  display: grid;
  width: 100%;
  min-height: 0;
  flex: 1;
  place-items: center;
  background: #FAFAFA;
}

.quote-dialog-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #FAFAFA;
}

.quote-dialog-loading {
  color: var(--darker-green);
  font-size: 16px;
}

.quote-embed-preloader {
  position: fixed;
  left: -2px;
  bottom: 0;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.section-tag .dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.section-tag.light-theme {
  color: rgba(1, 12, 5, 0.6);
}

/* ==========================================
   1. HERO SECTION
   ========================================== */

/* Header Sticky Box */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: center;
}

.header-bar {
  position: relative;
  background: var(--white);
  color: var(--darker-green);
  width: min(720px, 92vw);
  height: 56px;
  border-radius: 40px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-header);
  transition: var(--transition-smooth);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 6px;
}

.header-icon {
  width: 28px;
  height: 28px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  position: absolute;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  white-space: nowrap;
}

.header-nav > * {
  pointer-events: auto;
}

.header-nav .btn-header-cta {
  position: absolute;
  right: 10px;
}

.nav-link {
  font-size: 18px;
  font-weight: 500;
  color: var(--darker-green);
  position: relative;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.7;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 500;
  color: var(--darker-green);
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  background: var(--white);
  border-radius: var(--radius-container);
  padding: 12px 16px;
  box-shadow: var(--shadow-header);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  font-size: 15px;
  font-weight: 500;
  color: var(--darker-green);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-button);
  transition: background-color 0.2s;
}

.dropdown-item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dropdown-item:hover {
  background-color: var(--light-gray);
}

.btn-header-cta {
  background-color: var(--darker-green);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.btn-header-cta:hover {
  background-color: var(--accent);
  color: var(--darker-green);
}

.header-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #000;
}

.header-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* Global Text Selection Highlight */
::selection {
  background-color: var(--accent);
  color: var(--darker-green);
}

::-moz-selection {
  background-color: var(--accent);
  color: var(--darker-green);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-heading,
  .scroll-reveal-box {
    opacity: 1;
    translate: none;
    transition: none;
  }

  
}

.btn-primary {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background-color: transparent;
  color: var(--darker-green);
  min-height: 80px;
  font-size: 20px;
  font-weight: 500;
  padding: 12px 16px 12px 31px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  box-shadow: none;
  transition: var(--transition-smooth);
}

.btn-primary::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background-color: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  content: "";
  transition: background-color 0.3s ease;
}

.hero-cta-label,
.btn-primary .arrow-circle {
  position: relative;
  z-index: 2;
}

.btn-primary .arrow-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--darker-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-3px);
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  background-color: var(--darker-green);
}

.btn-primary:hover .arrow-circle {
  background: var(--accent);
  color: var(--darker-green);
}

/* ==========================================
   2. PLATFORMS SECTION (see css/platforms.css)
   ========================================== */

/* ==========================================
   3. SERVICES MARQUEE
   ========================================== */
.marquee-section {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 24px 0;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: marqueeScroll 22s linear infinite;
  width: max-content;
  will-change: transform;
}

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

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 400;
  flex-shrink: 0;
}

.marquee-text-highlight {
  color: var(--accent);
}

.marquee-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================
   4. PORTFOLIO HIGHLIGHTS
   ========================================== */
.portfolio-section {
  background-color: var(--dark-green);
  color: var(--white);
  padding: 80px 0 100px; /* 80px top padding as requested */
  position: relative;
  overflow: hidden; /* Contains floating brand graphic cleanly inside section */
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px; /* 80px bottom space as requested */
  position: relative;
}

.portfolio-title-area {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.portfolio-heading {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 28px;
}

.portfolio-heading .dot-highlight {
  color: var(--accent);
}

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

/* Pill Shaped CTA Buttons */
.btn-accent-pill {
  background-color: var(--accent);
  color: var(--darker-green);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-accent-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(198, 221, 83, 0.3);
}

.btn-accent-pill .arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--darker-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.btn-outline-pill {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-outline-pill:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Floating 3D Brand Icon Header Graphic (Positioned under cards & below marquee) */
.portfolio-header-icon {
  width: 500px;
  height: 500px;
  object-fit: contain;
  transition: transform 0.1s linear;
  flex-shrink: 0;
  position: absolute;
  top: -15px; /* Positioned below marquee bar */
  right: -30px;
  pointer-events: none;
  z-index: 0; /* Positioned BEHIND cards */
  opacity: 0.95;
}

/* Full Screen Width Portfolio Grid Wrapper */
.portfolio-full-wrapper {
  width: 100%;
  padding: 0 40px;
  position: relative;
  z-index: 2; /* Sits ON TOP of background icon (z-index: 0) */
}

@media (min-width: 1600px) {
  .portfolio-full-wrapper {
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  .portfolio-full-wrapper {
    padding: 0 20px;
  }
}

/* Asymmetric 6-column Full-Width Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  width: 100%;
}

/* Top Row (Cards 1 & 2): 50% width each */
.portfolio-card:nth-child(1),
.portfolio-card:nth-child(2) {
  grid-column: span 3;
}

/* Bottom Row (Cards 3 & 4 & CTA): 33.3% width each */
.portfolio-card:nth-child(3),
.portfolio-card:nth-child(4),
.portfolio-card-cta {
  grid-column: span 2;
}

/* Portfolio Card Design - 100% Solid Opaque Dark Green */
.portfolio-card {
  background-color: #01231B; /* Solid opaque color to completely cover spinning logo behind */
  border-radius: var(--radius-container);
  padding: 28px 28px 24px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2; /* Ensures cards render on top of background logo */
}

/* Hover effect: transitions background color to dark gray #222222 */
.portfolio-card:hover {
  background-color: var(--dark-gray);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
}

.portfolio-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.portfolio-category-tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.portfolio-date-tag {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.portfolio-card-title {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--white);
}

.portfolio-services-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.portfolio-img-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.portfolio-thumb {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-thumb {
  transform: scale(1.02);
}

/* Card 5: Big Lime Green CTA Card */
.portfolio-card-cta {
  background-color: var(--accent);
  color: var(--darker-green);
  border-radius: var(--radius-container);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 24px;
  min-height: 380px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.portfolio-card-cta .cta-text {
  font-size: 22px;
  font-weight: 600;
}

.portfolio-card-cta .cta-arrow-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--darker-green);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.portfolio-card-cta:hover {
  background-color: var(--white);
  transform: translateY(-4px);
}

.portfolio-card-cta:hover .cta-arrow-circle {
  background-color: var(--darker-green);
  color: var(--white);
  transform: scale(1.1);
}

/* ==========================================
   5. HOW IT WORKS
   ========================================== */
.how-section {
  background-color: var(--light-gray);
  color: var(--darker-green);
  padding: 100px 0;
}

.how-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.how-heading {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 400;
  line-height: 1.15;
}

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

.how-card {
  background: var(--white);
  border-radius: var(--radius-container);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.how-card.full-width {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  min-height: 320px;
}

.step-badge {
  display: inline-block;
  background-color: var(--light-gray);
  color: var(--darker-green);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.how-card-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}

.how-card-text {
  font-size: 16px;
  color: rgba(1, 12, 5, 0.7);
  line-height: 1.6;
}

.mockup-embed {
  --color-surface: var(--white, #FFFFFF);
  --color-chrome: var(--light-gray, #F8F8F8);
  --color-canvas: var(--white, #FFFFFF);
  --color-border: var(--light-gray, #E2E2E2);
  --color-text: var(--darker-green, #010C05);
  --color-muted: var(--dark-green, #044434);
  --color-primary: var(--accent, #C6DD53);
  width: 100%;
  aspect-ratio: 16 / 10;
  box-sizing: border-box;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.75em;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: clamp(12px, 2vw, 18px);
  box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.mockup-embed * {
  box-sizing: border-box;
}

.mockup-chrome {
  height: 14%;
  min-height: 1.8em;
  flex-shrink: 0;
  background: var(--color-chrome);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 4%;
  gap: 3%;
}

.mockup-dots {
  display: flex;
  gap: 0.35em;
}

.mockup-dot {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--color-muted);
  opacity: 0.25;
}

.mockup-address-bar {
  height: 45%;
  flex: 1;
  max-width: 50%;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: 0.25em;
  border: 1px solid var(--color-border);
  opacity: 0.8;
}

.mockup-canvas {
  flex: 1;
  min-height: 0;
  background: var(--color-canvas);
  padding: 6%;
  display: flex;
  flex-direction: column;
  gap: 5%;
  position: relative;
}

.mockup-assembly .mockup-hero-text,
.mockup-assembly .mockup-sub-text,
.mockup-assembly .mockup-media-block,
.mockup-assembly .mockup-btn {
  opacity: 0;
  animation: assembleElement 5.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.mockup-assembly .mockup-hero-text {
  width: 75%;
  height: 12%;
  background: var(--color-text);
  border-radius: 0.2em;
  animation-delay: 0.2s;
}

.mockup-assembly .mockup-sub-text {
  width: 45%;
  height: 6%;
  background: var(--color-muted);
  border-radius: 0.15em;
  animation-delay: 0.4s;
}

.mockup-assembly .mockup-media-block {
  width: 100%;
  height: 45%;
  background: var(--color-chrome);
  border: 1px dashed var(--color-border);
  border-radius: 0.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  animation-delay: 0.6s;
}

.mockup-assembly .mockup-media-placeholder {
  width: 25%;
  height: 35%;
  background: var(--color-muted);
  border-radius: 0.2em;
  opacity: 0.15;
}

.mockup-assembly .mockup-btn {
  width: 30%;
  height: 12%;
  background: var(--color-primary);
  border-radius: 0.25em;
  align-self: flex-start;
  animation-delay: 0.8s;
}

.mockup-content .mockup-canvas {
  padding: 5%;
  flex-direction: row;
  gap: 5%;
}

.mockup-tray {
  width: 32%;
  height: 100%;
  background: var(--color-chrome);
  border: 1px solid var(--color-border);
  border-radius: 0.5em;
  padding: 6%;
  display: flex;
  flex-direction: column;
  gap: 8%;
}

.mockup-tray-label {
  width: 60%;
  height: 8%;
  background: var(--color-muted);
  border-radius: 0.15em;
  opacity: 0.25;
}

.mockup-tray-slot {
  flex: 1;
  border: 1px dashed var(--color-border);
  border-radius: 0.3em;
  background: rgba(0, 0, 0, 0.01);
}

.mockup-staging {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6%;
  justify-content: space-between;
}

.mockup-content .mockup-card {
  width: 100%;
  height: 28%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.4em;
  padding: 0 4%;
  display: flex;
  align-items: center;
  gap: 5%;
  position: relative;
  box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.02);
  opacity: 0;
  animation: transferContent 5.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.mockup-content .mockup-card-text { animation-delay: 0.2s; }
.mockup-content .mockup-card-image { animation-delay: 0.5s; }
.mockup-content .mockup-card-video { animation-delay: 0.8s; }

.mockup-icon {
  width: 1.6em;
  height: 1.6em;
  border-radius: 0.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-chrome);
  border: 1px solid var(--color-border);
}

.icon-doc-lines {
  width: 50%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.icon-doc-line {
  width: 100%;
  height: 20%;
  background: var(--color-text);
  border-radius: 0.1em;
  opacity: 0.8;
}

.icon-doc-line:last-child { width: 60%; }

.icon-img-shape {
  width: 55%;
  height: 45%;
  border: 1px solid var(--color-text);
  border-radius: 0.1em;
  position: relative;
  opacity: 0.8;
}

.icon-img-shape::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0.1em;
  width: 0.3em;
  height: 0.3em;
  background: var(--color-text);
  border-radius: 50%;
}

.icon-play-triangle {
  width: 0;
  height: 0;
  border-top: 0.3em solid transparent;
  border-bottom: 0.3em solid transparent;
  border-left: 0.45em solid var(--color-text);
  margin-left: 0.1em;
  opacity: 0.8;
}

.mockup-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.mockup-line-primary {
  width: 65%;
  height: 0.35em;
  background: var(--color-text);
  border-radius: 0.1em;
}

.mockup-line-secondary {
  width: 40%;
  height: 0.25em;
  background: var(--color-muted);
  border-radius: 0.1em;
  opacity: 0.3;
}

.mockup-content .mockup-badge {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0;
  animation: badgePop 5.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.mockup-content .mockup-card-text .mockup-badge { animation-delay: 0.2s; }
.mockup-content .mockup-card-image .mockup-badge { animation-delay: 0.5s; }
.mockup-content .mockup-card-video .mockup-badge { animation-delay: 0.8s; }

.mockup-build .mockup-chrome { position: relative; }

.mockup-build .mockup-progress-track {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}

.mockup-build .mockup-progress-fill {
  width: 0;
  height: 100%;
  background: var(--color-primary);
  animation: progressFill 5.5s ease-in-out infinite;
}

.mockup-build .mockup-canvas { display: block; }

.mockup-layer {
  position: absolute;
  inset: 0;
  padding: 6%;
  display: flex;
  flex-direction: column;
  gap: 5%;
}

.layer-wireframe {
  opacity: 1;
  animation: wireframeFade 5.5s ease-in-out infinite;
}

.wireframe-hero {
  width: 70%;
  height: 12%;
  border: 1px dashed var(--color-border);
  background: var(--color-chrome);
  border-radius: 0.2em;
}

.wireframe-sub {
  width: 40%;
  height: 6%;
  border: 1px dashed var(--color-border);
  border-radius: 0.15em;
}

.wireframe-grid,
.finished-grid {
  display: flex;
  gap: 4%;
  flex: 1;
}

.wireframe-card {
  flex: 1;
  border: 1px dashed var(--color-border);
  background: var(--color-chrome);
  border-radius: 0.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wireframe-cross {
  width: 40%;
  height: 40%;
  border: 1px dashed var(--color-border);
  border-radius: 0.2em;
}

.wireframe-btn {
  width: 30%;
  height: 12%;
  border: 1px solid var(--color-border);
  border-radius: 0.25em;
  background: var(--color-chrome);
}

.layer-finished {
  opacity: 0;
  animation: finishedFade 5.5s ease-in-out infinite;
}

.finished-hero {
  width: 70%;
  height: 12%;
  background: var(--color-text);
  border-radius: 0.2em;
}

.finished-sub {
  width: 40%;
  height: 6%;
  background: var(--color-muted);
  border-radius: 0.15em;
  opacity: 0.25;
}

.finished-card {
  flex: 1;
  background: var(--color-chrome);
  border: 1px solid var(--color-border);
  border-radius: 0.4em;
  padding: 6%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.finished-card-dot {
  width: 1.2em;
  height: 1.2em;
  background: var(--color-primary);
  border-radius: 50%;
}

.finished-card-line {
  width: 70%;
  height: 0.3em;
  background: var(--color-text);
  border-radius: 0.1em;
}

.finished-btn {
  width: 30%;
  height: 12%;
  background: var(--color-primary);
  border-radius: 0.25em;
  box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.05);
}

.mockup-revision .mockup-hero-text {
  width: 70%;
  height: 12%;
  background: var(--color-text);
  border-radius: 0.2em;
}

.mockup-revision .mockup-sub-text {
  width: 45%;
  height: 6%;
  background: var(--color-muted);
  border-radius: 0.15em;
  opacity: 0.25;
}

.mockup-card-container {
  width: 100%;
  height: 45%;
  background: var(--color-chrome);
  border: 1px solid var(--color-border);
  border-radius: 0.4em;
  padding: 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.mockup-card-lines {
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.mockup-card-line-1 {
  width: 85%;
  height: 0.4em;
  background: var(--color-text);
  border-radius: 0.1em;
}

.mockup-card-line-2 {
  width: 60%;
  height: 0.3em;
  background: var(--color-muted);
  border-radius: 0.1em;
  opacity: 0.3;
}

.mockup-target-btn {
  width: 32%;
  height: 65%;
  background: var(--color-chrome);
  border: 1px solid var(--color-border);
  border-radius: 0.3em;
  animation: revisionApply 5.5s ease-in-out infinite;
  position: relative;
}

.mockup-comment-badge {
  position: absolute;
  top: 52%;
  right: 7%;
  width: 1.1em;
  height: 1.1em;
  background: var(--color-text);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.1);
  animation: badgeAppear 5.5s ease-in-out infinite;
  z-index: 2;
}

.mockup-comment-dot {
  width: 0.3em;
  height: 0.3em;
  background: var(--color-primary);
  border-radius: 50%;
  transform: rotate(45deg);
}

.mockup-cursor {
  position: absolute;
  width: 1.1em;
  height: 1.1em;
  top: 80%;
  left: 80%;
  z-index: 3;
  pointer-events: none;
  animation: cursorMove 5.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.mockup-cursor svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0.1em 0.2em rgba(0, 0, 0, 0.15));
}

@keyframes assembleElement {
  0% { opacity: 0; transform: translateY(0.6em); }
  10%, 80% { opacity: 0.95; transform: translateY(0); }
  90%, 100% { opacity: 0; transform: translateY(-0.3em); }
}

@keyframes transferContent {
  0% { opacity: 0; transform: translateX(-1.2em); }
  12%, 80% { opacity: 0.95; transform: translateX(0); }
  90%, 100% { opacity: 0; transform: translateY(-0.3em); }
}

@keyframes badgePop {
  0%, 10% { opacity: 0; transform: scale(0.5); }
  15%, 80% { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; transform: scale(0.5); }
}

@keyframes wireframeFade {
  0%, 15% { opacity: 1; }
  35%, 75% { opacity: 0; }
  90%, 100% { opacity: 1; }
}

@keyframes finishedFade {
  0%, 15% { opacity: 0; transform: scale(0.99); }
  35%, 75% { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; transform: scale(0.99); }
}

@keyframes progressFill {
  0%, 15% { width: 0; opacity: 0.4; }
  35%, 75% { width: 80%; opacity: 1; }
  90%, 100% { width: 0; opacity: 0.4; }
}

@keyframes cursorMove {
  0%, 10% { top: 80%; left: 80%; opacity: 0; transform: scale(1); }
  28% { top: 58%; left: 78%; opacity: 1; transform: scale(1); }
  33% { top: 58%; left: 78%; transform: scale(0.85); }
  38% { top: 58%; left: 78%; transform: scale(1); }
  80% { top: 58%; left: 78%; opacity: 1; }
  90%, 100% { top: 80%; left: 80%; opacity: 0; }
}

@keyframes badgeAppear {
  0%, 32% { opacity: 0; transform: rotate(-45deg) scale(0); }
  38%, 78% { opacity: 1; transform: rotate(-45deg) scale(1); }
  88%, 100% { opacity: 0; transform: rotate(-45deg) scale(0); }
}

@keyframes revisionApply {
  0%, 35%, 88%, 100% {
    background: var(--color-chrome);
    border-color: var(--color-border);
    box-shadow: none;
  }
  45%, 78% {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0.2em 0.6em rgba(0, 0, 0, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  

  

  .mockup-assembly .mockup-hero-text,
  .mockup-assembly .mockup-sub-text,
  .mockup-assembly .mockup-media-block,
  .mockup-assembly .mockup-btn {
    animation: none;
    opacity: 0.95;
    transform: none;
  }

  .mockup-content .mockup-card,
  .mockup-content .mockup-badge {
    animation: none;
    opacity: 0.95;
    transform: none;
  }

  .mockup-build .layer-wireframe { display: none; }
  .mockup-build .layer-finished { animation: none; opacity: 1; transform: none; }
  .mockup-build .mockup-progress-fill { animation: none; width: 80%; opacity: 1; }
  .mockup-revision .mockup-cursor { display: none; }
  .mockup-revision .mockup-comment-badge { animation: none; opacity: 1; transform: rotate(-45deg) scale(1); }
  .mockup-revision .mockup-target-btn { animation: none; background: var(--color-primary); border-color: var(--color-primary); }
}

/* ==========================================
   6. SOCIAL PROOF & REVIEWS
   ========================================== */
.social-proof-section {
  background-color: var(--dark-green);
  color: var(--white);
  padding: 100px 0;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.stat-card {
  border-radius: var(--radius-container);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.stat-card:nth-child(1) { background-color: var(--accent); color: var(--darker-green); }
.stat-card:nth-child(2) { background-color: var(--darker-green); color: var(--white); }
.stat-card:nth-child(3) { background-color: var(--white); color: var(--darker-green); }

.stat-number {
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
}

.stat-label {
  font-size: 16px;
  font-weight: 400;
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-heading {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
}

/* Reviews Carousel */
.reviews-carousel-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.reviews-carousel-wrapper.is-dragging {
  cursor: grabbing;
}

.reviews-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.reviews-track:hover {
  /* paused by JS */
}

.review-card {
  background-color: var(--darker-green);
  border-radius: var(--radius-container);
  padding: 32px;
  width: 380px;
  margin-right: 24px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 14px;
}

.review-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 28px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-size: 15px;
  font-weight: 500;
}

/* ==========================================
   7. FAQ SECTION
   ========================================== */
.faq-section {
  background-color: var(--light-gray);
  color: var(--darker-green);
  padding: 100px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-container);
  padding: 24px 32px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-question-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-num {
  color: var(--accent);
  font-weight: 600;
  margin-right: 8px;
}

.faq-question {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.faq-toggle-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: var(--transition-smooth);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background-color: var(--darker-green);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 16px;
  color: rgba(1, 12, 5, 0.7);
  line-height: 1.6;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  margin-top: 16px;
}

/* ==========================================
   8. SOCIALS SECTION
   ========================================== */
.socials-section {
  background-color: var(--light-gray);
  color: var(--darker-green);
  padding: 80px 0 100px;
  position: relative;
  overflow: visible;
  clip-path: inset(-200px 0 0);
}

.socials-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
}

.socials-header > div {
  position: relative;
  z-index: 2;
}

.socials-header .portfolio-header-icon {
  top: -160px;
}

.socials-heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.social-card {
  background-color: var(--white);
  border-radius: var(--radius-container);
  padding: 28px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

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

.social-card.highlight {
  background-color: var(--accent);
  color: var(--darker-green);
}

.social-card-title {
  font-size: 20px;
  font-weight: 500;
}

.social-card-handle {
  font-size: 14px;
  color: rgba(1, 12, 5, 0.6);
}

.social-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
}

.social-card-icon img {
  width: 22px;
  height: 22px;
}

.social-card-icon-text {
  font-size: 20px;
  font-weight: 600;
}

.social-card.highlight .social-card-icon {
  background-color: var(--darker-green);
  color: var(--white);
}

.social-card.highlight .social-card-icon img {
  filter: brightness(0) invert(1);
}

/* ==========================================
   9. FOOTER SECTION
   ========================================== */
.footer-section {
  background-color: var(--dark-green);
  color: var(--white);
  padding-top: 100px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  top: 0;
  left: -100px;
  width: 700px;
  height: 700px;
  opacity: 0.2;
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.footer-cta-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
}

.footer-cta-title .dot { color: var(--accent); }

.footer-profile-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-name {
  font-size: 20px;
  font-weight: 500;
}

.profile-role {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-email-link {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
}

.footer-email-link:hover {
  color: var(--accent);
}

.footer-buttons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-buttons .btn-accent-pill,
.footer-buttons .btn-outline-pill {
  min-height: 80px;
  flex: 0 1 auto;
  font-size: 20px;
}

.footer-buttons .btn-accent-pill {
  padding: 12px 16px;
  gap: 30px;
  font-weight: 500;
  justify-content: space-between;
}

.footer-buttons .btn-accent-pill {
  padding-left: 31px;
}

.footer-buttons .btn-accent-pill .arrow-circle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  font-size: 20px;
}

.footer-buttons .btn-outline-pill {
  padding: 12px 24px;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.brand-webs { font-weight: 600; }
.brand-by-kev { font-weight: 400; }

.footer-mexico {
  display: flex;
  align-items: center;
  gap: 8px;
}

.heart-highlight {
  color: var(--accent);
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  

  
  
  
  
  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(2),
  .portfolio-card:nth-child(3),
  .portfolio-card:nth-child(4),
  .portfolio-card-cta {
    grid-column: 1 / -1;
    min-width: 0;
  }
  
  .how-grid {
    grid-template-columns: 1fr;
  }
  
  .socials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  .quote-dialog {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    height: calc(100dvh - 20px);
    border-radius: 22px;
  }

  .quote-dialog-toolbar {
    flex-basis: 44px;
    padding: 4px 8px;
  }

  .header-bar {
    position: relative;
    width: 95vw;
    padding: 0 16px;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    bottom: auto;
    padding: 14px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-header);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    transform: none;
    white-space: normal;
  }

  .header-bar.menu-open .header-nav {
    display: flex;
  }

  .header-menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .header-bar > .btn-header-cta {
    display: none;
  }

  .header-nav .nav-link,
  .header-nav .dropdown-toggle {
    padding: 10px 12px;
    font-size: 16px;
  }

  .header-nav .nav-dropdown {
    width: 100%;
  }

  .header-nav .dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 12px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header-nav .dropdown-item {
    padding: 8px 12px;
  }

  .header-nav .btn-header-cta {
    position: static;
    margin-top: 8px;
    text-align: center;
  }

  

  

  

  .reviews-carousel-wrapper {
    width: calc(100% + 48px);
    left: 0;
    margin-left: -24px;
    transform: none;
  }

  .portfolio-header-icon {
    width: min(70vw, 280px);
    height: auto;
    right: 0;
  }

  .portfolio-header .portfolio-header-icon {
    top: 0;
    right: -56px;
  }

  
  
  

  

  

  

  

  

  

  .portfolio-card-cta {
    min-height: 240px;
    padding: 32px 20px;
  }

  .portfolio-card-cta .cta-text {
    font-size: clamp(18px, 5vw, 22px);
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .socials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-buttons .btn-accent-pill,
  .footer-buttons .btn-outline-pill {
    min-height: 72px;
    font-size: 20px;
  }

  .footer-buttons .btn-accent-pill .arrow-circle {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
