/* ==========================================================================
   Bonos Carbono Colombia - Exact Design System from bonoscarbonocolombia.netlify.app
   Strictly NO WhatsApp references - Full Elementor Editor Visibility
   ========================================================================== */

:root {
  --forest-900: #14532d;
  --forest-700: #15803d;
  --emerald: #22c55e;
  --emerald-soft: #dcfce7;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body, .elementor {
  margin: 0;
  font-family: var(--font) !important;
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-700);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--emerald);
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  margin-top: 0.6rem;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-head p {
  color: var(--slate-500);
  font-size: 1.075rem;
  margin: 0.9rem 0 0;
}

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

.center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--emerald);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--emerald);
  color: var(--slate-900) !important;
  box-shadow: 0 8px 20px -8px rgba(34, 197, 94, 0.7);
}

.btn-primary:hover {
  background: #16a34a;
  color: var(--white) !important;
}

.btn-dark {
  background: var(--forest-900);
  color: var(--white) !important;
}

.btn-dark:hover {
  background: var(--forest-700);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white) !important;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Header (Sticky with backdrop blur)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--slate-200);
  width: 100%;
}

body.elementor-editor-active .header,
body.elementor-editor-preview .header {
  position: relative !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--forest-900), var(--forest-700));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--forest-900);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--slate-500);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--slate-700);
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width 0.2s;
}

.nav-links a:hover {
  color: var(--forest-900);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav .btn {
  padding: 0.7rem 1.2rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--slate-900);
  position: relative;
  transition: 0.2s;
}

.menu-toggle span::before, .menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-open .menu-toggle span {
  background: transparent;
}

.menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(34, 197, 94, 0.28), transparent 60%),
              linear-gradient(160deg, var(--slate-900) 0%, #0b2a1a 45%, var(--forest-900) 100%);
  color: var(--white);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
  width: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero .eyebrow {
  color: #86efac;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  font-weight: 800;
  margin: 1rem 0 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--emerald);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 0 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat strong span {
  color: var(--emerald);
}

.stat small {
  display: block;
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.35;
  margin-top: 0.2rem;
}

.trust-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.trust-card header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.shield {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-card h3 {
  font-size: 1.15rem;
}

.trust-card header p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.trust-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--emerald);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-list b {
  display: block;
  font-size: 0.98rem;
}

.trust-list span {
  color: #94a3b8;
  font-size: 0.88rem;
}

.trust-foot {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  font-size: 0.86rem;
  color: #bbf7d0;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.grid-3,
.elementor-element.grid-3,
.elementor-element.grid-3 > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  width: 100% !important;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #bbf7d0;
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--emerald-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.card p {
  color: var(--slate-500);
  margin: 0;
}

.card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.card ul li {
  font-size: 0.92rem;
  color: var(--slate-700);
  padding-left: 1.4rem;
  position: relative;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
}

/* ==========================================================================
   Requirements Section
   ========================================================================== */
.req-section {
  background: var(--white) !important;
  border-block: 1px solid var(--slate-200) !important;
  width: 100%;
}

.req-wrap,
.elementor-element.req-wrap,
.elementor-element.req-wrap > .e-con-inner {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr !important;
  gap: clamp(2rem, 5vw, 4rem) !important;
  align-items: start !important;
  width: min(1180px, 100% - 2.5rem) !important;
  margin-inline: auto !important;
}

.req-aside {
  position: sticky;
  top: 110px;
}

.req-aside .note {
  margin-top: 2rem;
  padding: 1.4rem;
  border-left: 4px solid var(--emerald);
  background: var(--slate-50);
  border-radius: 0 12px 12px 0;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.req-grid,
.elementor-element.req-grid,
.elementor-element.req-grid > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  width: 100% !important;
}

.req {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.6rem;
  background: var(--slate-50);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.req::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-700), var(--emerald));
}

.req .num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--forest-700);
  letter-spacing: 0.1em;
}

.req h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0 0.5rem;
}

.req p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.93rem;
}

.req .tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--forest-900);
}

/* ==========================================================================
   Steps Section
   ========================================================================== */
.steps-section {
  background: linear-gradient(180deg, var(--forest-900), #0f3d22) !important;
  color: var(--white) !important;
  width: 100%;
}

.steps-section .eyebrow {
  color: #86efac;
}

.steps-section .section-head p {
  color: #bbf7d0;
}

.steps,
.elementor-element.steps,
.elementor-element.steps > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  counter-reset: s;
  position: relative;
  width: 100% !important;
}

.step {
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 100%;
}

.step-num {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--emerald);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.step p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.93rem;
}

.step .time {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3.1rem;
  right: -1.05rem;
  width: 0.85rem;
  height: 2px;
  background: var(--emerald);
  z-index: 1;
}

/* ==========================================================================
   Form Section
   ========================================================================== */
.form-section {
  background: var(--slate-50) !important;
  width: 100%;
}

.form-wrap,
.elementor-element.form-wrap,
.elementor-element.form-wrap > .e-con-inner {
  display: grid !important;
  grid-template-columns: 0.8fr 1.2fr !important;
  gap: clamp(2rem, 5vw, 4rem) !important;
  align-items: start !important;
  width: min(1180px, 100% - 2.5rem) !important;
  margin-inline: auto !important;
}

.form-intro ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.form-intro li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--slate-700);
}

.form-intro li .check {
  background: var(--forest-700);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.4rem;
}

.form-card > p {
  color: var(--slate-500);
  margin: 0.4rem 0 1.8rem;
  font-size: 0.95rem;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

label, .legend {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--slate-700);
}

label .req-mark {
  color: #dc2626;
}

input, select {
  font: inherit;
  font-size: 0.97rem;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  background: var(--slate-50);
  color: var(--slate-900);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  min-height: 48px;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--emerald);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

input[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: #dc2626;
  background: #fef2f2;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.opt {
  position: relative;
}

.opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
}

.opt label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  height: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  cursor: pointer;
  background: var(--slate-50);
  transition: 0.15s;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--slate-900);
}

.opt label small {
  font-weight: 500;
  color: var(--slate-500);
  font-size: 0.8rem;
}

.opt input:checked + label {
  border-color: var(--forest-700);
  background: var(--emerald-soft);
  box-shadow: inset 0 0 0 1px var(--forest-700);
}

.opt input:focus-visible + label {
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

.consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--forest-700);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.form-actions .btn {
  flex: 1 1 220px;
}

.error-msg {
  color: #dc2626;
  font-size: 0.88rem;
  margin: 1rem 0 0;
  display: none;
}

.error-msg.show {
  display: block;
}

.success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.success.show {
  display: block;
}

.success .big-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--emerald-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}

.success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.success p {
  color: var(--slate-500);
  max-width: 440px;
  margin: 0 auto 1.5rem;
}

.success .ref {
  display: inline-block;
  font-family: ui-monospace, Menlo, monospace;
  background: var(--slate-50);
  border: 1px dashed var(--slate-200);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
  width: 100%;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: #86efac;
  box-shadow: var(--shadow);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 1.03rem;
  text-align: left;
  color: var(--slate-900);
  cursor: pointer;
}

.faq-q:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: -3px;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--emerald-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--emerald);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  margin: 0;
  padding: 0 1.5rem 1.4rem;
  color: var(--slate-500);
}

/* ==========================================================================
   CTA Band (Pre-footer)
   ========================================================================== */
.cta-band {
  background: var(--white) !important;
  border-top: 1px solid var(--slate-200) !important;
  width: 100%;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
  border-radius: 20px;
  background: linear-gradient(120deg, var(--forest-900), var(--forest-700));
  color: var(--white);
  width: 100%;
}

.cta-inner h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin: 0;
}

.cta-inner p {
  margin: 0.5rem 0 0;
  color: #bbf7d0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--slate-900);
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
  width: 100%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1e293b;
}

.footer .brand-name {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--emerald);
}

.confid {
  margin: 1.75rem 0;
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 900px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.footer-bottom a {
  color: var(--emerald);
  text-decoration: none;
  font-weight: 600;
}

/* ==========================================================================
   Scroll Reveal Animations
   Default is visible so nothing EVER disappears in editor or without JS
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: none;
}

/* On live site when JS is active, hide elements before they enter viewport */
body:not(.elementor-editor-active):not(.elementor-editor-preview).has-reveal-anim .reveal:not(.in) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body:not(.elementor-editor-active):not(.elementor-editor-preview).has-reveal-anim .reveal.in {
  opacity: 1;
  transform: none;
}

/* Elementor Editor & Preview: FORCE ALL ELEMENTS 100% VISIBLE */
body.elementor-editor-active .reveal,
body.elementor-editor-preview .reveal,
.elementor-editor-active .reveal,
.elementor-editor-preview .reveal,
.elementor-edit-area-active .reveal,
.elementor-editor-active [class*="reveal"],
.elementor-editor-preview [class*="reveal"],
body.elementor-editor-active article,
body.elementor-editor-preview article,
body.elementor-editor-active .section-head,
body.elementor-editor-preview .section-head,
body.elementor-editor-active .card,
body.elementor-editor-preview .card,
body.elementor-editor-active .req,
body.elementor-editor-preview .req,
body.elementor-editor-active .step,
body.elementor-editor-preview .step,
body.elementor-editor-active .faq-item,
body.elementor-editor-preview .faq-item,
body.elementor-editor-active .form-card,
body.elementor-editor-preview .form-card,
body.elementor-editor-active .cta-inner,
body.elementor-editor-preview .cta-inner {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints (Matching Netlify)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .req-wrap,
  .elementor-element.req-wrap,
  .elementor-element.req-wrap > .e-con-inner,
  .form-wrap,
  .elementor-element.form-wrap,
  .elementor-element.form-wrap > .e-con-inner {
    grid-template-columns: 1fr !important;
  }
  .req-aside {
    position: static;
  }
  .steps,
  .elementor-element.steps,
  .elementor-element.steps > .e-con-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .trust-card {
    max-width: 560px;
  }
}

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: var(--white);
    padding: 1.25rem 1.25rem 1.75rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s;
  }
  .menu-open .nav {
    transform: none;
    visibility: visible;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
  }
  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--slate-200);
  }
  .nav-links a::after {
    display: none;
  }
  .grid-3,
  .elementor-element.grid-3,
  .elementor-element.grid-3 > .e-con-inner {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .brand-sub {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .stat {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
  }
  .stat small {
    margin: 0;
  }
  .req-grid,
  .elementor-element.req-grid,
  .elementor-element.req-grid > .e-con-inner,
  .fields,
  .options,
  .steps,
  .elementor-element.steps,
  .elementor-element.steps > .e-con-inner {
    grid-template-columns: 1fr !important;
  }
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .cta-inner .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Elementor Container Overrides
   Ensures custom sections inside Elementor stretch 100% full width
   ========================================================================== */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner {
  max-width: 100% !important;
  padding: 0 !important;
}

.elementor-element.e-con-full,
.elementor-element.e-con-boxed {
  --padding-top: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  --padding-right: 0px !important;
  --gap: 0px !important;
}

.elementor-widget-bcc_header,
.elementor-widget-bcc_hero_section,
.elementor-widget-bcc_section_head,
.elementor-widget-bcc_faq,
.elementor-widget-bcc_banner_prefooter,
.elementor-widget-bcc_footer {
  width: 100% !important;
}

.grid-3 > .elementor-widget,
.grid-3 > .e-con-inner > .elementor-widget,
.req-grid > .elementor-widget,
.req-grid > .e-con-inner > .elementor-widget,
.steps > .elementor-widget,
.steps > .e-con-inner > .elementor-widget {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
