/* ============================================================
   Alpha Technologies — Apple-Inspired Stylesheet
   Design: Minimal, premium, white/black/grey, generous whitespace
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Design Tokens ---------- */
:root {
  /* Apple-inspired palette */
  --white:        #ffffff;
  --off-white:    #fbfbfd;
  --light-grey:   #f5f5f7;
  --mid-grey:     #d2d2d7;
  --text-muted:   #6e6e73;
  --text:         #1d1d1f;
  --near-black:   #000000;

  /* Accents */
  --blue:         #0071e3;
  --blue-hover:   #0077ed;
  --blue-dark:    #0058b0;
  --green:        #30d158;          /* WhatsApp-safe green */
  --whatsapp:     #25D366;
  --healthcare:   #0a7aff;           /* Healthcare blue tint */
  --media:        #ff375f;           /* Media magenta for accent */

  /* Shadows (soft, Apple-like) */
  --shadow-sm:    0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md:    0 4px 20px rgba(0,0,0,.06);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.08);
  --shadow-blue:  0 8px 24px rgba(0,113,227,.25);

  /* Layout */
  --maxw:         1200px;
  --gutter:       clamp(1.25rem, 3.5vw, 2.5rem);
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  /* Typography — Apple system font stack */
  --ff-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Motion */
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: .25s var(--ease);
  --t:      .45s var(--ease);
  --t-slow: .8s var(--ease);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -.003em;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.display-xxl, .display-xl, .display-l, .display-m, .display-s {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--text);
  margin: 0;
}
.display-xxl { font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 700; letter-spacing: -.035em; }
.display-xl  { font-size: clamp(2.25rem, 5.5vw, 4.25rem); font-weight: 700; letter-spacing: -.03em; }
.display-l   { font-size: clamp(1.875rem, 4vw, 3rem); }
.display-m   { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.display-s   { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
  max-width: 60ch;
}

.gradient-text {
  background: linear-gradient(135deg, #0071e3 0%, #ff375f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-blue { color: var(--blue); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--text-muted); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--grey { background: var(--light-grey); }
.section--dark { background: var(--near-black); color: var(--white); }
.section--dark .display-xl,
.section--dark .display-l,
.section--dark .display-m,
.section--dark .display-xxl { color: var(--white); }
.section--dark .lead { color: #a1a1a6; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { background: var(--blue-hover); }

.btn--secondary {
  background: var(--text);
  color: var(--white);
}
.btn--secondary:hover { background: #000; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--mid-grey);
}
.btn--ghost:hover { border-color: var(--text); background: var(--off-white); }

.btn--link {
  color: var(--blue);
  padding: 0;
  font-weight: 500;
}
.btn--link:hover { color: var(--blue-hover); transform: none; }
.btn--link .arrow { transition: transform var(--t-fast); }
.btn--link:hover .arrow { transform: translateX(3px); }

.btn--light {
  background: var(--white);
  color: var(--text);
}
.btn--light:hover { background: var(--off-white); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn--whatsapp:hover { background: #1ea952; }

.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .85rem;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  color: var(--text);
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--text) 0%, #3a3a3c 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}
.brand em { font-style: normal; font-weight: 400; color: var(--text-muted); }

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  font-size: .92rem;
  font-weight: 400;
}
.nav-links a {
  color: var(--text);
  transition: color var(--t-fast);
  position: relative;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 500; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 500;
  color: var(--text);
  font-size: .92rem;
}
.nav-call:hover { color: var(--blue); }
.nav-call svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--light-grey);
}
.nav-toggle span {
  position: relative;
  width: 16px; height: 1.5px;
  background: var(--text);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0; width: 16px; height: 1.5px;
  background: var(--text);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top:  5px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--blue);
  padding: .4rem 1rem;
  background: rgba(0, 113, 227, 0.08);
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.hero h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -.035em;
  max-width: 18ch;
  margin: 0 auto 1.5rem;
  color: var(--text);
}
.hero h1 .gradient-text { display: inline-block; }
.hero .lead {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  max-width: 58ch;
  margin: 0 auto 2.25rem;
}
.hero-ctas {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,.06);
  color: var(--text-muted);
  font-size: .9rem;
}
.hero-trust strong { color: var(--text); font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- Page header (non-home) ---------- */
.page-header {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  text-align: center;
}
.page-header h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 20ch;
  margin: 0 auto 1.25rem;
}
.page-header .lead {
  margin-inline: auto;
  text-align: center;
}

/* ---------- Service Cards (Home quick cards) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--blue);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 .6rem;
  letter-spacing: -.015em;
}
.card p {
  color: var(--text-muted);
  font-size: .97rem;
  margin: 0;
  flex-grow: 1;
}
.card-link {
  margin-top: 1.25rem;
  color: var(--blue);
  font-size: .92rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--t-fast);
}
.card:hover .card-link { gap: .55rem; }

/* Feature card (dark variant for industry focus) */
.card--dark {
  background: var(--near-black);
  color: var(--white);
}
.card--dark h3 { color: var(--white); }
.card--dark p { color: #a1a1a6; }
.card--dark .card-icon { background: rgba(255,255,255,.08); color: var(--blue); }
.card--dark .card-link { color: var(--blue); }

/* Industry hero split */
.industry-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.industry-card {
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 4vw, 3.5rem);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.industry-card::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
}
.industry-card--healthcare::before {
  background: linear-gradient(145deg, #001a4a 0%, #0071e3 100%);
}
.industry-card--media::before {
  background: linear-gradient(145deg, #1a0033 0%, #ff375f 100%);
}
.industry-card .eyebrow {
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  margin-bottom: .75rem;
}
.industry-card h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0 0 .75rem;
  max-width: 14ch;
}
.industry-card p {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  margin: 0 0 1.5rem;
  max-width: 35ch;
}
.industry-card .btn--light {
  align-self: flex-start;
}

/* ---------- Service Detail Rows (services page) ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(0,0,0,.08);
  align-items: start;
}
.svc-detail:last-child { border-bottom: 0; }
.svc-detail .svc-head {
  position: sticky;
  top: 100px;
}
.svc-num {
  font-size: .85rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.svc-detail h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.svc-detail .svc-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.svc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1.5rem;
}
.svc-list li {
  padding: .75rem 0;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-size: .97rem;
}
.svc-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  font-size: .95rem;
}
.svc-detail .btn {
  margin-top: 1.5rem;
}

/* ---------- Feature List (healthcare/media deep pages) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.feature:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-num {
  font-size: .8rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: .75rem;
  letter-spacing: .05em;
}
.feature h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  letter-spacing: -.015em;
}
.feature p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  margin-top: .6rem;
  font-size: .95rem;
  color: var(--text-muted);
}
.section--dark .stats-row { border-color: rgba(255,255,255,.12); }
.section--dark .stat-num { color: var(--white); }
.section--dark .stat-label { color: #a1a1a6; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
}
.testimonial-quote {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.testimonial-meta { display: flex; align-items: center; gap: .85rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--media));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: .95rem;
}
.testimonial-name { font-weight: 600; font-size: .95rem; }
.testimonial-role { color: var(--text-muted); font-size: .85rem; }

/* ---------- CTA blocks ---------- */
.cta-block {
  background: var(--near-black);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-block::before {
  content: "";
  position: absolute;
  top: -50%; left: -20%; right: -20%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(0,113,227,.35), transparent 55%),
              radial-gradient(circle at 75% 80%, rgba(255,55,95,.25), transparent 55%);
  z-index: -1;
}
.cta-block h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--white);
  max-width: 22ch;
  margin-inline: auto;
}
.cta-block p {
  color: #a1a1a6;
  font-size: 1.1rem;
  margin: 0 0 2rem;
  max-width: 50ch;
  margin-inline: auto;
}
.cta-block-ctas {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Inline CTA row (smaller, less intrusive) */
.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  background: var(--light-grey);
  border-radius: var(--radius);
  margin-block: 2rem;
}
.cta-inline p {
  margin: 0;
  font-weight: 500;
  font-size: 1.05rem;
}
.cta-inline .btn { flex-shrink: 0; }

/* Lead magnet card */
.lead-magnet {
  background: linear-gradient(135deg, #f5f5f7 0%, #fbfbfd 100%);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}
.lead-magnet h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0 0 .5rem;
}
.lead-magnet p {
  color: var(--text-muted);
  margin: 0;
  max-width: 50ch;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-block { }
.contact-block .label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: .5rem;
}
.contact-block a, .contact-block p {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  margin: 0;
  line-height: 1.45;
}
.contact-block a:hover { color: var(--blue); }
.contact-block address { font-style: normal; color: var(--text); font-size: 1.05rem; line-height: 1.55; }

.contact-quick {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.form {
  background: var(--light-grey);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.form h3 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0 0 .5rem;
}
.form p { color: var(--text-muted); margin: 0 0 1.75rem; font-size: .95rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: .85rem 1rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 10px;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  font-size: .97rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,113,227,.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; margin-top: .5rem; }
.form-note {
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.map-embed {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  aspect-ratio: 16 / 7;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Floating WhatsApp + Call ---------- */
.float-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.float-btn:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.float-btn--whatsapp { background: var(--whatsapp); }
.float-btn--call { background: var(--blue); display: none; }
.float-btn svg { width: 28px; height: 28px; fill: var(--white); }
.float-btn .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulse-ring 2.2s ease-out infinite;
  background: var(--whatsapp);
  opacity: .45;
  z-index: -1;
}
.float-btn--call .pulse { background: var(--blue); }

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .55; }
  80%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Sticky mobile CTA bar (appears on scroll) ---------- */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 45;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,.08);
  padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom));
  gap: .5rem;
  transform: translateY(100%);
  transition: transform var(--t);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar .btn { flex: 1; justify-content: center; padding: .8rem .5rem; font-size: .95rem; }

/* ---------- Exit-intent modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(.96);
  transition: transform var(--t);
}
.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.modal-close:hover { background: var(--mid-grey); color: var(--text); }
.modal-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--media));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.modal h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
}
.modal p { color: var(--text-muted); margin: 0 0 1.5rem; }
.modal .btn { width: 100%; }
.modal-subnote {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.footer-cta {
  background: var(--near-black);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.footer-cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 20% 30%, rgba(0,113,227,.3), transparent 55%),
              radial-gradient(circle at 85% 75%, rgba(255,55,95,.2), transparent 55%);
}
.footer-cta h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--white);
}
.footer-cta p {
  color: #a1a1a6;
  font-size: 1.05rem;
  margin: 0 0 2rem;
  max-width: 45ch;
  margin-inline: auto;
}
.footer-cta-ctas {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.footer-brand h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
  margin: 0 0 .75rem;
}
.footer-brand p {
  color: var(--text-muted);
  max-width: 32ch;
  font-size: .92rem;
}
.footer-col h5 {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col a { color: var(--text-muted); transition: color var(--t-fast); font-size: .9rem; }
.footer-col a:hover { color: var(--text); }
.footer-col .contact-mini {
  line-height: 1.6;
  font-size: .9rem;
  color: var(--text-muted);
}
.footer-col .contact-mini a { display: block; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: .82rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .industry-split { grid-template-columns: 1fr; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail .svc-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stats-row > div:nth-child(-n+2) { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(0,0,0,.08); }
  .section--dark .stats-row > div:nth-child(-n+2) { border-color: rgba(255,255,255,.12); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .lead-magnet { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 720px) {
  .nav-links, .nav-call { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 1.25rem var(--gutter);
    gap: 1.25rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: var(--shadow-md);
  }
  .nav-actions .btn:not(.btn--sm-only) { display: none; }
  .svc-list { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 1rem; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inline { flex-direction: column; align-items: stretch; text-align: center; }
  .float-btn--call { display: flex; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 80px; } /* room for sticky bar */
}
