/* Theme variables */
:root {
  --bg: #f8fafc; /* slate-50 */
  --bg-2: #f1f5f9; /* slate-100 */
  --text: #0f172a; /* slate-900 */
  --muted: #64748b; /* slate-500 */
  --primary: #3b82f6; /* blue-500 */
  --primary-2: #2563eb; /* blue-600 */
  --secondary: #06b6d4; /* cyan-500 */
  --sea: #2e8b57; /* sea green */
  --blue-dark: #1e3a8a; /* blue-800 */
  --surface: #ffffff;
  --card: #ffffff;
  --border: #e2e8f0; /* slate-200 */
  --accent: #60a5fa; /* blue-400 */
  --danger: #ef4444; /* red-500 */
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.15);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-2); }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--text); }

/* Header */
.site-header { position: static; z-index: 50; background: rgba(255,255,255,0.8); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(2,6,23,0.06); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; justify-content: flex-end; margin-left: auto; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--primary-2); }
.nav a[aria-current="page"] { color: var(--primary-2); font-weight: 600; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); border-radius: 10px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); }

/* Hero */
.hero { position: relative; padding: 72px 0 32px; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero-copy h1 { font-size: 42px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero-copy p { color: var(--muted); margin: 0 0 18px; max-width: 640px; }
.hero-bullets { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.icon-check { display: inline-block; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--secondary), #22d3ee); box-shadow: 0 2px 6px rgba(6,182,212,0.25); margin-right: 8px; position: relative; vertical-align: -3px; }
.icon-check::after { content: ''; position: absolute; left: 5px; top: 4px; width: 7px; height: 11px; border-right: 2px solid white; border-bottom: 2px solid white; transform: rotate(45deg); }
.hero-ctas { display: flex; gap: 12px; }
.hero-art { position: relative; }
.hero-art img { filter: drop-shadow(0 10px 40px rgba(2,6,23,0.15)); }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 140px; background: radial-gradient(100% 140px at 50% 0%, rgba(59,130,246,0.12) 0%, rgba(59,130,246,0) 70%); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; }

/* Single-column hero when no illustration */
.hero--single .hero-inner { grid-template-columns: 1fr; }

/* Page-specific hero backgrounds */
.hero--home {
  background: url('../img/hero-bg.svg'), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: cover, auto;
  background-position: center, center;
}
.hero--services {
  background: url('../img/hero-services.svg'), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  background-size: cover, auto;
  background-position: center, center;
}

/* Logos */
.logos { padding: 26px 0; border-top: 1px solid rgba(2,6,23,0.06); border-bottom: 1px solid rgba(2,6,23,0.06); background: rgba(2,6,23,0.02); }
.logos-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
.logo-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logo { height: 44px; display: grid; place-items: center; border: 1px dashed var(--border); color: var(--muted); border-radius: 10px; background: var(--surface); }
.label { color: var(--muted); font-size: 14px; }

/* About */
.about { padding: 56px 0; }
.about-inner h2 { text-align: center; }
.about-inner p { color: var(--muted); max-width: 820px; margin: 0 auto 16px; text-align: center; }
.about-ctas { display: flex; gap: 12px; justify-content: center; }

/* Emphasized subheading style for Growth section */
.subheading-emphasis {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--primary-2);
  display: block;
  text-align: center;
}

/* Features */
.features { padding: 64px 0; }
.service-list { display: grid; gap: 16px; }
.service-block .label { margin-top: 8px; color: var(--primary-2); text-align: center; }
.service-block { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.service-block h3 { margin: 0 0 8px; color: var(--sea); text-align: center; }
.service-block#marketing h3 { text-align: center; }
.service-block .subheading-callout { display: block; margin-left: auto; margin-right: auto; text-align: center; }
/* Remove background box for Marketing callout */
.service-block#marketing .subheading-callout { background: transparent; border: none; }
/* Remove background box for Sales, Consulting, Recruitment callouts */
.service-block#sales .subheading-callout,
.service-block#consulting .subheading-callout,
.service-block#recruitment .subheading-callout { background: transparent; border: none; }
.service-block .service-desc { text-align: center; }
.service-block:nth-child(even) { background: linear-gradient(180deg, rgba(6,182,212,0.08), rgba(6,182,212,0)); border-color: var(--accent); }
.service-block#marketing {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(248,250,252,0.88)), url('../img/hero-marketing.svg');
  background-size: auto, cover;
  background-position: center;
}
.service-block--plain { background: transparent; border: none; box-shadow: none; padding: 0; }
.service-block--plain { max-width: 860px; margin: 0 auto; }
.service-block--plain h3,
.service-block--plain p { text-align: center; }
.service-block--plain .points-list { max-width: 720px; margin: 10px auto 0; text-align: left; }
.service-block .points-list { justify-items: center; text-align: center; }
/* Remove background box for Marketing points */
.service-block#marketing .point { background: transparent; }
.service-block--plain .label { text-align: center; }
.subheading-callout { display: inline-block; margin: 8px auto; padding: 10px 14px; border-radius: 12px; background: rgba(59,130,246,0.10); color: var(--primary-2); font-weight: 700; border: 1px solid var(--accent); }
/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .form-group { display: grid; gap: 6px; margin-bottom: 10px; }
.contact-form label { font-weight: 600; }
.contact-form .form-actions { margin-top: 10px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
/* Single-column points utility */
.points-list--single { grid-template-columns: 1fr 1fr; }
/* Keep consent text on one line */
.contact-form .consent label { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.steps { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 24px; }
.section-head h2 { margin: 0 0 10px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.steps-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.steps-list li { position: relative; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; padding: 14px 64px 14px 58px; box-shadow: 0 8px 22px rgba(59,130,246,0.25); }
.steps-list li::before { content: counter(step); counter-increment: step; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--primary-2); font-weight: 700; background: #fff; box-shadow: 0 6px 18px rgba(59,130,246,0.25); }
.steps-list li::after { content: ''; position: absolute; top: 0; right: -18px; width: 18px; height: 100%; background: inherit; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.points-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 12px 18px; }
.point { display: block; padding: 8px 10px; border-left: 3px solid var(--accent); border-radius: 6px; background: rgba(96,165,250,0.08); }
.point-text { font-weight: 600; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.who-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.who-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 8px; list-style: disc; list-style-position: inside; margin: 0; padding: 0; }
.who-list li { font-weight: 600; color: var(--text); }
.who-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.who-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.image-card { width: 100%; }
.who-images .image-card--smb { justify-self: stretch; max-width: none; }
.image-card .image-card--split { display: contents; }
.image-card { display: grid; grid-template-columns: 1fr 64px; gap: 12px; align-items: center; }
.image-card .card-content { text-align: left; }
.image-card .card-image img { width: 56px; height: 56px; filter: none; }
.image-card--smb {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 12px;
  align-items: center;
  justify-self: center;
  max-width: 680px;
  width: 100%;
}
.image-card--smb .card-content { text-align: left; }
.image-card--smb .card-image img {
  width: 56px;
  height: 56px;
  filter: none;
}
.feature-card { position: relative; background: var(--card); border: 1px solid transparent; border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.feature-card h3 { margin: 12px 0 6px; }
.feature-card p { color: var(--muted); margin: 0; }
.feature-card .icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 6px 18px rgba(59,130,246,0.25); }
.feature-card .icon img { width: 24px; height: 24px; filter: brightness(0) invert(1); }

/* Animated blue border highlight */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px; /* border thickness */
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 200%;
  animation: borderMove 3s linear infinite;
  opacity: 0.7;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.feature-card:hover::before { opacity: 1; }

@keyframes borderMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card::before { animation: none; }
}

@media (max-width: 960px) {
  .what-grid { grid-template-columns: 1fr; }
}

/* Lead */
.lead { padding: 64px 0; background: linear-gradient(180deg, rgba(59,130,246,0.08), rgba(59,130,246,0)); border-top: 1px solid rgba(2,6,23,0.06); border-bottom: 1px solid rgba(2,6,23,0.06); }
.lead-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 8px; font-weight: 600; color: var(--muted); }
input, textarea { background: #ffffff; border: 1px solid var(--border); color: var(--text); border-radius: 10px; height: 44px; padding: 0 12px; font: inherit; }
textarea { padding: 12px; height: auto; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,130,246,0.3); }
.consent { align-items: center; grid-template-columns: 18px 1fr; }
.consent input { width: 18px; height: 18px; }
.form-note { margin-top: 10px; color: var(--muted); min-height: 20px; }

/* Stats */
.stats { padding: 50px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; text-align: center; }
.stat .num { font-size: 28px; font-weight: 700; }
.stat .label { color: var(--muted); }

/* Testimonials */
.testimonials { padding: 64px 0; }
.slider { position: relative; overflow: hidden; }
.slide { display: none; background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 22px; }
.slide.active { display: block; }
.author { margin-top: 12px; color: var(--muted); font-weight: 600; }
.slider-controls { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.btn-dot { width: 10px; height: 10px; border-radius: 999px; background: #cbd5e1; border: none; cursor: pointer; }
.btn-dot.active { background: var(--primary); }

/* Pricing */
.pricing { padding: 64px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.price-card .price { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; }
.price-card .currency { color: var(--muted); margin-right: 2px; }
.price-card .term { color: var(--muted); margin-left: 4px; font-size: 16px; }
.price-card ul { list-style: none; margin: 12px 0 18px; padding: 0; color: var(--muted); }
.price-card.featured { border-color: var(--primary); box-shadow: 0 12px 40px rgba(59,130,246,0.25); transform: scale(1.02); }

/* FAQ */
.faq { padding: 64px 0; }
.accordion { display: grid; gap: 10px; }
.item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.question { width: 100%; background: transparent; color: var(--text); text-align: left; border: none; padding: 16px 18px; font-weight: 600; cursor: pointer; }
.answer { display: none; padding: 0 18px 16px; color: var(--muted); }
.item.open .answer { display: block; }

/* CTA Final */
.cta-final { padding: 64px 0; background: linear-gradient(180deg, rgba(6,182,212,0.08), rgba(6,182,212,0)); border-top: 1px solid rgba(2,6,23,0.06); }
.cta-final .container { text-align: center; }
.cta-final h2 { margin: 0 0 10px; }
.cta-final p { color: var(--muted); margin: 0 0 18px; }

/* Global heading color */
h2 { color: var(--sea); }

/* Footer */
.site-footer { padding: 28px 0 20px; border-top: 1px solid rgba(2,6,23,0.08); background: rgba(2,6,23,0.03); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-brand img { width: 22px; height: 22px; }
.footer-nav { display: flex; gap: 14px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); }
.footer-social a:hover { color: var(--text); }
.footer-social svg { width: 16px; height: 16px; }

/* Brand colors for social icons */
.footer-social a[aria-label="Twitter"] { color: #1DA1F2; }
.footer-social a[aria-label="LinkedIn"] { color: #0A66C2; }
.footer-social a[aria-label="YouTube"] { color: #FF0000; }
.footer-social a[aria-label="Twitter"]:hover { color: #1DA1F2; }
.footer-social a[aria-label="LinkedIn"]:hover { color: #0A66C2; }
.footer-social a[aria-label="YouTube"]:hover { color: #FF0000; }

/* Floating action buttons */
.floating-buttons { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 1000; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(2,6,23,0.18); border: 1px solid var(--border); background: #fff; color: var(--text); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(2,6,23,0.24); }
.float-btn svg { width: 24px; height: 24px; }
.float-btn--whatsapp { background: #25D366; color: #fff; border-color: #1db655; }
.float-btn--call { background: var(--primary-2); color: #fff; border-color: var(--primary-2); }
.float-btn--close { background: rgba(2,6,23,0.85); color: #fff; border-color: rgba(2,6,23,0.85); }
.floating-restore { position: fixed; bottom: 20px; right: 20px; z-index: 1000; display: none; }
.float-btn--restore { background: #fff; color: var(--primary-2); border-color: var(--primary-2); }

@media (max-width: 560px) {
  .floating-buttons { bottom: 16px; right: 16px; gap: 8px; }
  .float-btn { width: 46px; height: 46px; }
  .floating-restore { bottom: 16px; right: 16px; }
}
.copyright { text-align: center; margin-top: 12px; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .image-card { grid-template-columns: 1fr; }
  .image-card .card-image { justify-self: center; }
  .who-images { grid-template-columns: 1fr; }
  .nav.open { display: grid; grid-template-columns: 1fr; gap: 10px; background: rgba(255,255,255,0.95); padding: 10px; border-radius: 10px; position: absolute; left: 20px; right: 20px; top: 62px; border: 1px solid var(--border); }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps-list { grid-template-columns: 1fr; }
  .points-list { grid-template-columns: 1fr; }
  .lead-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .image-card--smb { grid-template-columns: 1fr; justify-self: stretch; }
  .image-card--smb .card-image { justify-self: center; }
  .who-list { grid-template-columns: 1fr; }
}
