/* =====================================================================
   CONCIERGE MEDICAL AND NURSING SERVICES (CMNS) - v2.0
   Premium Healthcare · Elevated Minimalism
   Palette: Royal Purple · Medical Teal · Clinical Blue
   Type:    Cormorant Garamond (display) · Figtree (UI) · Great Vibes (accent)
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. DESIGN TOKENS                                                    */
/* ------------------------------------------------------------------ */
:root {
  /* Purple */
  --purple-950: #1a0d2e;
  --purple-900: #2e1a47;
  --purple-800: #3a1d63;
  --purple-700: #4a2580;
  --purple-600: #5b2a86;
  --purple-500: #6d33a6;
  --purple-400: #8b5cc7;
  --purple-300: #b69ae0;
  --purple-200: #d9c9f0;
  --purple-100: #ede6f7;
  --purple-50:  #f6f2fb;

  /* Teal */
  --teal-700: #0b7a8c;
  --teal-600: #0e8fa3;
  --teal-500: #14a4b8;
  --teal-400: #2bb9cc;
  --teal-300: #7fd4e0;
  --teal-200: #b7e7ee;
  --teal-100: #dcf3f6;

  /* Gold accent */
  --gold-500: #c9a24b;
  --gold-300: #e3c987;

  /* WhatsApp */
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  /* Neutrals */
  --ink-900: #1a1426;
  --ink-800: #2a2438;
  --ink-700: #443f57;
  --ink-600: #5b566e;
  --ink-500: #75718a;
  --ink-400: #9b97ad;
  --surface:   #ffffff;
  --surface-2: #f8f6fc;
  --surface-3: #f0eaf8;
  --border:        #e8e3f0;
  --border-strong: #d6cee8;

  /* Semantic */
  --success: #1da851;
  --error:   #d6336c;

  /* Gradients */
  --grad-brand:      linear-gradient(135deg, #5b2a86 0%, #4a2580 38%, #2a6ca2 74%, #14a4b8 100%);
  --grad-brand-soft: linear-gradient(135deg, #6d33a6 0%, #3a5fa0 60%, #14a4b8 100%);
  --grad-hero:       linear-gradient(130deg, #1e0d36 0%, #3a1d63 35%, #1e5c84 72%, #0d8a9e 100%);
  --grad-deep:       linear-gradient(160deg, #1a0d2e 0%, #3a1d63 55%, #0d5f75 100%);
  --grad-text:       linear-gradient(100deg, #5b2a86, #14a4b8);
  --grad-line:       linear-gradient(90deg, transparent, var(--teal-500), transparent);

  /* Typography */
  --font-serif:  'Cormorant Garamond', 'Georgia', serif;
  --font-sans:   'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Great Vibes', cursive;

  /* Radius */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(26, 13, 46, 0.06);
  --shadow-sm: 0 4px 14px rgba(46, 26, 71, 0.08);
  --shadow-md: 0 12px 32px rgba(46, 26, 71, 0.11);
  --shadow-lg: 0 24px 56px rgba(46, 26, 71, 0.16);
  --shadow-glow-teal:   0 12px 36px rgba(20, 164, 184, 0.26);
  --shadow-glow-purple: 0 12px 36px rgba(91, 42, 134, 0.26);

  /* Layout */
  --container:        1180px;
  --container-narrow: 860px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --nav-h:  70px;

  /* Motion */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-med:  260ms;
  --t-slow: 480ms;
}

/* ------------------------------------------------------------------ */
/* 2. RESET / BASE                                                     */
/* ------------------------------------------------------------------ */
/* WAVE DIVIDER SUPPRESSED */
.hero-wave { display: none; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img  { height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

::selection { background: var(--purple-300); color: #fff; }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------------ */
/* 3. LAYOUT HELPERS                                                   */
/* ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); }

.section    { padding-block: clamp(4rem, 8vw, 6rem); position: relative; }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }

.bg-tint   { background: var(--surface-2); }
.bg-tint-2 { background: linear-gradient(180deg, var(--surface-2), #fff); }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 2.5rem; }
.hidden { display: none !important; }

/* ------------------------------------------------------------------ */
/* 4. TYPOGRAPHY UTILITIES                                             */
/* ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}
.eyebrow.center::after {
  content: "";
  width: 22px; height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--teal-500);
  line-height: 1;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  color: var(--ink-900);
}
.section-title .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-600);
  line-height: 1.72;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.muted { color: var(--ink-500); }

.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow        { margin-bottom: 0.9rem; }
.section-head .section-title  { margin-bottom: 1rem; }

.section-title { margin-bottom: 1rem; }

/* flourish divider */
.flourish {
  display: flex; align-items: center; justify-content: center;
  gap: 0.55rem; margin: 1rem 0;
}
.flourish span { height: 1px; width: 48px; background: linear-gradient(90deg, transparent, var(--gold-300)); }
.flourish span:last-child { background: linear-gradient(90deg, var(--gold-300), transparent); }
.flourish svg { width: 18px; height: 18px; color: var(--teal-500); }

/* ------------------------------------------------------------------ */
/* 5. BUTTONS                                                          */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  padding: 0.9rem 1.6rem;
  border-radius: var(--r-pill);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease),
              background var(--t-med) var(--ease),
              color var(--t-med) var(--ease);
  white-space: nowrap;
  min-height: 48px;
  cursor: pointer;
  position: relative;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow-purple);
  background-size: 160% 160%;
  background-position: 0% 50%;
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 18px 44px rgba(91, 42, 134, 0.38);
}

.btn-teal { background: var(--teal-500); color: #fff; box-shadow: var(--shadow-glow-teal); }
.btn-teal:hover { background: var(--teal-600); }

.btn-ghost {
  background: rgba(255,255,255,0.75);
  color: var(--purple-700);
  border: 1.5px solid var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--purple-400); color: var(--purple-600); background: #fff; }

.btn-outline-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.18); border-color: #fff; }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-sm { padding: 0.65rem 1.2rem; min-height: 42px; font-size: 0.9rem; }
.btn-lg { padding: 1.05rem 2rem; min-height: 54px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--purple-600);
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.text-link svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.text-link:hover { color: var(--teal-600); gap: 0.6rem; }
.text-link:hover svg { transform: translateX(3px); }

/* loading state */
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn-label { opacity: 0; }
.btn .spinner {
  position: absolute; width: 19px; height: 19px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite; display: none;
}
.btn.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ */
/* 6. NAVBAR                                                           */
/* ------------------------------------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              backdrop-filter var(--t-med);
}
.nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(46,26,71,0.07);
}
.nav-inner {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .b-name {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 1.28rem; color: var(--ink-900); letter-spacing: 0.01em;
}
.brand-text .b-sub {
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
  font-weight: 600;
  margin-top: 3px;
  max-width: 210px;
  line-height: 1.3;
}
.nav.on-dark:not(.scrolled) .brand-text .b-name { color: #fff; }
.nav.on-dark:not(.scrolled) .brand-text .b-sub  { color: var(--teal-300); }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-weight: 500; font-size: 0.95rem;
  color: var(--ink-700); border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 2px; border-radius: 2px; background: var(--teal-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav-links a:hover { color: var(--purple-600); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--purple-600); }
.nav.on-dark:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.88); }
.nav.on-dark:not(.scrolled) .nav-links a:hover,
.nav.on-dark:not(.scrolled) .nav-links a.active { color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 0.5rem; }

/* Hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface-2); place-items: center;
  border: 1px solid var(--border);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink-800); transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: rotate(45deg); }
.nav-toggle.open span::after  { transform: rotate(-45deg) translateY(-1px); }

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(18px);
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
  padding: 1.4rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column; gap: 0.2rem;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  font-size: 1.15rem; font-weight: 500; color: var(--ink-800);
  padding: 0.9rem 0.3rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-drawer a svg { width: 17px; height: 17px; color: var(--ink-400); }
.nav-drawer a:hover { color: var(--purple-600); }
.nav-drawer .drawer-cta { margin-top: 1.4rem; display: grid; gap: 0.65rem; }

/* ------------------------------------------------------------------ */
/* 7. HERO                                                             */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 5rem;
  overflow: visible;
  background: var(--grad-hero);
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(110% 80% at 85% 5%, rgba(43,185,204,0.3), transparent 52%),
    radial-gradient(80% 70% at 5% 95%, rgba(109,51,166,0.25), transparent 52%);
}
.hero-orbs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: 0.35; }
.orb-1 { width: 380px; height: 380px; background: var(--teal-400); top: -100px; right: -60px; }
.orb-2 { width: 320px; height: 320px; background: var(--purple-400); bottom: -100px; left: -40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
  width: 100%;
}

/* — Hero Copy — */
.hero-copy { display: flex; flex-direction: column; }

/* Service Slider */
.hero-slider {
  margin-bottom: 1.6rem;
  position: relative;
}
.hss-track {
  position: relative;
  height: 46px;
  margin-bottom: 0.75rem;
}
.hss-item {
  position: absolute;
  top: 0; left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.48rem 1.05rem 0.48rem 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  white-space: nowrap;
  pointer-events: none;
}
.hss-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hss-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-300);
  flex-shrink: 0;
  animation: hss-pulse 2.4s ease-in-out infinite;
}
@keyframes hss-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.3); }
}
.hss-dots {
  display: none;
}
.hss-dot {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.28);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.35s var(--ease);
  width: 16px;
  min-height: 10px;
  padding: 3.5px 0;
  background-clip: content-box;
}
.hss-dot.active {
  background-color: var(--teal-300);
  width: 26px;
}

/* Hero H1 */
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.04;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}
.hero h1 .accent {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--teal-300);
  font-size: clamp(2.4rem, 5.5vw, 4.3rem);
  letter-spacing: 0;
  line-height: 1.1;
}
.hero p.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255,255,255,0.84);
  max-width: 54ch;
  margin: 1.2rem 0 1.8rem;
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.8rem;
  margin-top: 2rem;
}
.hero-trust .ht {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.82);
}
.hero-trust .ht svg { width: 20px; height: 20px; color: var(--teal-300); flex-shrink: 0; }

/* — Hero Visual (right photo) — */
.hero-visual { position: relative; }
.hero-photo-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
}
.hero-photo-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: linear-gradient(145deg, #3a1d63 0%, #1e5c84 45%, #0d8a9e 80%, #14a4b8 100%);
  position: relative;
  box-shadow: var(--shadow-lg);
}
.hero-photo-img::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(80% 60% at 25% 20%, rgba(43,185,204,0.45), transparent 60%),
    radial-gradient(60% 60% at 80% 80%, rgba(91,42,134,0.3), transparent 60%);
}
.hero-photo-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  position: relative; z-index: 2;
  display: block;
}
/* CMNS mark shown when no image loads */
.hero-photo-fig {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-photo-fig svg { width: 44%; opacity: 0.25; color: #fff; }

.hero-photo-tag {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--purple-700);
  padding: 0.55rem 1.2rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 0.45rem;
  white-space: nowrap; z-index: 3;
}
.hero-photo-tag svg { width: 16px; height: 16px; color: var(--teal-500); }

.hero-photo-stat {
  position: absolute; bottom: -22px; right: -16px; z-index: 3;
  background: #fff; border-radius: var(--r-lg); padding: 1rem 1.3rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  display: flex; gap: 0.75rem; align-items: center;
}
.hero-photo-stat .hps-num {
  font-family: var(--font-serif);
  font-size: 2.1rem; font-weight: 700;
  color: var(--purple-600); line-height: 1;
}
.hero-photo-stat .hps-num small { font-size: 1.1rem; color: var(--teal-500); }
.hero-photo-stat .hps-txt {
  font-size: 0.82rem; color: var(--ink-600); line-height: 1.3; max-width: 90px;
}

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; color: #fff;
}
.hero-wave svg { width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------------ */
/* 8. TRUST STRIP                                                      */
/* ------------------------------------------------------------------ */
.trust-strip { background: #fff; }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; padding: 1.8rem 0;
}
.trust-item {
  display: flex; align-items: center; gap: 0.9rem;
  justify-content: center; text-align: left;
}
.trust-item .ti-ic {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  background: var(--purple-50); display: grid; place-items: center;
  border: 1px solid var(--purple-100);
}
.trust-item .ti-ic svg { width: 24px; height: 24px; color: var(--purple-600); }
.trust-item strong { display: block; color: var(--ink-900); font-weight: 600; font-size: 0.98rem; }
.trust-item span   { color: var(--ink-500); font-size: 0.86rem; }

/* ------------------------------------------------------------------ */
/* 9. SERVICE CATEGORIES + CARDS  — Premium Luxury Redesign           */
/* ------------------------------------------------------------------ */

/* Section ambient glow */
#services {
  position: relative;
  overflow: hidden;
}
#services::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 4% 12%, rgba(91,42,134,0.055) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 96% 88%, rgba(37,196,216,0.06) 0%, transparent 55%);
}
#services > .container { position: relative; z-index: 1; }

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}

/* ── Card ── */
.cat-col {
  background: linear-gradient(180deg, #ffffff 0%, #f8f7fc 100%);
  border: 1px solid rgba(91, 42, 134, 0.09);
  border-radius: 24px;
  padding: 1.8rem 1.5rem 1.5rem;
  box-shadow: 0 8px 28px rgba(63, 29, 99, 0.08);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition:
    box-shadow 250ms ease-out,
    transform  250ms ease-out,
    border-color 250ms ease-out;
}
.cat-col::after {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 2.5px;
  background: linear-gradient(90deg, #5b2a86 0%, #25c4d8 100%);
  border-radius: 24px 24px 0 0;
  opacity: 0;
  transition: opacity 250ms ease-out;
}
.cat-col:hover {
  box-shadow: 0 20px 52px rgba(63, 29, 99, 0.15);
  transform: translateY(-5px);
  border-color: rgba(91, 42, 134, 0.2);
}
.cat-col:hover::after { opacity: 1; }

/* ── Category pill header ── */
.cat-head {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #5b2a86 0%, #25c4d8 100%);
  color: #fff;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase;
  align-self: flex-start; margin-bottom: 1.4rem;
  box-shadow: 0 4px 16px rgba(91, 42, 134, 0.32);
  white-space: nowrap;
}
.cat-head svg { width: 15px; height: 15px; flex-shrink: 0; }

.cat-list { display: flex; flex-direction: column; gap: 0.2rem; flex-grow: 1; }

/* ── Service row — interactive mini-card ── */
.svc-row {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.72rem 0.65rem;
  border-radius: 12px;
  border-left: 3px solid transparent;
  text-decoration: none;
  position: relative;
  transition:
    background     250ms ease-out,
    transform      250ms ease-out,
    border-color   250ms ease-out,
    box-shadow     250ms ease-out;
}
.svc-row:hover {
  background: rgba(91, 42, 134, 0.045);
  border-left-color: #5b2a86;
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(91, 42, 134, 0.09);
}

/* ── Icon — always gradient circle ── */
.svc-row .svc-ic {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #5b2a86 0%, #25c4d8 100%);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(91, 42, 134, 0.28);
  transition:
    transform   250ms ease-out,
    box-shadow  250ms ease-out,
    filter      250ms ease-out;
}
.svc-row:hover .svc-ic {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(91, 42, 134, 0.42);
  filter: brightness(1.08);
}
.svc-row .svc-ic svg { width: 20px; height: 20px; color: #ffffff; }
.svc-row:hover .svc-ic svg { color: #ffffff; }

/* ── Row text ── */
.svc-row .svc-meta { flex-grow: 1; min-width: 0; }
.svc-row .svc-meta strong {
  display: block; color: var(--ink-900); font-weight: 600;
  font-size: 0.95rem; line-height: 1.25;
}
.svc-row .svc-meta span { font-size: 0.82rem; color: var(--ink-500); }

/* ── Arrow ── */
.svc-row .svc-arrow {
  color: #5b2a86; flex-shrink: 0;
  transition: color 250ms ease-out, transform 250ms ease-out;
}
.svc-row .svc-arrow svg { width: 16px; height: 16px; }
.svc-row:hover .svc-arrow { color: #25c4d8; transform: translateX(4px); }
.svc-row::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }

/* ── Category footer note ── */
.cat-note {
  margin-top: 0.9rem; padding-top: 0.9rem;
  border-top: 1px dashed rgba(91, 42, 134, 0.15);
  font-size: 0.86rem; color: var(--ink-500); font-style: italic;
}

/* ================================================================== */
/* Full services grid (services.html)                                 */
/* ================================================================== */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.6rem;
}
.svc-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f7fc 100%);
  border: 1px solid rgba(91, 42, 134, 0.09);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 8px 28px rgba(63, 29, 99, 0.08);
  display: flex; flex-direction: column; gap: 0.9rem;
  position: relative; overflow: hidden;
  transition:
    transform    250ms ease-out,
    box-shadow   250ms ease-out,
    border-color 250ms ease-out;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, #5b2a86, #25c4d8);
  transform: scaleX(0); transform-origin: left;
  transition: transform 250ms ease-out;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(63, 29, 99, 0.16);
  border-color: rgba(91, 42, 134, 0.22);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-card .sc-ic {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #5b2a86 0%, #25c4d8 100%);
  border: none; display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(91, 42, 134, 0.3);
  transition:
    transform  250ms ease-out,
    box-shadow 250ms ease-out,
    filter     250ms ease-out;
}
.svc-card:hover .sc-ic {
  transform: scale(1.07);
  box-shadow: 0 8px 26px rgba(91, 42, 134, 0.46);
  filter: brightness(1.1);
}
.svc-card .sc-ic svg { width: 26px; height: 26px; color: #ffffff; }
.svc-card:hover .sc-ic svg { color: #ffffff; }

.svc-card .sc-cat {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #25c4d8; font-weight: 700;
}
.svc-card h3 {
  font-family: var(--font-serif); font-size: 1.35rem;
  font-weight: 600; color: var(--ink-900); line-height: 1.15;
}
.svc-card p  { font-size: 0.93rem; color: var(--ink-600); flex-grow: 1; }
.svc-card .text-link { margin-top: 0.15rem; }
.svc-card .stretched { position: absolute; inset: 0; }

/* Filter pills */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; margin: 1.8rem 0 2.2rem; }
.filter-pill {
  padding: 0.55rem 1.2rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.88rem; color: var(--ink-600);
  background: #fff; border: 1.5px solid rgba(91, 42, 134, 0.15);
  transition: all 250ms ease-out; cursor: pointer;
}
.filter-pill:hover { border-color: #5b2a86; color: #5b2a86; background: rgba(91,42,134,0.03); }
.filter-pill.active {
  background: linear-gradient(135deg, #5b2a86 0%, #25c4d8 100%);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(91, 42, 134, 0.32);
}

/* ------------------------------------------------------------------ */
/* 10. FEATURE / VALUE CARDS                                           */
/* ------------------------------------------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.feature-card {
  padding: 1.7rem 1.5rem; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .fc-ic {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--teal-100), var(--purple-100));
  display: grid; place-items: center;
}
.feature-card .fc-ic svg { width: 26px; height: 26px; color: var(--purple-600); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.45rem; font-weight: 700; letter-spacing: -0.01em; }
.feature-card p  { color: var(--ink-600); font-size: 0.94rem; }

/* ------------------------------------------------------------------ */
/* 11. ABOUT / SPLIT                                                   */
/* ------------------------------------------------------------------ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.split.reverse .split-visual { order: -1; }

.about-visual { position: relative; }
.about-figure {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--grad-deep);
  box-shadow: var(--shadow-lg); isolation: isolate;
}
.about-figure img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.about-figure .ph-note {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em;
  background: rgba(0,0,0,0.28); padding: 0.28rem 0.75rem; border-radius: var(--r-pill);
  white-space: nowrap; z-index: 2;
}
.about-figure .fig-mark { width: 44%; opacity: 0.18; color: rgba(255,255,255,0.92); position: relative; z-index: 1; margin: auto; }
.about-figure::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(80% 60% at 30% 20%, rgba(43,185,204,0.45), transparent 60%);
}
.about-stat-card {
  position: absolute; bottom: -24px; right: -16px;
  background: #fff; border-radius: var(--r-lg); padding: 1rem 1.3rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  display: flex; gap: 0.85rem; align-items: center; z-index: 3;
}
.about-stat-card .asc-num { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--purple-600); line-height: 1; }
.about-stat-card .asc-txt { font-size: 0.82rem; color: var(--ink-600); line-height: 1.3; max-width: 110px; }

.about-copy { display: flex; flex-direction: column; }
.about-copy .eyebrow { margin-bottom: 0.8rem; }

.value-list { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
.value-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.value-list .vl-ic {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: var(--teal-100); display: grid; place-items: center;
  border: 1px solid var(--teal-200);
}
.value-list .vl-ic svg { width: 20px; height: 20px; color: var(--teal-600); }
.value-list strong { display: block; color: var(--ink-900); font-weight: 600; font-size: 1rem; margin-bottom: 0.1rem; }
.value-list p { font-size: 0.92rem; color: var(--ink-600); }

/* ------------------------------------------------------------------ */
/* 12. STATS BAND                                                      */
/* ------------------------------------------------------------------ */
.stats-band { background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 85% 0%, rgba(43,185,204,0.28), transparent 55%);
}
.stats-grid {
  position: relative; display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; text-align: center;
}
.stat .s-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700; color: #fff; line-height: 1;
}
.stat .s-num .u { color: var(--teal-300); }
.stat .s-label  { margin-top: 0.45rem; color: rgba(255,255,255,0.76); font-size: 0.9rem; }

/* ------------------------------------------------------------------ */
/* 13. CTA BAND                                                        */
/* ------------------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: var(--grad-brand); border-radius: var(--r-xl);
  padding: clamp(2.2rem, 4.5vw, 3.5rem); color: #fff; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 10% 0%, rgba(43,185,204,0.4), transparent 50%),
    radial-gradient(60% 120% at 100% 100%, rgba(139,92,199,0.45), transparent 50%);
}
.cta-inner > * { position: relative; }
.cta-inner .script { color: var(--teal-300); font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.cta-inner h2 { color: #fff; font-family: var(--font-serif); font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0.2rem 0 0.7rem; }
.cta-inner p  { color: rgba(255,255,255,0.86); max-width: 58ch; margin: 0 auto 1.6rem; font-size: 1.04rem; }
.cta-actions  { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* ------------------------------------------------------------------ */
/* 14. FORMS                                                           */
/* ------------------------------------------------------------------ */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.38rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink-800); }
.field label .req { color: var(--error); margin-left: 2px; }
.field .hint { font-size: 0.78rem; color: var(--ink-500); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--r-md);
  border: 1.5px solid var(--border-strong); background: var(--surface-2);
  color: var(--ink-900); font-size: 1rem; min-height: 50px;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 125px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b2a86' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.8rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(109,51,166,0.1);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); background: #fff5f8; }
.field .err-msg { font-size: 0.8rem; color: var(--error); font-weight: 500; display: none; }
.field.invalid .err-msg { display: block; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.86rem; color: var(--ink-600); }
.form-consent input { width: 20px; height: 20px; min-height: 20px; margin-top: 2px; accent-color: var(--purple-600); flex-shrink: 0; }

.form-status { display: none; padding: 0.9rem 1.1rem; border-radius: var(--r-md); font-weight: 500; margin-bottom: 1.1rem; align-items: center; gap: 0.65rem; }
.form-status.show { display: flex; }
.form-status.success { background: #e9f9f0; color: #137a48; border: 1px solid #b7e7cd; }
.form-status.error   { background: #fdeaf1; color: #b02a5b; border: 1px solid #f4c6d8; }
.form-status svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-aside { display: grid; gap: 0.9rem; }
.contact-method {
  display: flex; gap: 0.9rem; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.15rem 1.3rem; box-shadow: var(--shadow-xs);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.contact-method:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--purple-200); }
.contact-method .cm-ic { width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; }
.contact-method .cm-ic svg { width: 23px; height: 23px; color: #fff; }
.cm-ic.purple { background: var(--grad-brand); }
.cm-ic.teal   { background: var(--teal-500); }
.cm-ic.green  { background: var(--whatsapp); }
.contact-method .cm-meta span  { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }
.contact-method .cm-meta strong { display: block; color: var(--ink-900); font-size: 1.05rem; font-weight: 600; word-break: break-word; }
.contact-method .cm-meta strong:hover { color: var(--purple-600); }

.hours-card { background: var(--grad-deep); color: #fff; border-radius: var(--r-lg); padding: 1.35rem 1.5rem; }
.hours-card h4 { color: #fff; font-size: 1rem; margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.hours-card h4 svg { width: 18px; height: 18px; color: var(--teal-300); }
.hours-row { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.hours-row:last-child { border-bottom: none; }
.hours-row .em { color: var(--teal-300); font-weight: 600; }

/* ------------------------------------------------------------------ */
/* 15. SERVICE DETAIL PAGE                                             */
/* ------------------------------------------------------------------ */
.svc-hero {
  background: var(--grad-hero); color: #fff; position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(2.8rem, 5.5vw, 4.5rem);
  isolation: isolate;
}
.svc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 100% at 90% 0%, rgba(43,185,204,0.32), transparent 55%);
}
.svc-hero .crumbs { display: flex; align-items: center; gap: 0.45rem; font-size: 0.86rem; color: rgba(255,255,255,0.72); margin-bottom: 1.5rem; flex-wrap: wrap; }
.svc-hero .crumbs a:hover { color: #fff; }
.svc-hero .crumbs svg { width: 14px; height: 14px; opacity: 0.65; }
.svc-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.svc-hero .sh-ic {
  width: 70px; height: 70px; border-radius: 18px; margin-bottom: 1.2rem;
  background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.22);
  display: grid; place-items: center; backdrop-filter: blur(6px);
}
.svc-hero .sh-ic svg { width: 34px; height: 34px; color: #fff; }
.svc-hero .sh-cat { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-300); font-weight: 600; margin-bottom: 0.75rem; }
.svc-hero h1 { font-family: var(--font-serif); color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.05; margin-bottom: 0.9rem; }
.svc-hero .sh-tag { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,0.86); max-width: 58ch; }
.svc-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.svc-body { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 3.5vw, 3.2rem); align-items: start; }
.svc-content > * + * { margin-top: 1.2rem; }
.svc-content h2 { font-family: var(--font-serif); font-size: clamp(1.55rem, 2.5vw, 2rem); color: var(--ink-900); margin-top: 2.4rem; }
.svc-content h2:first-child { margin-top: 0; }
.svc-content h3 { font-size: 1.15rem; color: var(--purple-700); margin-top: 1.5rem; font-weight: 700; }
.svc-content p  { color: var(--ink-700); line-height: 1.75; }
.svc-content p strong { color: var(--ink-900); }

.check-list { display: grid; gap: 0.8rem; margin-top: 0.4rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--ink-700); line-height: 1.6; }
.check-list li svg { width: 20px; height: 20px; color: var(--teal-500); flex-shrink: 0; margin-top: 3px; }
.check-list li strong { color: var(--ink-900); }

.svc-callout {
  background: linear-gradient(135deg, var(--purple-50), var(--teal-100));
  border: 1px solid var(--purple-100); border-radius: var(--r-lg);
  padding: 1.3rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
}
.svc-callout .co-ic { width: 44px; height: 44px; border-radius: 11px; background: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-xs); }
.svc-callout .co-ic svg { width: 22px; height: 22px; color: var(--purple-600); }
.svc-callout h4 { color: var(--ink-900); margin-bottom: 0.22rem; font-size: 1.04rem; }
.svc-callout p  { color: var(--ink-700); font-size: 0.92rem; margin: 0; }

.process-steps { display: grid; gap: 0.85rem; counter-reset: step; }
.process-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 1rem 1.2rem; box-shadow: var(--shadow-xs);
}
.process-step .ps-num {
  counter-increment: step; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-family: var(--font-serif); font-size: 1.15rem;
}
.process-step .ps-num::before { content: counter(step); }
.process-step strong { display: block; color: var(--ink-900); margin-bottom: 0.12rem; }
.process-step p { font-size: 0.9rem; color: var(--ink-600); margin: 0; }

/* Sticky sidebar */
.svc-aside { position: sticky; top: calc(var(--nav-h) + 1.2rem); display: grid; gap: 1.1rem; }
.aside-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.aside-card.is-brand { background: var(--grad-deep); color: #fff; border: none; }
.aside-card.is-brand h3 { color: #fff; font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: 0.35rem; }
.aside-card.is-brand p  { color: rgba(255,255,255,0.83); font-size: 0.92rem; margin-bottom: 1.1rem; }
.aside-card.is-brand .btn { width: 100%; margin-bottom: 0.65rem; }
.aside-card h3 { font-size: 1.1rem; margin-bottom: 0.9rem; }
.aside-incl { display: grid; gap: 0.65rem; }
.aside-incl li { display: flex; gap: 0.55rem; align-items: center; font-size: 0.9rem; color: var(--ink-700); }
.aside-incl li svg { width: 16px; height: 16px; color: var(--teal-500); flex-shrink: 0; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.related-card {
  display: flex; gap: 0.85rem; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 0.95rem 1.05rem;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--purple-200); }
.related-card .rc-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-100); display: grid; place-items: center; flex-shrink: 0; }
.related-card .rc-ic svg { width: 20px; height: 20px; color: var(--teal-600); }
.related-card strong { font-size: 0.93rem; color: var(--ink-900); line-height: 1.2; }

/* FAQ */
.faq { display: grid; gap: 0.7rem; margin-top: 1rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; display: flex; justify-content: space-between;
  gap: 1rem; align-items: center; padding: 1.1rem 1.25rem;
  font-weight: 600; color: var(--ink-900); font-size: 0.99rem;
}
.faq-q svg { width: 20px; height: 20px; color: var(--purple-600); transition: transform var(--t-med) var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease); }
.faq-a-inner { padding: 0 1.25rem 1.1rem; color: var(--ink-600); line-height: 1.7; }

/* ------------------------------------------------------------------ */
/* 16. FOOTER                                                          */
/* ------------------------------------------------------------------ */
.footer {
  background: var(--grad-deep); color: rgba(255,255,255,0.76);
  padding-top: clamp(3rem, 5.5vw, 4.5rem);
  position: relative; overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0;
  height: 1px; background: var(--grad-line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.2rem; padding-bottom: 2.5rem;
}
.footer .brand-text .b-name { color: #fff; }
.footer .brand-text .b-sub  { color: var(--teal-300); }
.footer-name {
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
  margin-top: 0.6rem; letter-spacing: 0.02em; line-height: 1.5;
  max-width: 24ch;
}
.footer-about { margin-top: 0.9rem; font-size: 0.92rem; line-height: 1.7; max-width: 32ch; }
.footer-social { display: flex; gap: 0.55rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08); display: grid; place-items: center;
  transition: background var(--t-fast), transform var(--t-fast);
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover { background: var(--teal-500); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.98rem; margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--teal-300); }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--teal-300); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.83rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a:hover { color: var(--teal-300); }
.footer-disclaimer {
  font-size: 0.76rem; color: rgba(255,255,255,0.42);
  padding-bottom: 1.4rem; max-width: 70ch; line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* 17. INTERIOR PAGE HERO                                              */
/* ------------------------------------------------------------------ */
.page-hero {
  background: var(--grad-hero); color: #fff; position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 4rem);
  isolation: isolate; text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 110% at 85% 0%, rgba(43,185,204,0.3), transparent 55%),
    radial-gradient(70% 90% at 10% 100%, rgba(139,92,199,0.26), transparent 55%);
}
.page-hero .crumbs {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.84rem; color: rgba(255,255,255,0.7);
  margin-bottom: 1.2rem; flex-wrap: wrap; justify-content: center;
}
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs svg { width: 13px; height: 13px; opacity: 0.65; }
.page-hero .eyebrow { color: var(--teal-300); justify-content: center; }
.page-hero .eyebrow::before, .page-hero .eyebrow.center::after { background: var(--teal-300); }
.page-hero h1 { font-family: var(--font-serif); color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.5rem); line-height: 1.05; margin: 0.75rem 0 0.9rem; font-weight: 600; }
.page-hero h1 .accent { display: block; font-family: var(--font-script); font-weight: 400; color: var(--teal-300); font-size: clamp(1.9rem, 4.2vw, 3rem); }
.page-hero .lead { color: rgba(255,255,255,0.85); max-width: 58ch; margin-inline: auto; }
.page-hero .script-tag { font-family: var(--font-script); color: var(--teal-300); font-size: clamp(1.5rem,3.2vw,2.2rem); line-height: 1; }

/* ------------------------------------------------------------------ */
/* 18. FLOATING ELEMENTS                                               */
/* ------------------------------------------------------------------ */
.float-wa {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37,211,102,0.42);
  transition: transform var(--t-med) var(--ease);
  animation: wa-pulse 2.8s infinite;
}
.float-wa:hover { transform: scale(1.08) translateY(-2px); }
.float-wa svg { width: 30px; height: 30px; color: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37,211,102,0.42), 0 0 0 0 rgba(37,211,102,0.42); }
  50%       { box-shadow: 0 10px 28px rgba(37,211,102,0.42), 0 0 0 12px rgba(37,211,102,0); }
}

.back-top {
  position: fixed; bottom: 22px; left: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--t-med) var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; color: var(--purple-600); }
.back-top:hover { background: var(--purple-50); }

/* ------------------------------------------------------------------ */
/* 19. REVEAL ANIMATIONS                                               */
/* ------------------------------------------------------------------ */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }
.reveal-d4 { transition-delay: 0.28s; }

/* ------------------------------------------------------------------ */
/* 20. RESPONSIVE                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-body { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .nav-toggle { display: grid; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
  .about-stat-card { right: 10px; bottom: -20px; }
  .svc-hero-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .trust-item { justify-content: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .about-stat-card { position: static; margin-top: 1rem; }
  .about-figure { aspect-ratio: 4/4; }
  .float-wa { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .back-top  { bottom: 16px; left: 16px; }
  .hero h1  { font-size: 2.4rem; }
  .hss-item { font-size: 0.8rem; }
}

/* ------------------------------------------------------------------ */
/* 21. TRUSTED BY SECTION                                              */
/* ------------------------------------------------------------------ */
.trusted-by {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  margin-top: 0;
  z-index: 1;
}

/* Subtle gradient orb in background */
.trusted-by::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(91,42,134,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.tb-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.tb-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 600;
  color: var(--ink-900);
  margin: 0.55rem 0 0.75rem;
  line-height: 1.2;
}

.tb-sub {
  color: var(--ink-500);
  font-size: 0.94rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Stats grid */
.tb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.tb-stat {
  text-align: center;
  padding: 1.6rem 1rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}

.tb-stat::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 36px; height: 2px;
  background: var(--grad-text);
  border-radius: var(--r-pill);
  transition: width var(--t-med) var(--ease);
}

.tb-stat:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.tb-stat:hover::after { width: 60px; }

.tb-stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.tb-stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  line-height: 1.35;
}

/* Logo ribbon */
.ribbon-outer {
  overflow: hidden;
  position: relative;
  padding: 0.6rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%);
}

.ribbon-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ribbon-scroll 90s linear infinite;
  will-change: transform;
  -webkit-font-smoothing: antialiased;
}

.ribbon-outer:hover .ribbon-track,
.ribbon-outer:focus-within .ribbon-track {
  animation-play-state: paused;
}

@keyframes ribbon-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ribbon-item {
  flex-shrink: 0;
  padding: 1.4rem 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: none;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

/* logo card chip */
.ribbon-item::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(91,42,134,0.1);
  box-shadow: 0 4px 18px rgba(63,29,99,0.07);
  transition: box-shadow 300ms ease-out, border-color 300ms ease-out, transform 300ms ease-out;
}

.ribbon-item:hover::before {
  box-shadow: 0 8px 32px rgba(91,42,134,0.18);
  border-color: rgba(91,42,134,0.3);
  transform: translateY(-3px) scale(1.03);
}

.ribbon-item img {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  position: relative; z-index: 1;
  filter: grayscale(0%) opacity(1) brightness(0.75);
  transition: filter 300ms ease-out, transform 300ms ease-out;
  -webkit-user-drag: none;
}

.ribbon-item:hover img {
  filter: grayscale(0%) opacity(1) brightness(1);
  transform: scale(1.06);
}

/* Responsive */
@media (max-width: 900px) {
  .tb-stats { grid-template-columns: repeat(2, 1fr); }
  .ribbon-item { padding: 0.9rem 2rem; }
  .ribbon-item img { height: 42px; }
}

@media (max-width: 560px) {
  .ribbon-item { padding: 0.8rem 1.5rem; }
  .ribbon-item img { height: 36px; max-width: 120px; }
}

/* ------------------------------------------------------------------ */
/* 22. REDUCED MOTION                                                  */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hss-item { transition: none; }
}
