/* =====================================================================
   Accounting Hub — stylesheet
   Plain CSS, no framework. Organised top-to-bottom:
     1. Design tokens (colours, fonts) as CSS variables
     2. Reset & base elements
     3. Layout helpers (container, section)
     4. Reusable components (buttons, eyebrow, cards, CTA band)
     5. Header & navigation
     6. Footer
     7. Page-specific blocks (hero, dashboard mock, service mocks…)
     8. Scroll-reveal animation + keyframes
     9. Responsive tweaks
   The site is right-to-left (Arabic); `dir="rtl"` lives on <html>.
   ===================================================================== */

/* ----------------------------------------------------------------- *
   1. Design tokens
 * ----------------------------------------------------------------- */
:root {
  /* Brand */
  --navy:        #0d1f2c;   /* primary text & dark backgrounds */
  --navy-deep:   #0a1922;   /* footer */
  --blue:        #1f9fd8;   /* primary accent */
  --blue-deep:   #0f6f9f;
  --blue-soft:   #eaf6fc;
  --blue-light:  #5cc0ea;
  --green:       #1c9c46;   /* secondary accent */
  --green-deep:  #137734;
  --green-soft:  #e9f5ed;

  /* Text */
  --text:        #0d1f2c;
  --text-soft:   #42596b;
  --text-muted:  #5a7184;
  --text-faint:  #9aa9b6;

  /* Surfaces & lines */
  --bg:          #ffffff;
  --bg-tint:     #f5f9fc;
  --bg-hover:    #f1f6fa;
  --border:      #e7eef4;
  --border-soft: #dde7ee;

  /* Footer text shades */
  --foot-text:   #aebfcc;
  --foot-faint:  #8da0af;
  --foot-label:  #5f7686;

  /* Gradients used in several places */
  --grad-blue:  linear-gradient(120deg, #1f9fd8, #0f6f9f);
  --grad-brand: linear-gradient(95deg, #1f9fd8, #1c9c46);
  --grad-dark:  linear-gradient(135deg, #0b2433 0%, #0d1f2c 55%, #0a2f24 130%);

  --font: 'IBM Plex Sans Arabic', system-ui, -apple-system, Segoe UI, sans-serif;
  --radius: 16px;
  --header-h: 74px;
  --maxw: 1240px;
}

/* ----------------------------------------------------------------- *
   2. Reset & base
 * ----------------------------------------------------------------- */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

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

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

/* Keep phone numbers / emails reading left-to-right inside an RTL page */
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ----------------------------------------------------------------- *
   3. Layout helpers
 * ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 32px);
}
.container.lg { max-width: 1180px; }
.container.md { max-width: 1100px; }
.container.sm { max-width: 1000px; }
.container.xs { max-width: 880px; }

.section { padding-block: clamp(64px, 9vw, 118px); }
.section.tight  { padding-block: clamp(40px, 6vw, 60px); }
.section.tint   { background: var(--bg-tint); border-top: 1px solid var(--border); }

/* The page sits below the fixed header */
main { padding-top: var(--header-h); }

/* A simple responsive grid: auto-fit columns that never go below `min` */
.grid { display: grid; gap: 20px; }
.grid.auto    { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid.auto-sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.grid.auto-lg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* ----------------------------------------------------------------- *
   4. Reusable components
 * ----------------------------------------------------------------- */

/* Small uppercase label that sits above headings */
.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-deep);
}
.eyebrow.green { color: var(--green-deep); }
.eyebrow.light { color: var(--blue-light); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.015em;
}
.section-head p {
  margin-top: 18px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--text-soft);
}

/* Gradient text used inside headings */
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .3s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn .arrow { display: inline-block; }

.btn.primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 18px 38px -16px rgba(15, 111, 159, .7);
}
.btn.dark  { background: var(--navy); color: #fff; box-shadow: 0 8px 24px -12px rgba(13, 31, 44, .5); }
.btn.light { background: #fff; color: var(--navy); }
.btn.ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--border-soft);
}
.btn.ghost:hover { border-color: var(--blue); }

/* Cards ---------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card.tint { background: var(--bg-tint); }
.card.lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px -32px rgba(13, 31, 44, .35);
}
.card h3 { font-size: 19px; font-weight: 600; }
.card p  { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* A numbered card (Why us, Values, Odoo modules…) */
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-soft), var(--green-soft));
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-deep);
  flex-shrink: 0;
}

/* Contact CTA band — reused on most pages -------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--grad-dark);
  padding: clamp(40px, 5vw, 60px) clamp(26px, 5vw, 56px);
  color: #fff;
}
/* dotted texture + corner glow shared by all dark panels */
.dark-panel-dots::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .4;
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  top: -120px;
  inset-inline-start: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 159, 216, .22), transparent 66%);
  pointer-events: none;
}
.cta-band .inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.cta-contacts { margin-top: 24px; display: flex; gap: 26px; flex-wrap: wrap; }
.cta-contacts a {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  color: #cdd9e3;
  text-decoration: none;
  transition: color .2s ease;
}
.cta-contacts a:hover { color: #fff; }

/* ----------------------------------------------------------------- *
   5. Header & navigation
 * ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s ease, border-color .4s ease;
}
/* Added by JS once the page is scrolled */
.site-header.scrolled {
  box-shadow: 0 10px 40px -20px rgba(13, 31, 44, .3);
  border-bottom-color: rgba(221, 231, 238, .95);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--header-h);
  padding-inline: clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo img { height: clamp(26px, 3.4vw, 30px); width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a,
.nav .dropdown-toggle {
  position: relative;
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy);
  padding: 9px 15px;
  border: none;
  background: transparent;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.nav a:hover,
.nav .dropdown-toggle:hover { background: var(--bg-hover); color: var(--blue-deep); }

/* underline marker for the current page */
.nav a.current::after,
.dropdown.current .dropdown-toggle::after {
  content: "";
  position: absolute;
  bottom: 2px;
  inset-inline: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; }
.dropdown-toggle .chev {
  font-size: 9px;
  color: #6b8090;
  transition: transform .25s ease;
}
.dropdown.open .dropdown-toggle .chev { transform: rotate(180deg); }

/* Services dropdown panel */
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  inset-inline-end: 0;
  width: 316px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 64px -28px rgba(13, 31, 44, .42);
  padding: 8px;
  z-index: 80;
  animation: dropdown-in .2s ease;
}
/* invisible bridge so the panel doesn't close in the gap below the toggle */
.dropdown-panel::before {
  content: "";
  position: absolute;
  top: -18px; left: 0; right: 0;
  height: 18px;
}
.dropdown[hidden],
.dropdown-panel[hidden] { display: none; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background .2s ease;
}
.dropdown-item:hover { background: var(--blue-soft); }
.dropdown-item.green:hover { background: var(--green-soft); }
.dropdown-item .ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--blue-soft), #fff);
  border: 1px solid var(--blue-soft);
}
.dropdown-item.green .ico {
  background: linear-gradient(150deg, var(--green-soft), #fff);
  border-color: var(--green-soft);
}
.dropdown-item span:last-child { font-size: 15px; font-weight: 600; color: var(--navy); }

/* Hamburger (mobile only) */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--navy); }

/* Mobile drop-down menu */
.mobile-menu {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 12px clamp(20px, 4vw, 32px) 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a,
.mobile-menu .m-services-toggle {
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  text-align: start;
  padding: 14px 6px;
  border: none;
  background: transparent;
  border-bottom: 1px solid var(--bg-hover);
  text-decoration: none;
  cursor: pointer;
}
.mobile-menu .m-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mobile-menu .m-services-toggle .chev { font-size: 10px; color: #6b8090; transition: transform .25s ease; }
.mobile-menu .m-services.open + .m-services-toggle,
.m-services-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mobile-menu .m-services {
  display: flex;
  flex-direction: column;
  padding: 6px 4px 10px;
  border-bottom: 1px solid var(--bg-hover);
}
.mobile-menu .m-services[hidden] { display: none; }
.mobile-menu .m-services a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 8px;
  border-radius: 11px;
  text-decoration: none;
}
.mobile-menu .m-services .ico {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--blue-soft), #fff);
  border: 1px solid var(--blue-soft);
}
.mobile-menu .m-services a.green .ico {
  background: linear-gradient(150deg, var(--green-soft), #fff);
  border-color: var(--green-soft);
}
.mobile-menu .m-services span:last-child { font-size: 15.5px; font-weight: 500; color: #39505f; }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }

/* ----------------------------------------------------------------- *
   6. Footer
 * ----------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #cdd9e3;
}
.site-footer .dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .5;
  pointer-events: none;
}
.footer-top {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) clamp(20px, 5vw, 32px) 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(44px, 6vw, 80px);
  justify-content: space-between;
}
.footer-about { flex: 1 1 280px; max-width: 340px; }
.footer-about img { height: 38px; width: auto; margin-bottom: 22px; }
.footer-about p { font-size: 14.5px; line-height: 1.8; color: var(--foot-faint); }
.footer-cols {
  flex: 3 1 540px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(36px, 4vw, 60px);
}
.footer-cols .col-title {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--foot-label);
  font-weight: 600;
  margin-bottom: 24px;
}
.footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-links a {
  width: fit-content;
  font-size: 15px;
  color: var(--foot-text);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 18px; }
.footer-contact a,
.footer-contact .addr {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  color: var(--foot-text);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-contact a:hover { color: #fff; }
.footer-contact .addr { align-items: flex-start; font-size: 13.5px; line-height: 1.7; color: var(--foot-faint); }
.footer-contact svg { flex-shrink: 0; }
.footer-bottom {
  position: relative;
  max-width: var(--maxw);
  margin: clamp(48px, 6vw, 68px) auto 0;
  padding: 28px clamp(20px, 4vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-bottom .copy { font-size: 13.5px; color: #6f8696; }
.footer-bottom .tag  { font-size: 12px; letter-spacing: .06em; color: var(--foot-label); }

/* ----------------------------------------------------------------- *
   7. Page blocks
 * ----------------------------------------------------------------- */

/* Generic page hero (About / Contact / Service / Odoo) */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(110% 90% at 80% -10%, #eaf4fb 0%, #f6f9fb 50%, #fff 88%);
  padding-block: clamp(60px, 8vw, 84px) clamp(36px, 5vw, 50px);
}
.hero .blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(30px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hero p { margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.75; color: var(--text-soft); max-width: 640px; }

/* Home hero (two-column with the dashboard mock).
   `position:relative` + `overflow:hidden` keep the decorative blobs (and the
   floating cards) anchored to and clipped by the section — without them the
   blobs spill past the viewport and cause horizontal scrolling on mobile. */
.home-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 95% at 82% -5%, #eaf4fb 0%, #f4f8fb 40%, #ffffff 78%);
}
.home-hero .container {
  position: relative;
  padding-block: clamp(56px, 7vw, 78px) clamp(70px, 9vw, 100px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 5vw, 54px);
  align-items: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--border-soft);
  padding: 8px 15px;
  border-radius: 999px;
  box-shadow: 0 8px 22px -14px rgba(13, 31, 44, .3);
}
.ping { position: relative; width: 8px; height: 8px; }
.ping .dot, .ping .wave {
  position: absolute; inset: 0; border-radius: 50%; background: var(--green);
}
.ping .wave { animation: ping 2.4s ease-out infinite; }
.home-hero h1 {
  margin-top: 24px;
  font-size: clamp(34px, 4.7vw, 70px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.02em;
}
.home-hero .lead { margin-top: 26px; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.75; color: var(--text-soft); max-width: 540px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { margin-top: 46px; display: flex; gap: clamp(20px, 4vw, 34px); flex-wrap: wrap; }
.hero-stats .num { font-size: 30px; font-weight: 700; line-height: 1; }
.hero-stats .label { margin-top: 6px; font-size: 13.5px; color: #6b8090; }
.hero-stats .divider { width: 1px; background: var(--border-soft); }

/* Dashboard / service mock cards (mostly decorative; styled inline-free) */
.mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 36px 72px -40px rgba(13, 31, 44, .4);
  padding: 22px;
}
.mock-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 22px 44px -22px rgba(13, 31, 44, .32);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Stats band (dark) */
.stats-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.stats-band .container {
  position: relative;
  padding-block: clamp(44px, 6vw, 60px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  text-align: center;
}
.stats-band .num {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(120deg, #5cc0ea, #3fb56a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-band .label { margin-top: 12px; font-size: 15px; color: #9fb3c2; }

/* Services grid on the home page.
   Six-column track: each card spans 2 (→ 3 per row); the 4th and 5th
   span 3 each, so the last row holds two wider cards. */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.services-grid > .service-card { grid-column: span 2; }
.services-grid > .service-card:nth-child(4),
.services-grid > .service-card:nth-child(5) { grid-column: span 3; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 30px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(13, 31, 44, .04);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 38px 66px -34px rgba(13, 31, 44, .42);
}
.service-card.blue:hover  { border-color: var(--blue); }
.service-card.green:hover { border-color: var(--green); }
.service-card .corner {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 104px;
  height: 104px;
  pointer-events: none;
}
.service-card.blue  .corner { background: radial-gradient(circle at top right, var(--blue-soft), transparent 72%); }
.service-card.green .corner { background: radial-gradient(circle at top right, var(--green-soft), transparent 72%); }
.service-card .row { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.service-card .ico {
  width: 56px; height: 56px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.service-card.blue  .ico { background: linear-gradient(150deg, var(--blue-soft), #fff);  border: 1px solid var(--blue-soft);  box-shadow: 0 12px 26px -16px var(--blue); }
.service-card.green .ico { background: linear-gradient(150deg, var(--green-soft), #fff); border: 1px solid var(--green-soft); box-shadow: 0 12px 26px -16px var(--green); }
.service-card:hover .ico { transform: translateY(-5px) scale(1.07); }
.service-card .no { font-size: 13px; font-weight: 700; letter-spacing: .06em; opacity: .5; }
.service-card.blue  .no { color: var(--blue); }
.service-card.green .no { color: var(--green); }
.service-card h3 { position: relative; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.service-card p  { position: relative; margin-top: 11px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.service-card .more {
  position: relative;
  margin-top: auto;
  padding-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  transition: gap .25s ease;
}
.service-card.blue  .more { color: var(--blue-deep); }
.service-card.green .more { color: var(--green-deep); }
.service-card:hover .more { gap: 12px; }
.service-card .more .arrow { display: inline-block; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.service-card:hover .more .arrow { transform: translateX(-6px); }

/* Generic dark feature panel (Odoo teaser, About vision, Service CTA) */
.panel-dark {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--grad-dark);
  padding: clamp(40px, 5vw, 64px) clamp(26px, 5vw, 60px);
  color: #fff;
}
.panel-dark h2 { font-size: clamp(26px, 3.2vw, 44px); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; color: #fff; }
.panel-dark p  { margin-top: 20px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; color: #aebfcc; max-width: 520px; }
.panel-dark .glow {
  position: absolute;
  top: -120px;
  inset-inline-start: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 159, 216, .22), transparent 68%);
  pointer-events: none;
}

.tags { margin-top: 26px; display: flex; gap: 9px; flex-wrap: wrap; }
.tags span {
  font-size: 13.5px;
  color: #cdd9e3;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 8px 14px;
  border-radius: 999px;
}

/* Odoo teaser grid of squares */
.odoo-squares { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.odoo-squares > div { aspect-ratio: 1; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }

/* Service detail: offer / audience / benefit blocks */
.offer-card { display: flex; gap: 18px; }
.offer-card .no {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2ebf1;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.offer-card.blue  .no { color: var(--blue); }
.offer-card.green .no { color: var(--green); }
.offer-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.offer-card p  { margin-top: 9px; font-size: 14.5px; line-height: 1.7; color: var(--text-muted); }

.tinted-panel {
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: clamp(32px, 5vw, 44px) clamp(24px, 5vw, 42px);
}
.tinted-panel.blue  { background: linear-gradient(135deg, var(--blue-soft), var(--bg-tint)); }
.tinted-panel.green { background: linear-gradient(135deg, var(--green-soft), var(--bg-tint)); }
.tinted-panel h2 { font-size: clamp(21px, 2.3vw, 30px); font-weight: 700; }
.tinted-panel p  { margin-top: 16px; font-size: clamp(16px, 1.5vw, 17.5px); line-height: 1.85; color: #39505f; max-width: 880px; }

.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-item .tick {
  flex-shrink: 0;
  margin-top: 3px;
  width: 24px; height: 24px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.check-item.blue  .tick { background: var(--blue-soft); }
.check-item.green .tick { background: var(--green-soft); }
.check-item span:last-child { font-size: 15.5px; line-height: 1.6; color: #39505f; }

.prose-block h2 { font-size: clamp(23px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.01em; }
.prose-block p  { margin-top: 18px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.85; color: #39505f; }

/* Contact page cards */
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(13, 31, 44, .32); }
.contact-card.blue:hover  { border-color: var(--blue); }
.contact-card.green:hover { border-color: var(--green); }
.contact-card .ico {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.contact-card.blue  .ico { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.contact-card.green .ico { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.contact-card .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.contact-card .v { margin-top: 5px; font-size: 19px; font-weight: 600; color: var(--navy); }

/* ----------------------------------------------------------------- *
   8. Scroll-reveal + keyframes
 * ----------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1);
}
[data-reveal].visible { opacity: 1; transform: none; }

@keyframes ping     { 0% { transform: scale(.85); opacity: .55; } 70% { transform: scale(1.4); opacity: 0; } 100% { opacity: 0; } }
@keyframes grow-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes float    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes float2   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(11px); } }
@keyframes dropdown-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.float  { animation: float  5.5s ease-in-out infinite; }
.float2 { animation: float2 6s   ease-in-out infinite; }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------------- *
   9. Responsive
 * ----------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav, .header-actions { display: none; }   /* desktop nav hides */
  .menu-toggle { display: flex; }            /* hamburger shows */

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .services-grid > .service-card,
  .services-grid > .service-card:nth-child(4),
  .services-grid > .service-card:nth-child(5) { grid-column: span 1; }
  .services-grid > .service-card:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid > .service-card:nth-child(5) { grid-column: span 1; }
}
