/* ============================================
   FLEXDATA — Main Stylesheet
   Mobile-first responsive design
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

@media (min-width: 1400px) {
  .container {
    max-width: var(--container-2xl);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-padding {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: var(--space-20) 0;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: var(--space-24) 0;
  }
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-gray-900);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-4xl);
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: var(--text-5xl);
  }
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-500);
  max-width: 640px;
  margin: 0 auto var(--space-12);
  line-height: var(--leading-relaxed);
}

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

.accent-text {
  color: var(--color-primary);
  font-weight: var(--weight-bold);
}

.accent-text-white {
  color: var(--color-white);
  font-weight: var(--weight-bold);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
}

.btn-cta {
  background: var(--gradient-cta);
  color: var(--color-white);
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.3);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-lg {
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-lg);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 44px;
  width: auto;
  transition: var(--transition-base);
}

.navbar.scrolled .navbar-logo .logo-white {
  display: none;
}

.navbar.scrolled .navbar-logo .logo-color {
  display: block;
}

.navbar-logo .logo-white {
  display: block;
}

.navbar-logo .logo-color {
  display: none;
}

.navbar-menu {
  display: none;
  gap: var(--space-1);
}

@media (min-width: 1024px) {
  .navbar-menu {
    display: flex;
    align-items: center;
  }
}

.navbar-menu a {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
}

.navbar-menu a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .navbar-menu a {
  color: var(--color-gray-600);
}

.navbar.scrolled .navbar-menu a:hover {
  color: var(--color-primary);
  background: var(--color-primary-bg);
}

.navbar-cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-cta {
    display: inline-flex;
  }
}

.navbar.scrolled .btn-outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.navbar.scrolled .btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: calc(var(--z-modal) + 5);
  position: relative;
}

@media (min-width: 1024px) {
  .navbar-toggle {
    display: none;
  }
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.navbar.scrolled .navbar-toggle span {
  background: var(--color-gray-700);
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-dark);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  padding: var(--space-3);
  transition: color var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--color-primary-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/terceira-ponte.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8) 0;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    padding: var(--space-12) 0;
  }
}

.hero-text {
  order: 1;
}

@media (min-width: 1024px) {
  .hero-text {
    order: 0;
  }
}

.hero-badge {
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: var(--text-6xl);
  }
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #00C853, #69F0AE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  order: 0;
}

@media (min-width: 1024px) {
  .hero-image {
    order: 1;
  }
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
  /*animation: heroFloat 6s ease-in-out infinite;*/
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  display: block;
}

@media (min-width: 768px) {
  .hero-stat .stat-number {
    font-size: var(--text-4xl);
  }
}

.hero-stat .stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-top: var(--space-1);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--color-gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .about-image-wrapper img {
    height: 450px;
  }
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  background: linear-gradient(transparent, rgba(0, 30, 77, 0.9));
  color: var(--color-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.about-image-overlay .experience-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
}

.experience-badge .number {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  line-height: 1;
}

.experience-badge .label {
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
  opacity: 0.9;
}

.about-text h2 {
  margin-bottom: var(--space-6);
}

.about-text .lead {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.about-text p {
  color: var(--color-gray-500);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

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

.about-feature span {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-gray-700);
  line-height: var(--leading-snug);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
  background: var(--color-white);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-slow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-primary-bg);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  font-size: var(--text-3xl);
  transition: transform var(--transition-spring);
}

.product-card:hover .product-icon {
  transform: scale(1.1);
}

.product-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-3);
}

.product-card p {
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.product-card .btn {
  align-self: flex-start;
}

/* ============================================
   NUMBERS / COUNTERS SECTION
   ============================================ */
.numbers {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.numbers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/terceira-ponte.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.numbers .container {
  position: relative;
  z-index: 1;
}

.numbers-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.numbers-header h2 {
  color: var(--color-white);
}

.numbers-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-lg);
  max-width: 640px;
  margin: var(--space-4) auto 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .numbers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.number-item {
  text-align: center;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  transition: all var(--transition-base);
}

.number-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.number-item .counter-icon {
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
}

.number-item .counter-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  display: block;
}

@media (min-width: 768px) {
  .number-item .counter-value {
    font-size: var(--text-5xl);
  }
}

.number-item .counter-suffix {
  font-weight: var(--weight-extrabold);
  color: var(--color-accent);
}

.number-item .counter-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-2);
  display: block;
  letter-spacing: 0.02em;
}

/* ============================================
   CAROUSEL SECTIONS (Clients / Partners)
   ============================================ */
.clients {
  background: var(--color-gray-50);
}

.partners {
  background: var(--color-white);
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 calc(-1 * var(--space-5));
  padding: 0 var(--space-5);
}

.carousel-track {
  display: flex;
  gap: var(--space-8);
  animation: scrollCarousel 30s linear infinite;
  width: max-content;
}

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

@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.carousel-item {
  flex-shrink: 0;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.carousel-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-bg);
  transform: scale(1.05);
}

.carousel-item img {
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter var(--transition-base);
}

.carousel-item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* Partners carousel background variation */
.partners .carousel-item {
  background: var(--color-gray-50);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--color-gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.contact-info h2 {
  margin-bottom: var(--space-4);
}

.contact-info>p {
  color: var(--color-gray-500);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: var(--text-xl);
}

.contact-item h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-1);
}

.contact-item p,
.contact-item a {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: var(--leading-normal);
}

.contact-item a:hover {
  color: var(--color-primary);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-200);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: var(--space-10);
  }
}

.contact-form-wrapper h3 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-2);
}

.contact-form-wrapper>p {
  color: var(--color-gray-500);
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--space-2);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-gray-900);
  background: var(--color-gray-50);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
  background: var(--color-white);
}

.form-control::placeholder {
  color: var(--color-gray-400);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   WORK WITH US SECTION
   ============================================ */
.careers {
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.careers::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 82, 204, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.careers-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .careers-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.careers-text h2 {
  margin-bottom: var(--space-4);
}

.careers-text p {
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.careers-perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.perk {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: var(--weight-medium);
  color: var(--color-gray-700);
}

.perk-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
}

.careers-form {
  background: var(--color-gray-50);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
}

.careers-form h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-6);
}

.file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  background: var(--color-white);
  border: 2px dashed var(--color-gray-300);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-upload:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

.file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

.file-upload-text {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

.file-upload-text strong {
  color: var(--color-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-gray-900);
  color: var(--color-gray-400);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding: var(--space-16) 0 var(--space-10);
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }
}

.footer-brand img {
  height: 40px;
  margin-bottom: var(--space-5);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  color: var(--color-gray-400);
  transition: all var(--transition-fast);
  font-size: var(--text-lg);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col li a {
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer-col li a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: var(--text-sm);
}

.footer-bottom a {
  color: var(--color-primary-light);
}

.footer-bottom a:hover {
  color: var(--color-white);
}

/* ============================================
   WHATSAPP FAB
   ============================================ */
.whatsapp-fab {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-fab);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: fabPulse 2.5s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  animation: none;
}

@keyframes fabPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1);
  }
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.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;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: calc(var(--space-6) + 72px);
  z-index: var(--z-fab);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-gray-700);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE FINE-TUNING
   ============================================ */
@media (max-width: 767px) {
  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero-description {
    font-size: var(--text-base);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: var(--space-2);
  }

  .hero-stat .stat-number {
    font-size: var(--text-2xl);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .section-subtitle {
    font-size: var(--text-base);
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: var(--space-6);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .whatsapp-fab {
    width: 52px;
    height: 52px;
    bottom: var(--space-4);
    right: var(--space-4);
  }

  .whatsapp-fab svg {
    width: 28px;
    height: 28px;
  }

  .back-to-top {
    bottom: var(--space-4);
    right: calc(var(--space-4) + 64px);
  }
}