/*
 Theme Name: Cenvora Child
 Template: blocksy
 Version: 1.7
 Description: Refined mockup match — hero with curved divider, precise typography, icons for features. Includes all assets.
 Author: Cenvora
*/

:root {
  --cenvora-primary: #1662D8;
  --cenvora-accent:  #19A2E8;
  --cenvora-ink:     #0E1A2B;
  --cenvora-surface: #F7FAFF;
}

body { color: var(--cenvora-ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* Header CTA */
.cenvora-cta .button-primary {
  background: var(--cenvora-primary);
  color:#fff; padding:10px 16px; border-radius:10px; text-decoration:none; display:inline-block;
  font-weight: 600;
}
.cenvora-cta .button-primary:hover { background:#0F53B9; }

/* Hero */
.cenvora-hero { 
  position: relative;
  text-align:center; padding: 110px 16px 70px;
  background: #ffffff;
  overflow: hidden;
}
.cenvora-hero::after {
  content: "";
  position: absolute; inset: -40% -20% auto -20%;
  height: 70%;
  background: radial-gradient(900px 320px at 50% 0%, #f1f6ff 0%, rgba(241,246,255,0.0) 70%);
  pointer-events: none;
}
.cenvora-hero .hero-title {
  font-family: Outfit, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(44px, 6.2vw, 68px);
  line-height: 1.08; font-weight: 800; margin: 0 0 14px;
  letter-spacing: -0.015em;
}
.cenvora-hero p { max-width: 720px; margin: 0 auto 24px; font-size: 18px; color:#36445a; }
.cenvora-hero .wp-block-button__link { 
  background: var(--cenvora-primary) !important; 
  color:#fff !important; border-radius:10px; padding:12px 22px;
}

/* Wave divider */
.cenvora-wave { line-height: 0; }
.cenvora-wave svg { display:block; width:100%; height:auto; }

/* Features */
.cenvora-features { padding: 44px 16px 80px; max-width: 1200px; margin: 0 auto; }
.cenvora-features > h2 { font-family: Outfit, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.cenvora-feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.cenvora-card { background:#fff; border:1px solid #e7eefc; border-radius:14px; padding:20px; box-shadow: 0 8px 24px rgba(12, 50, 110, 0.06); text-align:center; }
.cenvora-card h3 { margin: 8px 0 8px; font-family: Outfit, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.cenvora-card p { margin: 0; color:#334; font-size:15px; }
.cenvora-icon { width: 28px; height: 28px; display:inline-block; margin-bottom:8px; }

@media (max-width: 980px) {
  .cenvora-feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cenvora-feature-grid { grid-template-columns: 1fr; }
}

/* Clean header baseline */
header.site-header { border-bottom: 0; box-shadow: none; }

/* ===== v1.6 ===== */
/* Centered feature icons using Font Awesome (solid) */
.cenvora-card {
  position: relative;
  padding: 48px 20px 22px;    /* room for icon */
  text-align: center;
}
.cenvora-card::before {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* solid */
  font-size: 30px;
  line-height: 1;
  color: var(--cenvora-primary);
  content: ""; /* will be set per-icon below */
}
.cenvora-card.icon-check::before { content: "\f058"; }    /* fa-solid fa-circle-check */
.cenvora-card.icon-cycle::before { content: "\f2f1"; }    /* fa-solid fa-arrows-rotate */
.cenvora-card.icon-bolt::before  { content: "\f0e7"; }    /* fa-solid fa-bolt */
.cenvora-card.icon-gear::before  { content: "\f013"; }    /* fa-solid fa-gear */


/* --- Hero gradient glow (restored) --- */
.cenvora-hero {
  position: relative;
  overflow: hidden;
}
.cenvora-hero::before {
  content: "";
  position: absolute;
  right: -340px;
  bottom: -420px;
  width: 1200px;
  height: 1200px;
  background: radial-gradient(closest-side, rgba(22,98,216,0.10) 0%, rgba(22,98,216,0.05) 40%, rgba(22,98,216,0.00) 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-8deg);
  z-index: 0;
}
.cenvora-hero > .wp-block-group__inner-container { position: relative; z-index: 1; }


/* --- Wave divider under hero (restored) --- */