/* ============================================================
   C & I Limited – Main Stylesheet
   Mobile-first, performant, no external dependencies
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --primary:       #1D3E90;
  --primary-dark:  #152d6b;
  --primary-light: #e6ecf8;
  --accent:        #6BBD64;
  --accent-dark:   #4fa348;
  --dark:          #0d1b2a;
  --dark-2:        #1a2e45;
  --text:          #2c3e50;
  --text-muted:    #6b7a8d;
  --border:        #e2e8f0;
  --bg-light:      #f7f9fc;
  --white:         #ffffff;
  --success:       #4fa348;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.14);
  --radius:        10px;
  --radius-lg:     18px;
  --transition:    .25s ease;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-muted); line-height: 1.75; }

/* ── Layout Helpers ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header p { max-width: 600px; margin: 14px auto 0; font-size: 1.05rem; }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29,62,144,.35);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,189,100,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── Navbar ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 18px 0;
}
#navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}
#navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  transition: color var(--transition);
}
.nav-logo img { height: 42px; width: auto; }
#navbar.scrolled .nav-logo { color: var(--dark); }
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255,255,255,.88);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--text); }
#navbar.scrolled .nav-links a:hover { color: var(--primary); }

.nav-cta { margin-left: 12px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
#navbar.scrolled .nav-toggle span { background: var(--dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #0a2540 100%);
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(29,62,144,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(107,189,100,.12) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(29,62,144,.10) 0%, transparent 40%);
  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-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107,189,100,.15);
  border: 1px solid rgba(107,189,100,.3);
  color: #a3d99f;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 span { color: var(--accent); }
.hero p {
  color: rgba(255,255,255,.72);
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--accent); }
.hero-stat-label { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 4px; }

/* Floating cards */
.hero-visual {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  width: 440px;
  pointer-events: none;
}
.hero-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.hero-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.hero-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-card-title { font-size: .85rem; font-weight: 600; color: var(--white); }
.hero-card-sub   { font-size: .75rem; color: rgba(255,255,255,.5); }
.hero-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; margin-bottom: 6px; }
.hero-bar-fill { height: 100%; border-radius: 3px; animation: barFill 2s ease forwards; }
@keyframes barFill { from { width: 0; } }

/* ── Clients / Trust Bar ─────────────────────────────────────── */
.trust-bar {
  background: var(--bg-light);
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 40px;
}
.trust-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-item svg { color: var(--primary); width: 16px; height: 16px; }

/* ── Services ────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: var(--primary-light);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service-card p  { font-size: .92rem; margin-bottom: 18px; }
.service-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 10px; }

/* ── About / Split ───────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-img-badge strong { display: block; font-size: 2rem; line-height: 1; }
.about-img-badge span   { font-size: .8rem; opacity: .85; }
.about-text .section-tag { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 18px; }
.about-text p  { margin-bottom: 16px; }
.about-checks  { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.about-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text);
}
.about-check-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Why Us ──────────────────────────────────────────────────── */
.why-section { background: var(--dark); }
.why-section .section-tag { background: rgba(107,189,100,.15); color: #a3d99f; }
.why-section .section-header h2 { color: var(--white); }
.why-section .section-header p  { color: rgba(255,255,255,.6); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(29,62,144,.5);
  transform: translateY(-4px);
}
.why-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.why-card h4 { color: var(--white); margin-bottom: 8px; }
.why-card p  { font-size: .9rem; color: rgba(255,255,255,.55); }

/* ── Stats Counter ───────────────────────────────────────────── */
.stats-section { background: var(--primary); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: rgba(255,255,255,.7); }
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
  font-weight: 500;
}

/* ── Process ─────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: calc(12.5% + 16px); right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: .25;
}
.process-card { text-align: center; }
.process-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--primary-light);
}
.process-card h4 { margin-bottom: 8px; }
.process-card p  { font-size: .9rem; }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-section { background: var(--bg-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-text {
  font-size: .96rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; background: none; padding: 0; margin: 0; border: none; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary) !important;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white) !important;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: .92rem; color: var(--dark); }
.testimonial-role { font-size: .8rem; color: var(--text-muted); }

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #001a66 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(107,189,100,.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Contact Page ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 28px; }
.contact-items   { display: flex; flex-direction: column; gap: 20px; }
.contact-item    { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; margin-bottom: 2px; }
.contact-item-value { font-weight: 600; color: var(--dark); }

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,62,144,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: var(--success);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  font-weight: 600;
  margin-top: 12px;
}

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 140px 0 80px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,.68); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ── Services Page specifics ─────────────────────────────────── */
.service-full-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  transition: all var(--transition);
}
.service-full-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.service-full-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.service-feature-tag {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: .9rem; margin: 16px 0 24px; max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.footer-logo img { height: 38px; }
.footer-logo span { color: var(--accent); }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: all var(--transition);
  text-decoration: none;
}
.footer-social:hover { background: var(--primary); color: var(--white); }
.footer-col h5 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: .03em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--white); }

/* ── Floating WhatsApp ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  padding: 12px 20px 12px 16px;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: all var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #20ba5a;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
}
.whatsapp-float svg { width: 22px; height: 22px; }

/* ── Back to top ─────────────────────────────────────────────── */
#back-top {
  position: fixed;
  bottom: 90px; right: 32px;
  z-index: 998;
  width: 42px; height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  font-size: 1rem;
}
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { background: var(--primary-dark); }

/* ── Animations ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { max-width: 500px; }
  .about-img-badge { bottom: -14px; right: -10px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links, .nav-cta {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 999;
  }
  .nav-links.open, .nav-cta.open { display: flex; }
  .nav-links a { font-size: 1.3rem; color: rgba(255,255,255,.85); }
  .nav-cta { bottom: 60px; top: auto; background: none; position: fixed; left: 0; right: 0; padding: 0 20px; }
  .nav-toggle { display: flex; z-index: 1000; }
  .hero { min-height: 90vh; padding-top: 90px; }
  .hero-stats { gap: 24px; }
  .contact-grid  { grid-template-columns: 1fr; }
  .form-grid     { grid-template-columns: 1fr; }
  .service-full-card { grid-template-columns: 1fr; }
  .service-full-icon { width: 56px; height: 56px; font-size: 1.5rem; }
  .process-grid::before { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
  #back-top { bottom: 80px; right: 20px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr; }
  .stat-item   { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
