/* ==========================================================================
   EaseFlow Solutions static marketing site styles
   ========================================================================== */

:root {
  --color-navy-900: #0a1830;
  --color-navy-800: #0f2447;
  --color-royal-700: #1f3fc4;
  --color-royal-600: #2952e0;
  --color-royal-500: #2f5df5;
  --color-royal-400: #6f8dff;
  --color-royal-100: #e8eeff;
  --color-hero-blue: #5f7ff5;
  --color-indigo-500: #5b4fe8;
  --color-indigo-100: #ece9fd;
  --color-teal-500: #0d9c8c;
  --color-teal-700: #087267;
  --color-teal-100: #dff5f1;
  --color-white: #ffffff;
  --color-bg-soft: #f6f8fc;
  --color-text: #1a2233;
  --color-text-muted: #5b6478;
  --color-border: #e2e7f1;

  --shadow-sm: 0 1px 2px rgba(15, 36, 71, 0.07);
  --shadow-md: 0 10px 28px rgba(15, 36, 71, 0.1);
  --shadow-lg: 0 24px 56px rgba(10, 24, 48, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --container-width: 1160px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --transition-fast: 150ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

/* -------------------------------------------------------------------------
   Utilities
   ------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 1000;
  background: var(--color-navy-900);
  color: var(--color-white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 20px;
}

:focus-visible {
  outline: 3px solid var(--color-royal-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.text-accent {
  background: linear-gradient(100deg, var(--color-hero-blue), var(--color-teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-royal-600), var(--color-royal-500));
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-navy-800);
  border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-royal-500);
  color: var(--color-royal-600);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--color-white);
}

.btn-lg {
  min-height: 48px;
  padding: 13px 26px;
  font-size: 1rem;
}

.btn-compact {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.icon-wa {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.link-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-navy-800);
  padding: 12px 4px;
}

.link-explore svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.link-explore:hover {
  color: var(--color-royal-600);
}

.link-explore:hover svg {
  transform: translateX(3px);
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-navy-900);
  min-width: 0;
}

.brand-mark {
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-navy-800);
  flex: 1;
  justify-content: center;
}

.site-nav a {
  padding: 6px 2px;
  transition: color var(--transition-fast);
}

.site-nav a:hover {
  color: var(--color-royal-600);
}

.header-cta {
  flex-shrink: 0;
  min-height: 44px;
}

/* Icon-only on the narrowest phones so the brand name never has to
   truncate; still a full-strength tap target, just more compact. */
@media (max-width: 379px) {
  .header-cta {
    padding-inline: 10px;
    gap: 0;
    min-width: 44px;
  }

  .header-cta span {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-900);
  padding-block: 64px 56px;
  isolation: isolate;
}

.hero-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px 420px at 14% -10%, rgba(47, 93, 245, 0.55), transparent 60%),
    radial-gradient(520px 420px at 100% 0%, rgba(13, 156, 140, 0.4), transparent 55%),
    radial-gradient(720px 560px at 50% 120%, rgba(91, 79, 232, 0.35), transparent 60%),
    linear-gradient(180deg, var(--color-navy-900) 0%, #0c1f3e 100%);
}

.hero-decor::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(560px 420px at 20% 10%, black, transparent 75%);
}

.hero-inner {
  max-width: 700px;
}

.hero .eyebrow {
  color: var(--color-royal-400);
}

.hero-lead,
.hero .value-props {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-royal-600);
  margin-bottom: 10px;
}

.eyebrow-center {
  text-align: center;
}

.hero-inner h1 {
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 1.12;
  color: var(--color-white);
  letter-spacing: -0.01em;
  font-weight: 800;
}

.hero-lead {
  margin-top: 18px;
  font-size: 1.06rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 28px;
}

.hero-actions .link-explore {
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions .link-explore:hover {
  color: var(--color-white);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
}

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  flex-shrink: 0;
}

.chip-icon svg {
  width: 15px;
  height: 15px;
}

/* Brief, tasteful entrance for hero content on load -- content is fully
   present in the DOM; only opacity/position are eased in, each step capped
   well under 200ms delay so nothing reads as "waiting" for content. */
.hero-reveal {
  animation: heroFadeUp 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-reveal-1 { animation-delay: 40ms; }
.hero-reveal-2 { animation-delay: 90ms; }
.hero-reveal-3 { animation-delay: 140ms; }
.hero-reveal-4 { animation-delay: 190ms; }

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------------------
   Statement band
   ------------------------------------------------------------------------- */
.statement {
  padding-block: 40px;
  background: var(--color-white);
}

.statement-text {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  color: var(--color-navy-800);
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   Generic section wrapper
   ------------------------------------------------------------------------- */
.section {
  padding-block: 48px;
}

.section-soft {
  background: var(--color-bg-soft);
}

.section-intro {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.section-heading {
  text-align: center;
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  color: var(--color-navy-900);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-heading-left {
  text-align: left;
}

.section-lead {
  margin-top: 10px;
  text-align: center;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------
   Service cards
   ------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent-1), var(--card-accent-2));
}

.service-card--bms {
  --card-accent-1: var(--color-royal-600);
  --card-accent-2: var(--color-royal-400);
  --card-text-accent: var(--color-royal-600);
}

.service-card--ams {
  --card-accent-1: var(--color-indigo-500);
  --card-accent-2: #9b8ff2;
  --card-text-accent: var(--color-indigo-500);
}

.service-card--presence {
  --card-accent-1: var(--color-teal-500);
  --card-accent-2: #4fd3c4;
  --card-text-accent: var(--color-teal-700);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--card-accent-1), var(--card-accent-2));
  color: var(--color-white);
  flex-shrink: 0;
  box-shadow: 0 8px 18px -6px var(--card-accent-1);
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-available {
  background: #e4f7ec;
  color: #1a7a45;
}

.badge-progress {
  background: var(--color-royal-100);
  color: var(--color-royal-600);
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--color-navy-900);
  margin-bottom: 4px;
  font-weight: 800;
}

.service-tagline {
  font-weight: 700;
  color: var(--card-text-accent);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.service-copy {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.card-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 12px;
  margin-top: 16px;
}

.card-highlights li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.81rem;
  color: var(--color-text-muted);
  font-weight: 500;
  min-width: 0;
}

@media (min-width: 420px) {
  .card-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

.card-highlights li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--card-accent-1);
  flex-shrink: 0;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--card-text-accent);
  transition: gap var(--transition-fast);
}

.card-cta svg {
  width: 15px;
  height: 15px;
}

.card-cta:hover {
  gap: 9px;
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Local Business Online Presence detail
   ------------------------------------------------------------------------- */
.section-presence {
  background: linear-gradient(180deg, var(--color-bg-soft), var(--color-white));
}

.presence-inner {
  display: grid;
  gap: 32px;
}

.presence-lead {
  margin-top: 14px;
  color: var(--color-text-muted);
  max-width: 52ch;
}

.presence-copy .btn {
  margin-top: 24px;
}

.presence-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
}

.presence-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--color-text);
  font-weight: 600;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}

.presence-benefits .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-teal-100);
  color: var(--color-teal-500);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .presence-benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .presence-inner {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }
}

/* -------------------------------------------------------------------------
   Why EaseFlow
   ------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  text-align: center;
}

.why-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-royal-100);
  color: var(--color-royal-600);
  margin-bottom: 4px;
}

.why-icon svg {
  width: 21px;
  height: 21px;
}

.why-title {
  font-weight: 700;
  color: var(--color-navy-900);
  font-size: 0.98rem;
}

.why-text {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  max-width: 24ch;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Closing CTA band
   ------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-royal-700) 130%);
  padding-block: 52px;
}

.cta-band-inner {
  text-align: center;
}

.cta-band h2 {
  color: var(--color-white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cta-band p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin-inline: auto;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

/* -------------------------------------------------------------------------
   Third-party disclosure (small, unobtrusive)
   ------------------------------------------------------------------------- */
.disclosure {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding-block: 28px;
}

.disclosure-heading {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-navy-800);
  margin-bottom: 10px;
}

.disclosure p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 76ch;
}

.disclosure p + p {
  margin-top: 10px;
}

.disclosure a {
  color: var(--color-royal-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* -------------------------------------------------------------------------
   Footer strip
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-navy-900);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  padding-block: 20px;
  font-size: 0.86rem;
  text-align: center;
}

.footer-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-brand {
  font-weight: 700;
  color: var(--color-white);
}

.footer-domain {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
  display: inline-block;
  padding: 4px 2px;
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.55);
}

/* -------------------------------------------------------------------------
   Responsive breakpoints
   ------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 32px;
  }

  .hero {
    padding-block: 84px 72px;
  }

  .section {
    padding-block: 64px;
  }
}

/* -------------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
