/*
 * File    : assets/css/style.css
 * Purpose : Main stylesheet for Sonarfix corporate website
 * Caller  : index.html
 * Deps    : Google Fonts (Inter), Swiper.js (CDN)
 * Side FX : none
 */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Sonarfix brand palette — derived from logo */
  --blue-900: #0e3040;
  /* darkest teal-navy */
  --blue-800: #154e68;
  /* deep teal */
  --blue-700: #1b5c7a;
  /* primary brand teal */
  --blue-600: #246e91;
  /* mid teal */
  --blue-100: #e6f3f8;
  /* teal tint */
  --orange-500: #F5A623;
  /* brand amber/gold */
  --orange-600: #e09412;
  /* amber hover */
  --orange-100: #fef6e4;
  /* amber tint */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;

  --font-base: 'Inter', sans-serif;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, .12);
  --transition: .2s ease;
  --container: 1350px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--orange-500);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, .35);
}

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

.btn-outline:hover {
  background: var(--blue-800);
  color: var(--white);
}

.btn-outline-light {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-outline-light {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--orange-500);
}

.btn-white:hover {
  background: var(--orange-100);
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ===== HEADER / NAV ===== */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo .logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;             /* Jarak antar link menu */
  margin: 0;
  padding: 0;
  align-items: center;    /* Biar teks dan ikon bendera sejajar */
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--blue-700);
  background: var(--blue-100);
}

.nav-cta {
  margin-left: 8px;
  padding: 9px 20px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;           /* Jarak antara ID dan EN */
    margin-left: 15px;
}

/* Biar link ID dan EN punya perilaku yang sama */
/* Default state: Bikin agak pudar */
.language-switcher a {
    display: flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--gray-700); /* Ikuti warna teks menu lu */
    font-weight: 600;
    opacity: 0.5;           /* Bikin pudar 50% */
    transition: all 0.3s ease;
}

.language-switcher a:hover, 
.language-switcher a.active {
    opacity: 1;
    color: #000; /* Atau warna biru primer Sonarfix */
}

/* Efek saat kursor berada di atas link bendera */
.language-switcher a:hover .fi {
    transform: scale(1.25);       /* Membesarkan ikon sebesar 1.1x */
    transition: transform 0.3s ease; /* Membuat transisi halus (tidak patah-patah) */
}

/* Pastikan span bendera memiliki transisi juga agar kembalinya halus */
.language-switcher .fi {
    transition: transform 0.3s ease;
    display: inline-block;       /* Diperlukan agar transform bekerja pada span */
}

/* Mempercantik pemisah */
.language-switcher .separator {
    color: #ccc;
    font-size: 0.9em;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all .3s;
}

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

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

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

/* ===== HERO ===== */
#hero {
  background-image:
    linear-gradient(rgba(14, 48, 64, 0.85), rgba(27, 92, 122, 0.85)),
    url('../images/portfolio-1.webp');
  /* Ganti pakai nama foto lu */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: var(--container);
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 115, 22, .15);
  border: 1px solid rgba(249, 115, 22, .3);
  color: var(--orange-500);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '●';
  font-size: .5rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--orange-500);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-facts-right {
  width: 100%;
  max-width: 100%;
  justify-self: end;
}

.hero-stats-grid {
  /* Desktop-first: vertical stack by default (>= 992px inherits this) */
  display: flex !important;
  flex-direction: column !important;
  gap: 16px;
  width: 100%;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.hero-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .4);
}

.hero-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 80px;
  text-align: center;
}

/* ===== TRUST BAR ===== */
#trust {
  background: var(--gray-100);
  padding: 40px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.trust-label {
  font-size: .8rem;
  color: var(--gray-400);
  text-align: center;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

/* Swiper container: full-width, tidak terpotong oleh .container */
.trust-carousel {
  width: 100%;
  padding: 8px 0;
}

/* Setiap slide: tinggi seragam, terpusat */
.trust-carousel .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

/* Logo item: pertahankan efek grayscale + hover existing */
.trust-logo-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px;
  width: 100%;
  height: 100px;
  /* Diperbesar dari 80px agar muat logo yang lebih besar */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  filter: grayscale(100%);
  /* Hitam putih/abu-abu secara default */
  opacity: 0.6;
  /* Sedikit transparan biar lebih halus */
}

.trust-logo-item img {
  max-height: 64px;
  /* Diperbesar dari 48px agar gambar terlihat lebih besar */
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.trust-logo-item:hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow);
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ===== ABOUT ===== */
#about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-highlight-item {
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 3px solid var(--orange-500);
}

.about-highlight-item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--blue-900);
  font-weight: 800;
}

.about-highlight-item span {
  font-size: .8rem;
  color: var(--gray-600);
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--orange-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-badge strong {
  display: block;
  font-size: .85rem;
  color: var(--blue-900);
}

.about-badge span {
  font-size: .75rem;
  color: var(--gray-500);
}

/* ===== SERVICES RESTRUCTURE ===== */

/* Sub-section 1: Core Technical Services */
.services-core-section {
  background: var(--white);
}

.services-core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-core-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-core-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.service-core-card h3 {
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--blue-900);
  margin-bottom: 14px;
}

.service-core-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
  flex: 1;
}

.service-core-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-500);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 24px;
  transition: gap var(--transition);
}

.service-core-link:hover {
  gap: 10px;
  color: var(--orange-600);
}

/* Sub-section 2: Transition & Industry Solutions (Soft Ocean Blue Bg) */
.services-industry-section {
  background: #f0f8ff;
  /* Soft Ocean Blue background */
  border-top: 1px solid #e1effa;
  border-bottom: 1px solid #e1effa;
}

.services-bridge-header {
  margin-bottom: 56px;
}

.services-industry-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.service-industry-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.service-industry-row.alt-row {
  grid-template-columns: 0.85fr 1.15fr;
}

.service-industry-col.text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.industry-badge {
  background: var(--blue-100);
  color: var(--blue-800);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.industry-features {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry-features li {
  font-size: .875rem;
  color: var(--gray-700);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-industry-col h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 20px;
  line-height: 1.3;
}

.service-industry-col p {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 0.975rem;
  margin-bottom: 28px;
}

.industry-cta {
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
}

.industry-image-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
}

.industry-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.industry-image-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-image-container:hover img {
  transform: scale(1.05);
}

/* Sub-section 3: Software Proficiency (Tech Stack) */
.software-proficiency-section {
  background: var(--white);
}

.software-proficiency-header {
  margin-bottom: 48px;
}

.software-logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.software-logo-item {
  width: 100%;
  max-width: 180px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  filter: grayscale(100%);
  opacity: 0.5;
}

.software-logo-svg {
  width: 100%;
  height: auto;
}

.software-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* ===== PORTFOLIO ===== */
#portfolio {
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.portfolio-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

.portfolio-img {
  position: relative;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .4s ease;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 62, .85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-label {
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 4px 10px;
  border-radius: 20px;
}

.portfolio-body {
  padding: 20px;
  background: var(--white);
}

.portfolio-cat {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--orange-500);
  margin-bottom: 6px;
}

.portfolio-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.4;
}

.portfolio-body p {
  font-size: .85rem;
  color: var(--gray-600);
  margin-top: 8px;
}

/* ===== BLOG ===== */
#blog {
  background: var(--gray-50);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-cat-bar {
  height: 4px;
  background: linear-gradient(to right, var(--blue-700), var(--blue-600));
}

.blog-body {
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 12px;
  font-size: .75rem;
  color: var(--gray-400);
  margin-bottom: 12px;
  align-items: center;
}

.blog-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-400);
}

.blog-cat-tag {
  background: var(--blue-100);
  color: var(--blue-700);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.5;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-500);
  font-weight: 600;
  font-size: .8rem;
  margin-top: 16px;
}

.blog-link:hover {
  gap: 10px;
}

/* ===== CTA SECTION ===== */
#cta-section {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  padding: 80px 0;
}

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

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255, 255, 255, .7);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
#footer {
  background: var(--blue-900);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand .nav-logo .logo-img {
  filter: brightness(0) invert(1);
  height: 36px;
}

.footer-brand p {
  font-size: .875rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.8;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
  transition: all var(--transition);
}

.footer-social-link:hover {
  background: var(--orange-500);
  color: var(--white);
}

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-links li+li {
  margin-top: 10px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--orange-500);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-contact-icon {
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom a {
  color: var(--orange-500);
}

/* ===== WHATSAPP WIDGET ===== */
#wa-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  background: #25d366;
  border: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.wa-btn:hover {
  transform: scale(1.1);
}

.wa-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--orange-500);
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.3)
  }
}

.wa-popup {
  background: var(--white);
  border-radius: 16px;
  width: 290px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
  overflow: hidden;
  transform: scale(.8) translateY(10px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
}

.wa-popup.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.wa-popup-header {
  background: #075e54;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-popup-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.wa-popup-header h4 {
  color: white;
  font-size: .9rem;
  font-weight: 700;
}

.wa-popup-header p {
  color: rgba(255, 255, 255, .7);
  font-size: .72rem;
}

.wa-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .7);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.wa-popup-body {
  padding: 18px;
}

.wa-bubble {
  background: #dcf8c6;
  border-radius: 8px 8px 8px 0;
  padding: 12px 14px;
  font-size: .875rem;
  color: var(--gray-900);
  line-height: 1.5;
  margin-bottom: 4px;
  position: relative;
}

.wa-bubble::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -8px;
  border: 8px solid transparent;
  border-right-color: #dcf8c6;
  border-bottom: none;
}

.wa-time {
  font-size: .7rem;
  color: var(--gray-400);
  margin-bottom: 18px;
}

.wa-popup-body .btn {
  width: 100%;
  justify-content: center;
  background: #25d366;
  color: white;
  border-radius: 8px;
}

.wa-popup-body .btn:hover {
  background: #22c35e;
}

.wa-btn-cta {
  background: #25d366 !important;
  color: white !important;
  justify-content: center;
  width: 100%;
  border-radius: 8px;
}

.wa-btn-cta {
  background: #25d366 !important;
  color: white !important;
  justify-content: center;
  width: 100%;
  border-radius: 8px;
}

/* ===== SCROLL TO TOP ===== */
/* ===== SCROLL TO TOP ===== */
#scroll-top {
  position: fixed;
  bottom: 96px;
  right: 30px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--blue-800);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none !important;
  transition: opacity 0.3s ease, background-color 0.2s ease, transform 0.2s ease, visibility 0.3s ease;
  box-shadow: var(--shadow);
  visibility: hidden;
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: all !important;
  visibility: visible;
}

#scroll-top:hover:not(:disabled) {
  background: var(--blue-700);
  transform: translateY(-2px);
}

#scroll-top:active:not(:disabled) {
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .services-core-grid {
    gap: 20px;
  }

  .service-industry-row {
    gap: 40px;
  }

  .software-logo-row {
    gap: 20px;
  }
}

@media (max-width: 991px) {

  /* Mobile: 3 cards HORIZONTAL side-by-side */
  .hero-facts-right {
    justify-self: center;
    margin-top: 40px;
    width: 100%;
  }

  .hero-stats-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-glass-card {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    padding: 16px 10px !important;
  }

  .hero-stat-num {
    font-size: 1.6rem !important;
  }

  .hero-stat-label {
    font-size: .75rem !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .services-core-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-industry-list {
    gap: 48px;
  }

  .service-industry-row,
  .service-industry-row.alt-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-industry-col.image-col {
    order: 1;
  }

  .service-industry-col.text-col {
    order: 2;
  }

  .software-logo-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  }

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

  .nav-cta {
    margin: 4px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap {
    display: none;
  }

  .hero-stats {
    gap: 20px;
  }

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

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 260px;
  }

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

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

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

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

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .wa-popup {
    width: 260px;
  }
}

@media (min-width: 992px) {

  /* Desktop: cards stacked VERTICALLY */
  .hero-stats-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .hero-facts-right {
    max-width: 420px;
  }

  .hero-glass-card {
    width: 100% !important;
    padding: 24px 20px !important;
  }
}