/* ============================================
   CoreMed Solutions Pakistan — Main Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0A4D8C;
  --primary-dark: #083D6F;
  --primary-light: #1565A8;
  --secondary: #F5F8FC;
  --accent: #0E8A7E;
  --accent-light: #14B8A6;
  --white: #FFFFFF;
  --light-grey: #F0F4F8;
  --medium-grey: #CBD5E1;
  --dark-grey: #475569;
  --text: #1E293B;
  --text-light: #64748B;
  --border: #E2E8F0;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(10,77,140,.06);
  --shadow-lg: 0 4px 24px rgba(10,77,140,.12);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: .3s ease;
  --max-width: 1240px;
  --header-h: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button, input, textarea, select { font: inherit; border: none; outline: none; }

/* ---------- Utility ---------- */
.container { width: 92%; max-width: var(--max-width); margin: 0 auto; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-bg { background: var(--secondary); }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,77,140,.25);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #0B7269;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,138,126,.25);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.btn-sm { padding: 10px 22px; font-size: .88rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn i { font-size: 1.1em; }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--header-h);
  z-index: 1100;
  transition: all var(--transition);
  background: transparent;
  pointer-events: auto;
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(10,77,140,.08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  transition: color var(--transition);
}
.header.scrolled .logo { color: var(--primary); }
.logo-icon {
  width: 42px; height: 42px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: background var(--transition), color var(--transition);
}
.header.scrolled .logo-icon {
  background: var(--primary);
  color: var(--white);
}
.logo span { color: var(--accent-light); }
.header.scrolled .logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 6px; position: relative; z-index: 10; }
.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  transition: all var(--transition);
  cursor: pointer;
  pointer-events: auto;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
.header.scrolled .nav-links a { color: var(--text); }
.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
  color: var(--primary);
  background: var(--secondary);
}
.nav-cta {
  margin-left: 10px;
}
.nav-cta .btn {
  padding: 10px 24px;
  font-size: .88rem;
}
.header.scrolled .nav-cta .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.header.scrolled .nav-cta .btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: all .35s ease;
  display: block;
  transform-origin: center;
}
.header.scrolled .menu-toggle span { background: var(--text); }
.menu-toggle.active span { background: var(--text) !important; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ---------- Page Header (inner pages) ---------- */
.page-header-inner .logo { color: var(--white); }
.page-header-inner .logo-icon { background: var(--white); color: var(--primary); }
.page-header-inner .logo span { color: var(--accent-light); }
.page-header-inner .nav-links a { color: rgba(255,255,255,.85); }
.page-header-inner .nav-links a:hover,
.page-header-inner .nav-links a.active { color: #fff; background: rgba(255,255,255,.12); }
.page-header-inner .nav-cta .btn-outline { border-color: #fff; color: #fff; }
.page-header-inner .nav-cta .btn-outline:hover { background: #fff; color: var(--primary); }
.page-header-inner .menu-toggle span { background: #fff; }

/* When scrolled the inner page header also gets white */
.page-header-inner.scrolled .logo { color: var(--primary); }
.page-header-inner.scrolled .logo-icon { background: var(--primary); color: var(--white); }
.page-header-inner.scrolled .logo span { color: var(--accent); }
.page-header-inner.scrolled .nav-links a { color: var(--text); }
.page-header-inner.scrolled .nav-links a:hover,
.page-header-inner.scrolled .nav-links a.active { color: var(--primary); background: var(--secondary); }
.page-header-inner.scrolled .nav-cta .btn-outline { border-color: var(--primary); color: var(--primary); }
.page-header-inner.scrolled .nav-cta .btn-outline:hover { background: var(--primary); color: #fff; }
.page-header-inner.scrolled .menu-toggle span { background: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #0B6FB8 50%, var(--accent) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(14,138,126,.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: var(--header-h);
}
.hero-content { color: var(--white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.15);
}
.hero-badge i { color: var(--accent-light); }
.hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--accent-light);
}
.hero-content p {
  font-size: 1.15rem;
  line-height: 1.75;
  opacity: .88;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
}
.hero-stat span {
  font-size: .85rem;
  opacity: .7;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
}
.hero-card-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.hero-card-list { display: flex; flex-direction: column; gap: 14px; }
.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}
.hero-card-list li i {
  color: var(--accent-light);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Floating shapes */
.hero-float {
  position: absolute;
  border-radius: 50%;
  opacity: .07;
  background: var(--white);
  pointer-events: none;
}
.hero-float-1 { width: 340px; height: 340px; top: -80px; right: -60px; }
.hero-float-2 { width: 200px; height: 200px; bottom: 60px; left: -60px; }
.hero-float-3 { width: 120px; height: 120px; bottom: -30px; right: 30%; }

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0B6FB8 60%, var(--accent) 100%);
  padding: 160px 0 80px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-banner .container { position: relative; }
.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-banner p {
  font-size: 1.1rem;
  opacity: .85;
  max-width: 580px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: .88rem;
  opacity: .7;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: .7rem; }

/* ---------- About Intro ---------- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-intro-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  padding: 50px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-intro-visual::before {
  content: '';
  position: absolute;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -60px; right: -60px;
}
.about-intro-visual i {
  font-size: 3rem;
  margin-bottom: 24px;
  opacity: .5;
}
.about-intro-visual h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.about-intro-visual p {
  opacity: .85;
  line-height: 1.8;
}
.about-intro-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}
.about-intro-text > p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

/* ---------- Features / Cards Grid ---------- */
.cards-grid {
  display: grid;
  gap: 28px;
}
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  background: var(--secondary);
  color: var(--primary);
  transition: all var(--transition);
}
.card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
}
.card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.card p {
  color: var(--text-light);
  font-size: .93rem;
  line-height: 1.7;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
}
.card-link:hover { gap: 10px; }

/* Colored icon variants */
.card-icon-accent { background: rgba(14,138,126,.1); color: var(--accent); }
.card:hover .card-icon-accent { background: var(--accent); color: var(--white); }

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-item {
  display: flex;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.why-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.15rem;
}
.why-item:hover .why-icon {
  background: var(--primary);
  color: var(--white);
}
.why-text h4 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.why-text p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ---------- Partner Brands ---------- */
.brands-track {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: .5;
  transition: opacity var(--transition);
  min-width: 120px;
}
.brand-item:hover { opacity: 1; }
.brand-item i {
  font-size: 2.2rem;
  color: var(--primary);
}
.brand-item span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.industry-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.industry-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  transition: all var(--transition);
}
.industry-card:hover .industry-icon {
  background: var(--primary);
  color: var(--white);
}
.industry-card h4 {
  font-size: 1rem;
  font-weight: 600;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0B6FB8 50%, var(--accent) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  top: -100px; right: -100px;
  pointer-events: none;
}
.cta-section .container { position: relative; }
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-item h4 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.6;
}
.contact-item a:hover { color: var(--primary); }

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.contact-form-card > p {
  color: var(--text-light);
  font-size: .93rem;
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--secondary);
  color: var(--text);
  font-size: .93rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- Map ---------- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%; height: 100%; border: 0;
}

/* ---------- Product Search ---------- */
.product-search {
  max-width: 500px;
  margin: 0 auto 48px;
  position: relative;
}
.product-search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: .95rem;
  transition: border-color var(--transition);
}
.product-search input:focus { border-color: var(--primary); }
.product-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
}

/* ---------- Product Category Cards ---------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.product-card-img::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  top: -20px; right: -20px;
}
.product-card-body { padding: 24px; }
.product-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.product-card-body p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}
.product-card-body .btn { width: 100%; justify-content: center; }

/* ---------- Solution Cards ---------- */
.solution-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.solution-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.solution-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition);
}
.solution-card:hover .solution-icon {
  background: var(--primary);
  color: var(--white);
}
.solution-text h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.solution-text p {
  font-size: .93rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- Quality / Compliance ---------- */
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--white);
  border-radius: 50px;
  border: 2px solid var(--border);
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary);
  transition: all var(--transition);
}
.compliance-badge:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.compliance-badge i {
  font-size: 1.2rem;
  color: var(--accent);
}
.badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--primary);
  padding: 40px 0;
}
.stats-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}
.stat-item {
  text-align: center;
  color: var(--white);
}
.stat-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
}
.stat-item span {
  font-size: .88rem;
  opacity: .75;
}

/* ---------- Testimonial ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary);
  opacity: .15;
  position: absolute;
  top: 16px; left: 28px;
  font-family: serif;
  line-height: 1;
}
.testimonial-card p {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
  padding-top: 12px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}
.testimonial-author strong { font-size: .9rem; }
.testimonial-author span { font-size: .82rem; color: var(--text-light); display: block; }

/* ---------- Footer ---------- */
.footer {
  background: #0B1829;
  color: rgba(255,255,255,.7);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-about .logo {
  color: var(--white);
  margin-bottom: 16px;
}
.footer-about .logo-icon {
  background: var(--primary);
  color: var(--white);
}
.footer-about p {
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: all var(--transition);
}
.footer-socials a:hover {
  background: var(--primary);
  color: var(--white);
}
.footer h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .9rem;
}
.footer-contact i { color: var(--accent-light); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: .84rem;
}
.footer-bottom a { color: var(--accent-light); }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: all var(--transition);
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,.6); }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 100px;
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 998;
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; }
  .section { padding: 60px 0; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 24px 30px;
    gap: 4px;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    overflow-y: auto;
    visibility: hidden;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-links a {
    color: var(--text) !important;
    padding: 14px 16px;
    width: 100%;
    border-radius: 8px;
    font-size: .95rem;
    background: transparent !important;
  }
  .nav-links a:hover, .nav-links a.active {
    color: var(--primary) !important;
    background: var(--secondary) !important;
  }
  .nav-cta { margin-left: 0; margin-top: 14px; width: 100%; }
  .nav-cta .btn {
    width: 100%;
    justify-content: center;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
  }
  .nav-cta .btn:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
  }
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  .cards-grid-3, .cards-grid-2, .cards-grid-4 { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .solution-card { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .stats-bar .container { flex-direction: column; gap: 24px; }
}

@media (max-width: 480px) {
  .container { width: 94%; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .brands-track { gap: 28px; }
}

/* ---------- Print ---------- */
@media print {
  .header, .footer, .whatsapp-float, .back-to-top { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  body { color: #000; }
}
