/* FrancisTech — Main CSS — v2.0 */

/* ── FONTS ────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── VARIABLES ────────────────────────────────────────────────────────── */
:root {
  /* Cores de Marca */
  --blue:     #2563eb;
  --blue-lt:  #3b82f6;
  --orange:   #f97316;
  
  /* Paleta de Fundos - 3 níveis para seções (consistente) */
  --bg-dark:      #020617;    /* Fundo principal escuro */
  --bg-medium:    #0a0f1e;    /* Fundo secundário ligeiramente mais claro */
  --bg-light:     #0d1526;    /* Fundo ligeiro para cards e áreas de destaque */
  
  /* Cores de UI */
  --border:       #1e293b;
  --text:         #e2e8f0;
  --muted:        #94a3b8;
  
  /* Acessórios */
  --radius:       2rem 0.25rem 2rem 0.25rem;
  --radius-sm:    0.75rem;
  --shadow-blue:  0 10px 30px -8px rgba(37,99,235,0.4);
}

/* ── RESET ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── CONTAINERS ───────────────────────────────────────────────────────── */
.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-blog {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-pad { padding: 5rem 0; }

/* Fundos de Secções - Sistema Consistente */
.bg-dark    { background: var(--bg-dark) !important; }     /* #020617 */
.bg-medium  { background: var(--bg-medium) !important; }   /* #0a0f1e */
.bg-light   { background: var(--bg-light) !important; }    /* #0d1526 */

/* Compatibilidade com nomes antigos - REMOVIDAS para evitar conflito com Tailwind */
/* Use .bg-medium ou .bg-light em seu lugar */

/* ── SECTION HEADER ───────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #f1f5f9;
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}
.section-header p { color: var(--muted); font-size: 1.0625rem; }

.section-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-lt);
  border: 1px solid rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.06);
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
}
.btn-secondary:hover { border-color: var(--blue-lt); color: #fff; background: rgba(30,41,59,0.5); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.25s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.25s;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

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

/* ── HEADER ───────────────────────────────────────────────────────────── */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img { height: 40px; width: auto; }
.header-logo { display: flex; align-items: center; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header-nav a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.header-nav a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.header-nav a.active { color: var(--blue-lt); }

.header-dropdown {
  position: relative;
}
.header-dropdown > a { cursor: default; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(10, 15, 30, 0.97);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: 0 20px 40px -8px rgba(0,0,0,0.6);
  backdrop-filter: blur(14px);
  z-index: 100;
}
.header-dropdown:hover .dropdown-menu,
.header-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.dropdown-menu a:hover { color: #fff; background: rgba(59,130,246,0.08); }
.dropdown-menu a i { color: var(--blue-lt); font-size: 1rem; }

.header-cta { margin-left: 1rem; }

.btn-menu {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.97);
  max-height: 100vh;
  overflow-y: auto;
}
.mobile-nav:not([hidden]) {
  display: block;
}
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid rgba(30,41,59,0.5);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: #fff; }
.mobile-nav .mobile-sub {
  padding-left: 1rem;
  font-size: 0.875rem;
}

/* Mobile Menu Sections */
.mobile-section {
  border-bottom: 1px solid rgba(30,41,59,0.5);
  padding: 0.5rem 0;
}
.mobile-section:last-child {
  border-bottom: none;
}

/* Main Links */
.mobile-main-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
  border: none;
  background: none;
}
.mobile-main-link:hover {
  color: #fff;
}
.mobile-main-link i {
  width: 1.25rem;
  font-size: 1rem;
  color: var(--blue-lt);
}

/* Category Buttons */
.mobile-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  gap: 0.75rem;
}
.mobile-category:hover {
  color: #fff;
}
.mobile-category span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mobile-category i:first-child {
  width: 1.25rem;
  font-size: 1rem;
  color: var(--blue-lt);
}
.mobile-category i:last-child {
  font-size: 0.875rem;
  color: var(--muted);
  transition: transform 0.3s ease;
}
.mobile-category[aria-expanded="true"] {
  color: #fff;
}
.mobile-category[aria-expanded="true"] i:last-child {
  color: var(--blue-lt);
  transform: rotate(180deg);
}

/* Submenu */
.mobile-submenu {
  background: rgba(37,99,235,0.05);
  border-left: 2px solid var(--blue-lt);
  margin: 0.5rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.3s ease;
}
.mobile-submenu:not([hidden]) {
  max-height: 500px;
  opacity: 1;
}

.mobile-sub {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0 0.75rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 500;
  color: var(--muted);
  border-bottom: none !important;
  transition: color 0.2s;
}
.mobile-sub:hover {
  color: #fff;
}
.mobile-sub i {
  width: 1.25rem;
  font-size: 0.875rem;
  color: var(--blue-lt);
}

/* CTA Section */
.mobile-section-cta {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.mobile-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem !important;
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  border-bottom: none !important;
  transition: all 0.2s;
}
.mobile-cta:hover {
  background: #1d4ed8 !important;
  color: #fff !important;
}
.mobile-cta i {
  color: #fff;
  font-size: 1rem;
}

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(249,115,22,0.05) 0%, transparent 60%),
    linear-gradient(135deg, rgba(2, 6, 23, 0.75) 0%, rgba(10, 15, 30, 0.75) 100%),
    url('/assets/images/francistech_hero.png');
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-attachment: fixed, fixed, fixed, scroll;
}
.hero-overlay {
  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='%231e293b' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.25;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.hero-pretitle {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  min-height: 2.5em;
}
.typewriter-cursor { color: var(--blue-lt); animation: blink 0.9s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0} }
.hero-subtitle { font-size: 1.125rem; color: var(--muted); max-width: 560px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO ────────────────────────────────────────────────────────── */
.page-hero {
  padding: 9rem 1.5rem 4rem;
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37,99,235,0.1) 0%, transparent 70%),
    var(--bg-dark);
}
.page-hero-overlay {
  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='%231e293b' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.2;
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #f1f5f9;
  margin: 0.75rem 0 1rem;
  line-height: 1.15;
}
.page-hero-content > p { font-size: 1.125rem; color: var(--muted); max-width: 560px; }

/* Breadcrumb */
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.8125rem; color: var(--muted); list-style: none; padding: 0; margin: 0 0 0.75rem; flex-wrap: wrap; }
.breadcrumb li::after { content: '/'; margin-left: 0.5rem; opacity: 0.4; }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: var(--blue-lt); }

/* ── SERVICES GRID ────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text);
}
.service-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(37,99,235,0.12); }
.service-card.no-link { pointer-events: none; }
.service-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.1);
  border-radius: 0.875rem;
  font-size: 1.375rem;
  color: var(--blue-lt);
}
.service-card h3 { font-size: 1.0625rem; font-weight: 700; color: #f1f5f9; }
.service-card p  { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; flex: 1; }
.service-link { font-size: 0.8125rem; font-weight: 700; color: var(--blue-lt); display: flex; align-items: center; gap: 0.375rem; margin-top: auto; }

/* Large icon for service overview */
.service-icon-large {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.07);
  border-radius: 3rem;
  font-size: 6rem;
  color: var(--blue-lt);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

/* ── STATS ────────────────────────────────────────────────────────────── */
.stats-section { 
  background: var(--bg-medium); 
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border); 
  padding: 3.5rem 1.5rem; 
}
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item {}
.stat-number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--blue-lt); }
.stat-suffix { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; color: var(--blue-lt); }
.stat-item p  { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; }

/* ── ABOUT SPLIT ──────────────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about-text {}
.about-text h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; color: #f1f5f9; margin: 0.75rem 0 1.25rem; line-height: 1.25; }
.about-text p  { color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.about-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.5rem; }
.about-checks span { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: #e2e8f0; }
.about-checks i { color: #22c55e; font-size: 1rem; }

/* ── PROJECTS GRID ────────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  transition: all 0.3s;
}
.project-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-4px); }
.project-card img { width: 100%; height: 200px; object-fit: cover; }
.project-info { padding: 1.5rem; }
.project-info h3 { font-size: 1.0625rem; font-weight: 700; color: #f1f5f9; margin-bottom: 0.5rem; }
.project-info p  { font-size: 0.9375rem; color: var(--muted); margin-bottom: 1rem; }
.project-link { font-size: 0.875rem; font-weight: 700; color: var(--blue-lt); display: inline-flex; align-items: center; gap: 0.375rem; transition: gap 0.2s; }
.project-link:hover { gap: 0.625rem; }

/* Portfolio full grid */
.projects-grid-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.75rem; }
.project-card-full {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  transition: all 0.3s;
}
.project-card-full:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-4px); }
.project-card-full img { width: 100%; height: 220px; object-fit: cover; }
.project-placeholder-img { width: 100%; height: 220px; background: rgba(37,99,235,0.08); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--blue-lt); border-bottom: 1px solid var(--border); }
.project-card-full .project-info { padding: 1.5rem; }
.project-tag { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-lt); }
.project-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.75rem 0 1rem; }
.project-tags span { font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.625rem; background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2); border-radius: 9999px; color: var(--blue-lt); }
.project-link-inactive { font-size: 0.875rem; color: var(--muted); }

/* ── TESTIMONIALS ─────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonials-grid-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.testimonial-card, .testimonial-card-full {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
}
.stars { color: #f59e0b; font-size: 1.0625rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testimonial-card p, .testimonial-card-full p { color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.author-avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.9375rem; font-weight: 700; color: #f1f5f9; }
.testimonial-author span  { font-size: 0.8125rem; color: var(--muted); }

/* ── CTA SECTION ──────────────────────────────────────────────────────── */
.cta-section {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-content { max-width: 640px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: #f1f5f9; margin-bottom: 1rem; }
.cta-content p  { color: var(--muted); font-size: 1.0625rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── VALUES ───────────────────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.value-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
  text-align: center;
}
.value-icon { font-size: 2.5rem; color: var(--blue-lt); margin-bottom: 1rem; }
.value-card h3 { font-size: 1.125rem; font-weight: 700; color: #f1f5f9; margin-bottom: 0.75rem; }
.value-card p  { color: var(--muted); line-height: 1.7; font-size: 0.9375rem; }

/* ── WHY US ───────────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
  transition: border-color 0.3s;
}
.why-item:hover { border-color: rgba(59,130,246,0.35); }
.why-item > i { font-size: 1.75rem; color: var(--blue-lt); margin-top: 0.125rem; flex-shrink: 0; }
.why-item h3 { font-size: 1.0625rem; font-weight: 700; color: #f1f5f9; margin-bottom: 0.4rem; }
.why-item p  { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }

/* ── PROCESS STEPS ────────────────────────────────────────────────────── */
.process-steps { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; position: relative; }
.process-steps::before { content: ''; position: absolute; left: 2rem; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--blue), transparent); }
.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 2rem 2rem 0;
  position: relative;
}
.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-light);
}
.step-content { padding-top: 0.625rem; }
.step-content h3 { font-size: 1.125rem; font-weight: 700; color: #f1f5f9; margin-bottom: 0.625rem; }
.step-content p  { color: var(--muted); line-height: 1.7; font-size: 0.9375rem; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.375rem 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--blue-lt); flex-shrink: 0; transition: transform 0.3s; }
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-question:hover { color: #fff; }
.faq-answer { overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 0 1.5rem; color: var(--muted); line-height: 1.7; font-size: 0.9375rem; }

/* ── BLOG ─────────────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
  overflow: hidden;
  transition: all 0.3s;
}
.blog-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-4px); }
.blog-card-img-wrap { background: rgba(37,99,235,0.06); height: 160px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.blog-card-img-placeholder { font-size: 3.5rem; color: var(--blue-lt); }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.blog-tag { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-lt); }
.blog-card-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.45; }
.blog-card-body h3 a { color: #f1f5f9; transition: color 0.2s; }
.blog-card-body h3 a:hover { color: var(--blue-lt); }
.blog-card-body > p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; color: var(--muted); gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }
.blog-read-more { color: var(--blue-lt); font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.25rem; }

/* Blog post page */
.blog-hero-tag { display: inline-block; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-lt); border: 1px solid rgba(59,130,246,0.3); background: rgba(59,130,246,0.06); padding: 0.25rem 0.875rem; border-radius: 9999px; margin-bottom: 1rem; }
.blog-hero-meta { font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }

.blog-content { padding: 4rem 0; }
.blog-lead { font-size: 1.1875rem; color: #cbd5e1; line-height: 1.75; margin-bottom: 2.5rem; font-style: italic; border-left: 4px solid var(--blue); padding-left: 1.25rem; }
.blog-content h2 { font-size: 1.5rem; font-weight: 800; color: #f1f5f9; margin: 2.5rem 0 1rem; line-height: 1.3; }
.blog-content h3 { font-size: 1.125rem; font-weight: 700; color: #e2e8f0; margin: 1.75rem 0 0.75rem; }
.blog-content p  { color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; font-size: 1rem; }
.blog-content ul, .blog-content ol { color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; padding-left: 1.5rem; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content strong { color: #e2e8f0; }
.blog-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius);
  text-align: center;
}
.blog-cta p { color: #e2e8f0; font-weight: 600; font-size: 1.0625rem; margin-bottom: 1.25rem; }

/* ── PRODUCTS ─────────────────────────────────────────────────────────── */
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.75rem; }
.product-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-4px); }
.product-badge { position: absolute; top: 1rem; right: 1rem; font-size: 0.625rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.625rem; border-radius: 9999px; background: rgba(37,99,235,0.15); color: var(--blue-lt); border: 1px solid rgba(37,99,235,0.3); }
.product-badge-new { background: rgba(34,197,94,0.12); color: #4ade80; border-color: rgba(34,197,94,0.3); }
.product-icon { font-size: 3rem; color: var(--blue-lt); padding: 2rem 2rem 0; }
.product-info { padding: 1.25rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.product-info h3 { font-size: 1.25rem; font-weight: 800; color: #f1f5f9; margin-bottom: 0.5rem; }
.product-desc { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; margin-bottom: 1.25rem; }
.product-features { margin-bottom: 1.5rem; flex: 1; }
.product-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: #94a3b8; padding: 0.3rem 0; }
.product-features i { color: #22c55e; font-size: 0.9rem; }
.product-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--border); margin-top: auto; }
.product-price { display: flex; flex-direction: column; }
.price-label { font-size: 0.75rem; color: var(--muted); }
.price-value { font-size: 1.1875rem; font-weight: 800; color: #f1f5f9; }
.price-period { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }

/* ── CONTACT ──────────────────────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info {}
.contact-info h2 { font-size: 1.75rem; font-weight: 800; color: #f1f5f9; margin: 0.75rem 0 1rem; }
.contact-info > p { color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: rgba(37,99,235,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; color: var(--blue-lt); flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.contact-item a, .contact-item span { font-size: 0.9375rem; color: #e2e8f0; transition: color 0.2s; }
.contact-item a:hover { color: var(--blue-lt); }
.contact-social { margin-top: 2rem; }
.contact-social p { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.75rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a { width: 2.5rem; height: 2.5rem; border-radius: 0.625rem; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1.125rem; transition: all 0.2s; }
.social-links a:hover { border-color: var(--blue-lt); color: var(--blue-lt); background: rgba(37,99,235,0.08); }

.contact-form-wrap {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
}
.contact-form-wrap h2 { font-size: 1.375rem; font-weight: 800; color: #f1f5f9; margin-bottom: 0.5rem; }
.contact-form-wrap > p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 1.75rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8125rem; font-weight: 700; color: #94a3b8; }
.form-group label span { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(15,23,42,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.125rem;
  color: var(--text);
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-lt); box-shadow: 0 0 0 3px rgba(59,130,246,0.12); }
.form-group select { -webkit-appearance: none; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { font-size: 0.8125rem; color: #ef4444; }
.form-success { padding: 1rem; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25); border-radius: var(--radius-sm); color: #4ade80; font-size: 0.9375rem; display: flex; gap: 0.5rem; align-items: center; margin-top: 0.75rem; }
.form-error-msg { padding: 1rem; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25); border-radius: var(--radius-sm); color: #f87171; font-size: 0.9375rem; display: flex; gap: 0.5rem; align-items: center; margin-top: 0.75rem; }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
#main-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #64748b; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul li a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 0.75rem; margin-bottom: 0.875rem; align-items: flex-start; }
.footer-contact-item i { color: var(--blue-lt); margin-top: 0.125rem; font-size: 1rem; }
.footer-contact-item a, .footer-contact-item span { color: var(--muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--blue-lt); }
.footer-social { display: flex; gap: 0.625rem; margin-top: 1.25rem; }
.footer-social a { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1rem; transition: all 0.2s; }
.footer-social a:hover { border-color: var(--blue-lt); color: var(--blue-lt); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8125rem; color: var(--muted); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: 0.8125rem; color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: #fff; }

/* ── ERROR PAGE ────────────────────────────────────────────────────────── */
.error-page { padding: 10rem 1.5rem; text-align: center; min-height: 80vh; display: flex; align-items: center; }
.error-content { max-width: 560px; margin: 0 auto; }
.error-code { font-size: 8rem; font-weight: 900; color: var(--blue); line-height: 1; margin-bottom: 1rem; }
.error-content h1 { font-size: 2rem; font-weight: 800; color: #f1f5f9; margin-bottom: 1rem; }
.error-content > p { color: var(--muted); margin-bottom: 2rem; }
.error-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.error-nav p { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.75rem; }
.error-nav ul { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.error-nav ul li a { font-size: 0.875rem; color: var(--blue-lt); transition: color 0.2s; }

/* Scroll to top */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { transform: translateY(-3px); }

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 998;
  animation: pulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-3px) scale(1.1);
}
.scroll-top-btn.visible ~ .whatsapp-float,
.whatsapp-float:hover {
  opacity: 1;
  pointer-events: auto;
}

/* Show WhatsApp when scroll-top is visible */
body > .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}
body.has-scrolled > .whatsapp-float {
  opacity: 1;
  pointer-events: auto;
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .header-nav { gap: 0.125rem; }
  .header-nav a { padding: 0.5rem 0.625rem; font-size: 0.8125rem; }
  .dropdown-menu { min-width: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-icon-large { width: 140px; height: 140px; font-size: 4rem; align-self: center; }
  .contact-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #main-header { padding: 0.75rem 1.5rem; }
  .header-inner { height: 60px; }
  .header-nav, .header-cta { display: none; }
  .btn-menu { display: flex; }
  .mobile-nav { padding: 1rem 1.5rem; max-height: 100vh; overflow-y: auto; }
  .mobile-nav a { padding: 0.875rem 0.5rem; font-size: 0.9375rem; }
  .mobile-nav .mobile-sub { padding-left: 1.5rem; }
  .mobile-section { padding: 0.75rem 0; }
  .mobile-category { padding: 0.875rem 0; }
  .mobile-submenu { margin: 0.5rem 0 0.75rem; }
  .mobile-main-link { padding: 0.875rem 0; }
  .mobile-cta { padding: 0.875rem 1rem !important; font-size: 0.875rem; }
  .scroll-top-btn { bottom: 1.5rem; right: 1.5rem; width: 2.75rem; height: 2.75rem; font-size: 1rem; }
  .whatsapp-float { bottom: 5rem; right: 1.5rem; width: 2.75rem; height: 2.75rem; font-size: 1.1rem; }
  .section-pad { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-checks { grid-template-columns: 1fr; }
  .process-steps::before { left: 1.5rem; }
  .step-number { width: 3rem; height: 3rem; font-size: 0.875rem; }
  .products-grid { grid-template-columns: 1fr; }
  .projects-grid, .projects-grid-full { grid-template-columns: 1fr; }
  .testimonials-grid, .testimonials-grid-full { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .page-hero-content h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
}
@media (max-width: 480px) {
  .header-logo img { height: 32px; }
  .btn-menu { font-size: 1.25rem; padding: 0.375rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(1.5rem, 5vw, 2.5rem); }
  .page-hero { padding: 6rem 1rem 2rem; }
  .section-pad { padding: 2.5rem 0; }
  .footer-brand img { height: 28px; }
}

/* ── SPIN ANIMATION ────────────────────────────────────────────────────── */
.spin { animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
