/* ========================================
   CSS VARIABLES & BASE STYLES
   ======================================== */

:root {
  /* Colors - Light Mode (Default) */
  --bg: #f5f6f4;
  --bg-card: #ffffff;
  --bg-elevated: #eaece8;
  --text-primary: #0d120a;
  --text-secondary: #4a5244;
  --text-muted: #7a8274;
  --accent: #046A38;
  --accent-light: #0B8F4D;
  --accent-muted: rgba(4, 106, 56, 0.08);
  --border: rgba(13, 18, 10, 0.08);
  --border-hover: rgba(13, 18, 10, 0.15);
  --whatsapp: #25D366;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-accent: 0 4px 20px rgba(4, 106, 56, 0.25);

  /* Spacing */
  --section-py: clamp(4rem, 10vh, 8rem);
  --container-max: 1200px;
  --container-px: clamp(1.25rem, 5vw, 2rem);
  --nav-height: 72px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg: #0c0e0b;
  --bg-card: #161a14;
  --bg-elevated: #1f241d;
  --text-primary: #edf0eb;
  --text-secondary: #9ca894;
  --text-muted: #6b7562;
  --accent: #10B981;
  --accent-light: #34D399;
  --accent-muted: rgba(16, 185, 129, 0.10);
  --border: rgba(237, 240, 235, 0.08);
  --border-hover: rgba(237, 240, 235, 0.15);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-accent: 0 4px 20px rgba(16, 185, 129, 0.25);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: var(--accent);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ========================================
   BACKGROUND NOISE TEXTURE
   ======================================== */

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

[data-theme="dark"] .noise-overlay {
  opacity: 0.04;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 900px;
}

.container-tight {
  max-width: 800px;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 600ms var(--ease-smooth), transform 600ms var(--ease-smooth);
}

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

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

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

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--duration-normal) var(--ease-smooth),
              backdrop-filter var(--duration-normal) var(--ease-smooth),
              border-color var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--bg-card);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--container-px);
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  transition: color var(--duration-fast) var(--ease-smooth);
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration-fast) var(--ease-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mode Toggle */
.mode-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.mode-toggle:hover {
  border-color: var(--border-hover);
}

.mode-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--text-primary);
  position: absolute;
  transition: opacity var(--duration-normal) var(--ease-smooth),
              transform var(--duration-normal) var(--ease-smooth);
}

.icon-sun {
  opacity: 1;
  transform: rotate(0);
}

.icon-moon {
  opacity: 0;
  transform: rotate(90deg);
}

[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(-90deg);
}

[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: all var(--duration-fast) var(--ease-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(4, 106, 56, 0.35);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  font-weight: 500;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 2rem);
  position: relative;
}

.hero-container {
  text-align: center;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 500ms var(--ease-out) 200ms forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 600ms var(--ease-out) 350ms forwards;
}

.hero-subtext {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 500ms var(--ease-out) 500ms forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 400ms var(--ease-out) 650ms forwards;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   SECTION HEADER
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.service-description {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ========================================
   TECH STACK SECTION
   ======================================== */

.tech-stack {
  padding: clamp(3rem, 6vh, 5rem) 0;
  background: var(--bg-elevated);
}

.tech-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.tech-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.625rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-smooth);
  cursor: default;
  white-space: nowrap;
}

.tech-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.03);
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent);
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step-description {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Connector line between steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(16.666% + 16px);
  right: calc(16.666% + 16px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
  padding: var(--section-py) 0;
  background: var(--bg-elevated);
}

.contact-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.contact-left {
  padding-right: 0;
  display:flex;
  flex-direction: column;
  justify-content: center;
  text-align:center;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-subtext {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.contact-info-value:hover {
  color: var(--accent);
}

/* Contact right - Quick actions card */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-smooth);
  cursor: pointer;
  border: none;
}

.contact-action-btn svg {
  width: 18px;
  height: 18px;
}

.contact-action-btn.primary {
  background: var(--accent);
  color: #fff;
}

.contact-action-btn.primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.contact-action-btn.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.contact-action-btn.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.contact-action-btn.whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.contact-action-btn.whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

/* Center contact card when it's the only child (left column commented out) */
.contact-grid:has(> .contact-card:only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}

.contact-card:only-child {
  max-width: 480px;
  width: 100%;
}

/* ========================================
   PORTFOLIO CAROUSEL
   ======================================== */

.carousel {
  padding: clamp(3rem, 6vh, 5rem) 0;
  background: var(--bg);
  overflow: hidden;
}

.carousel-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.carousel-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: carouselScroll 40s linear infinite;
  will-change: transform;
}

.carousel-track:hover,
.carousel-track.dragging {
  animation-play-state: paused;
}

.carousel-item {
  flex-shrink: 0;
  width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-smooth);
  cursor: grab;
}

.carousel-item:active {
  cursor: grabbing;
}

.carousel-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.carousel-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.carousel-item-info {
  padding: 1rem 1.25rem 1.25rem;
}

.carousel-item-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.carousel-item-desc {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

/* Tablet carousel */
@media (max-width: 1023px) {
  .carousel-item {
    width: 280px;
  }

  .carousel-item img {
    height: 170px;
  }

  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 80px;
  }
}

/* Mobile carousel */
@media (max-width: 767px) {
  .carousel-item {
    width: 260px;
  }

  .carousel-item img {
    height: 155px;
  }

  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 50px;
  }

  .carousel-track {
    gap: 1rem;
    animation-duration: 30s;
  }
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all 300ms var(--ease-smooth);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vh, 5rem);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
}

.footer-brand-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.footer-brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

.footer-column-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

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

.footer-link-static {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.footer-contact-item {
  margin-bottom: 0.75rem;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-contact-value {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.footer-contact-value:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-back-to-top {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--duration-fast) var(--ease-smooth);
  cursor: pointer;
  background: none;
  border: none;
}

.footer-back-to-top:hover {
  color: var(--text-primary);
}

.footer-back-to-top svg {
  width: 14px;
  height: 14px;
}

/* ========================================
   PRICING PAGE - HERO
   ======================================== */

.pricing-hero {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: var(--section-py);
  text-align: center;
}

.pricing-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pricing-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.pricing-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.contact-pills {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.contact-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-pill svg {
  width: 14px;
  height: 14px;
}

/* ========================================
   PRICING PACKAGES
   ======================================== */

.pricing-packages {
  padding: var(--section-py) 0;
  background: var(--bg);
}

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

.pkg-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.pkg-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.pkg-card.featured {
  border: 2px solid var(--accent);
  position: relative;
}

.featured-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--accent-muted);
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.pkg-head {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.pkg-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.pkg-icon svg {
  width: 18px;
  height: 18px;
}

.pkg-meta {
  flex: 1;
}

.pkg-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.125rem;
}

.pkg-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.pkg-price {
  text-align: right;
  flex-shrink: 0;
}

.pkg-price .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  line-height: 1;
}

.pkg-price .term {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.pkg-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pkg-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.feature-list li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: var(--bg-elevated);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ========================================
   ADD-ONS SECTION
   ======================================== */

.addons {
  padding: var(--section-py) 0;
  background: var(--bg-elevated);
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.addon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.addon-card:hover {
  border-color: var(--border-hover);
}

.addon-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.addon-title svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.addon-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.addon-price span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.addon-desc {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ========================================
   PAYMENT TERMS SECTION
   ======================================== */

.payment-terms {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.terms-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.term-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.term-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.term-icon {
  color: var(--text-muted);
}

.term-icon svg {
  width: 20px;
  height: 20px;
}

.term-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================
   TERMS PAGE
   ======================================== */

.terms-hero {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  text-align: center;
}

.terms-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.terms-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.terms-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
}

.terms-content {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.terms-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.term-article {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.term-article:first-child {
  padding-top: 0;
}

.term-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.term-article-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.term-article-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.term-article-body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet: 1023px and below */
@media (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

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

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

/* Tablet-sm: 900px and below */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

/* Mobile: 767px and below */
@media (max-width: 767px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 250ms var(--ease-smooth);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.25rem;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1rem;
    align-items: start;
  }

  .step-badge {
    grid-row: 1;
    grid-column: 1;
    margin-bottom: 0;
  }

  .step-icon {
    grid-row: 2;
    grid-column: 1;
    margin: 0;
  }

  .step-title {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
  }

  .step-description {
    grid-row: 2;
    grid-column: 2;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-actions {
    gap: 0.625rem;
  }

  .contact-action-btn {
    padding: 0.875rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}
