/*
Theme Name: Mi Capital Facil
Theme URI: https://micapitalfacil.com/
Author: Mi Capital Facil
Description: Spanish-first lead generation theme for independent workers and microbusinesses.
Version: 1.2.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: mi-capital-facil
*/

:root {
  --mcf-plum: #3e2551;
  --mcf-plum-dark: #2c173b;
  --mcf-terracotta: #c45136;
  --mcf-terracotta-dark: #a63f29;
  --mcf-marigold: #f2b84b;
  --mcf-cream: #fff8ef;
  --mcf-lilac: #eee7f2;
  --mcf-ink: #25212a;
  --mcf-muted: #625d68;
  --mcf-white: #ffffff;
  --mcf-border: #ded5e3;
  --mcf-shadow: 0 18px 50px rgba(62, 37, 81, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mcf-cream);
  color: var(--mcf-ink);
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: var(--mcf-plum); }
.mcf-wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.mcf-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 239, 0.96);
  border-bottom: 1px solid rgba(62, 37, 81, 0.12);
  backdrop-filter: blur(12px);
}
.mcf-header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mcf-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--mcf-plum); text-decoration: none; font-weight: 900; font-size: 1.15rem; }
.mcf-brand-mark { width: 34px; height: 34px; border-radius: 12px 12px 12px 4px; background: linear-gradient(135deg, var(--mcf-terracotta), var(--mcf-marigold)); box-shadow: 7px 7px 0 var(--mcf-lilac); }
.mcf-nav { display: flex; align-items: center; gap: 20px; font-size: 0.92rem; font-weight: 750; }
.mcf-nav a { text-decoration: none; }
.mcf-language { display: inline-flex; gap: 8px; align-items: center; padding-left: 12px; border-left: 1px solid var(--mcf-border); }
.mcf-lang-button { border: 0; background: transparent; color: var(--mcf-muted); padding: 4px; cursor: pointer; font: inherit; font-weight: 800; }
.mcf-lang-button.is-active { color: var(--mcf-terracotta); text-decoration: underline; text-underline-offset: 4px; }
.mcf-lang-en { display: none !important; }
html[lang="en"] .mcf-lang-es { display: none !important; }
html[lang="en"] .mcf-lang-en { display: inline !important; }

.mcf-hero { position: relative; overflow: hidden; padding: 82px 0 64px; background: linear-gradient(150deg, var(--mcf-plum-dark) 0%, var(--mcf-plum) 72%, #6e3f75 100%); color: white; }
.mcf-hero::before, .mcf-hero::after { content: ""; position: absolute; border-radius: 999px; pointer-events: none; }
.mcf-hero::before { width: 360px; height: 360px; right: -120px; top: -160px; background: rgba(242,184,75,.16); }
.mcf-hero::after { width: 260px; height: 260px; left: -120px; bottom: -180px; border: 46px solid rgba(196,81,54,.24); }
.mcf-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; }
.mcf-eyebrow { display: inline-flex; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #ffe5a9; border-radius: 999px; padding: 7px 13px; font-size: .76rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.mcf-hero h1 { margin: 18px 0 16px; max-width: 760px; font-size: clamp(2.35rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -.05em; }
.mcf-hero p { max-width: 680px; margin: 0 0 28px; color: #eee5f2; font-size: clamp(1rem, 2.2vw, 1.2rem); }
.mcf-hero-panel { background: var(--mcf-cream); color: var(--mcf-ink); border-radius: 28px; padding: 26px; box-shadow: var(--mcf-shadow); }
.mcf-hero .mcf-hero-panel h2 { color: var(--mcf-plum); }
.mcf-hero .mcf-hero-panel p { color: var(--mcf-muted); }
.mcf-mini-list { display: grid; gap: 13px; }
.mcf-mini-item { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.mcf-mini-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--mcf-lilac); color: var(--mcf-plum); font-weight: 900; }

.mcf-section { padding: 72px 0; }
.mcf-section-alt { background: var(--mcf-white); }
.mcf-section-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.mcf-section-heading h2 { margin: 0 0 10px; color: var(--mcf-plum); font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.035em; }
.mcf-section-heading p { margin: 0; color: var(--mcf-muted); }
.mcf-grid-2, .mcf-grid-3 { display: grid; gap: 24px; }
.mcf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mcf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mcf-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--mcf-border); border-radius: 24px; padding: 28px; background: var(--mcf-white); box-shadow: 0 12px 36px rgba(62,37,81,.08); }
.mcf-card-featured { border: 2px solid var(--mcf-terracotta); }
.mcf-card-label { align-self: flex-start; border-radius: 999px; padding: 5px 10px; background: var(--mcf-lilac); color: var(--mcf-plum); font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.mcf-card h2, .mcf-card h3 { margin: 16px 0 8px; color: var(--mcf-plum); line-height: 1.15; }
.mcf-card h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.mcf-card h3 { font-size: 1.35rem; }
.mcf-amount { margin: 3px 0 12px; color: var(--mcf-terracotta); font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1; font-weight: 950; letter-spacing: -.045em; }
.mcf-checks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.mcf-checks li { position: relative; padding-left: 29px; }
.mcf-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #f8dfd7; color: var(--mcf-terracotta-dark); font-weight: 900; font-size: .78rem; }
.mcf-card-actions { margin-top: auto; display: grid; gap: 10px; }
.mcf-button { display: inline-flex; min-height: 50px; justify-content: center; align-items: center; border: 2px solid transparent; border-radius: 999px; padding: 12px 22px; background: var(--mcf-terracotta); color: white; text-decoration: none; text-align: center; font-weight: 900; line-height: 1.2; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.mcf-button:hover, .mcf-button:focus { color: white; background: var(--mcf-terracotta-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(196,81,54,.22); }
.mcf-button-secondary { background: transparent; border-color: var(--mcf-plum); color: var(--mcf-plum); }
.mcf-button-secondary:hover, .mcf-button-secondary:focus { background: var(--mcf-plum); color: white; }
.mcf-button-light { background: var(--mcf-marigold); color: var(--mcf-ink); }
.mcf-button-light:hover, .mcf-button-light:focus { background: #ffd06f; color: var(--mcf-ink); }
.mcf-text-link { display: inline-block; font-weight: 850; text-underline-offset: 4px; }
.mcf-centered-action { margin-top: 26px; text-align: center; }

.mcf-program-hero { padding: 64px 0; background: linear-gradient(140deg, var(--mcf-lilac), var(--mcf-cream)); }
.mcf-program-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, .78fr); gap: 36px; align-items: start; }
.mcf-program-copy h1 { margin: 14px 0; color: var(--mcf-plum); font-size: clamp(2.15rem, 5vw, 3.8rem); line-height: 1.04; letter-spacing: -.045em; }
.mcf-program-copy > p { color: var(--mcf-muted); font-size: 1.08rem; }
.mcf-form-card { background: var(--mcf-white); border: 1px solid var(--mcf-border); border-radius: 26px; padding: 26px; box-shadow: var(--mcf-shadow); }
.mcf-form-card h2 { margin: 0 0 6px; color: var(--mcf-plum); }
.mcf-form-card > p { margin: 0 0 20px; color: var(--mcf-muted); font-size: .92rem; }
.mcf-field { margin-bottom: 14px; }
.mcf-field label { display: block; margin-bottom: 6px; font-weight: 800; font-size: .9rem; }
.mcf-field input, .mcf-field select { width: 100%; min-height: 48px; border: 1px solid #cfc4d5; border-radius: 12px; background: #fff; color: var(--mcf-ink); padding: 10px 12px; font: inherit; }
.mcf-field input:focus, .mcf-field select:focus { outline: 3px solid rgba(242,184,75,.45); border-color: var(--mcf-plum); }
.mcf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mcf-consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; margin: 16px 0; color: var(--mcf-muted); font-size: .78rem; line-height: 1.4; }
.mcf-consent input { margin-top: 3px; }
.mcf-form-note { margin: 10px 0 0; color: var(--mcf-muted); font-size: .76rem; text-align: center; }
.mcf-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mcf-alert { border-radius: 14px; padding: 13px 15px; margin-bottom: 16px; background: #fff2d6; color: #6e4a07; font-size: .9rem; font-weight: 700; }

.mcf-use-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.mcf-use-case { padding: 20px; background: var(--mcf-cream); border: 1px solid var(--mcf-border); border-radius: 18px; }
.mcf-use-case::before { content: "↗"; width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 11px; border-radius: 10px; background: var(--mcf-lilac); color: var(--mcf-plum); font-weight: 950; }
.mcf-use-case strong { display: block; color: var(--mcf-plum); margin-bottom: 4px; }
.mcf-note { border-left: 5px solid var(--mcf-marigold); border-radius: 16px; padding: 20px 22px; background: white; box-shadow: 0 8px 24px rgba(62,37,81,.07); }
.mcf-disclosure { padding: 18px; background: #f4eff6; color: var(--mcf-muted); border-radius: 16px; font-size: .84rem; }
.mcf-continue { min-height: 62vh; display: grid; place-items: center; padding: 70px 0; }
.mcf-continue-card { width: min(660px, 100%); text-align: center; background: white; border: 1px solid var(--mcf-border); border-radius: 30px; padding: clamp(28px, 6vw, 54px); box-shadow: var(--mcf-shadow); }
.mcf-continue-check { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; background: #f8dfd7; color: var(--mcf-terracotta); border-radius: 50%; font-size: 2rem; font-weight: 950; }
.mcf-continue h1 { color: var(--mcf-plum); line-height: 1.1; }
.mcf-legal { padding: 64px 0; }
.mcf-legal article { max-width: 820px; margin: 0 auto; background: white; border: 1px solid var(--mcf-border); border-radius: 24px; padding: clamp(24px, 6vw, 48px); }
.mcf-legal h1, .mcf-legal h2 { color: var(--mcf-plum); }
.mcf-site-footer { padding: 42px 0; background: var(--mcf-plum-dark); color: #ded2e5; }
.mcf-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.mcf-site-footer a { color: white; }
.mcf-footer-links { display: flex; justify-content: flex-end; gap: 18px; flex-wrap: wrap; }
.mcf-small { font-size: .78rem; color: #c7b8ce; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.mcf-header-cta { padding: 9px 15px; border-radius: 999px; background: var(--mcf-terracotta); color: white !important; }
.mcf-hero-compact { padding: 70px 0; }
.mcf-hero-compact .mcf-wrap { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.mcf-hero-compact h1 { margin-left: auto; margin-right: auto; }
.mcf-hero-compact p { margin-left: auto; margin-right: auto; }
.mcf-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.mcf-button-ghost { color: white; border-color: rgba(255,255,255,.55); background: transparent; }
.mcf-button-ghost:hover, .mcf-button-ghost:focus { color: var(--mcf-plum); background: white; border-color: white; }
.mcf-reassurance { margin-top: 20px; color: #e8ddea; font-size: .82rem; font-weight: 750; }
.mcf-panel-title { margin: 0 0 12px !important; color: var(--mcf-plum) !important; font-size: .92rem !important; font-weight: 900; }
.mcf-quick-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; align-items: stretch; }
.mcf-quick-choice a { display: flex; min-height: 132px; padding: 18px 14px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--mcf-border); border-radius: 17px; background: white; text-decoration: none; text-align: center; }
.mcf-quick-choice a:hover { border-color: var(--mcf-terracotta); box-shadow: 0 8px 20px rgba(62,37,81,.09); }
.mcf-quick-choice a > span { display: block; color: var(--mcf-terracotta); font-weight: 950; font-size: 1.15rem; line-height: 1.2; }
.mcf-quick-choice a > small { display: block; margin-top: 8px; color: var(--mcf-muted); font-weight: 750; line-height: 1.3; }
.mcf-proof-strip { background: var(--mcf-white); border-bottom: 1px solid var(--mcf-border); }
.mcf-proof-strip .mcf-wrap { display: grid; grid-template-columns: repeat(4,1fr); }
.mcf-proof-strip .mcf-wrap > div:not(.mcf-proof-note) { display: flex; min-height: 174px; padding: 24px 18px 21px; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; border-right: 1px solid var(--mcf-border); }
.mcf-proof-strip .mcf-wrap > div:nth-child(4), .mcf-proof-strip .mcf-wrap > div:last-child { border-right: 0; }
.mcf-proof-strip .mcf-proof-icon { width: 46px; height: 46px; display: grid; flex: 0 0 46px; place-items: center; margin: 0 auto 12px; border-radius: 14px; background: linear-gradient(135deg, #f8dfd7, #fff0c8); color: var(--mcf-terracotta-dark); font-size: 1.12rem; font-weight: 950; line-height: 1; box-shadow: 0 7px 17px rgba(62,37,81,.09); }
.mcf-proof-strip .mcf-wrap > div > strong { display: flex; min-height: 2.5em; align-items: center; justify-content: center; color: var(--mcf-plum); font-size: 1.06rem; line-height: 1.2; }
.mcf-proof-strip .mcf-wrap > div > span:not(.mcf-proof-icon) { display: block; margin-top: 5px; color: var(--mcf-muted); font-size: .76rem; font-weight: 750; line-height: 1.35; }
.mcf-proof-note { grid-column: 1 / -1; padding: 9px 18px 13px !important; border-top: 1px solid var(--mcf-border); border-right: 0 !important; color: var(--mcf-muted); font-size: .68rem; }
.mcf-kicker { display: inline-block; margin-bottom: 9px; color: var(--mcf-terracotta); font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mcf-narrow { max-width: 880px; }
.mcf-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; counter-reset: steps; }
.mcf-step { position: relative; padding: 26px; border: 1px solid var(--mcf-border); border-radius: 22px; background: var(--mcf-cream); }
.mcf-step > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--mcf-plum); color: white; font-weight: 950; }
.mcf-step h3 { color: var(--mcf-plum); margin: 16px 0 5px; }
.mcf-step p { margin: 0; color: var(--mcf-muted); }
.mcf-cta-band { padding: 46px 0; background: linear-gradient(135deg, var(--mcf-plum-dark), var(--mcf-plum)); color: white; }
.mcf-cta-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.mcf-cta-band h2 { margin: 0 0 6px; font-size: clamp(1.7rem,3.2vw,2.6rem); line-height: 1.1; }
.mcf-cta-band p { margin: 0; color: #e6dbe9; }
.mcf-value-grid { align-items: center; }
.mcf-value-grid h2 { margin: 8px 0 12px; color: var(--mcf-plum); font-size: clamp(1.7rem,3vw,2.55rem); line-height: 1.15; }
.mcf-benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.mcf-benefit-card { padding: 22px; border: 1px solid var(--mcf-border); border-radius: 20px; background: white; box-shadow: 0 10px 28px rgba(62,37,81,.07); }
.mcf-benefit-card .mcf-mini-icon { margin-bottom: 14px; background: #f8dfd7; color: var(--mcf-terracotta-dark); }
.mcf-benefit-card strong { display: block; margin-bottom: 5px; color: var(--mcf-plum); font-size: 1.02rem; line-height: 1.25; }
.mcf-benefit-card p { margin: 0; color: var(--mcf-muted); font-size: .86rem; }
.mcf-card-soft { background: var(--mcf-lilac); }
.mcf-program-copy .mcf-button { margin: 4px 0 18px; }
.mcf-program-copy .mcf-disclosure { margin-top: 3px; }
.mcf-prep-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.mcf-prep-grid > div { padding: 22px; border: 1px solid var(--mcf-border); border-radius: 18px; background: white; }
.mcf-prep-grid strong { color: var(--mcf-plum); font-size: 1.05rem; }
.mcf-prep-grid p { color: var(--mcf-muted); margin: 6px 0 0; }
.mcf-faq-list { display: grid; gap: 12px; }
.mcf-faq { border: 1px solid var(--mcf-border); border-radius: 16px; background: white; overflow: hidden; }
.mcf-faq summary { position: relative; padding: 19px 52px 19px 20px; color: var(--mcf-plum); font-weight: 900; cursor: pointer; list-style: none; }
.mcf-faq summary::-webkit-details-marker { display: none; }
.mcf-faq summary::after { content: "+"; position: absolute; right: 20px; top: 15px; font-size: 1.5rem; color: var(--mcf-terracotta); }
.mcf-faq[open] summary::after { content: "–"; }
.mcf-faq > div { padding: 0 20px 20px; color: var(--mcf-muted); }
.mcf-comparison { overflow: hidden; border: 1px solid var(--mcf-border); border-radius: 22px; background: white; box-shadow: 0 12px 36px rgba(62,37,81,.08); }
.mcf-comparison-row { display: grid; grid-template-columns: .75fr 1fr 1fr; }
.mcf-comparison-row > div { padding: 18px; border-right: 1px solid var(--mcf-border); border-bottom: 1px solid var(--mcf-border); }
.mcf-comparison-row > div:last-child { border-right: 0; }
.mcf-comparison-row:last-child > div { border-bottom: 0; }
.mcf-comparison-row > div:first-child { color: var(--mcf-plum); font-weight: 900; background: #faf7fb; }
.mcf-comparison-head { background: var(--mcf-plum) !important; color: white; font-weight: 900; }
.mcf-comparison-head > div { color: white !important; background: transparent !important; border-color: rgba(255,255,255,.18); }
.mcf-industry-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.mcf-industry-card { position: relative; min-height: 230px; padding: 24px; border: 1px solid var(--mcf-border); border-radius: 22px; background: white; transition: transform .18s ease, box-shadow .18s ease; }
.mcf-industry-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(62,37,81,.1); }
.mcf-industry-card h3 { max-width: 80%; margin: 0 0 10px; color: var(--mcf-plum); font-size: 1.3rem; }
.mcf-industry-card p { color: var(--mcf-muted); font-size: .9rem; }
.mcf-industry-card a { position: absolute; left: 24px; bottom: 21px; font-weight: 900; text-underline-offset: 4px; }
.mcf-industry-arrow { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--mcf-lilac); color: var(--mcf-plum); font-weight: 900; }
.mcf-mobile-sticky { display: none; }

@media (max-width: 900px) {
  .mcf-nav > a { display: none; }
  .mcf-nav > .mcf-header-cta { display: inline-flex; }
  .mcf-hero-grid, .mcf-program-grid, .mcf-grid-3, .mcf-steps, .mcf-industry-grid { grid-template-columns: 1fr; }
  .mcf-benefit-grid { grid-template-columns: repeat(2,1fr); }
  .mcf-program-grid { gap: 24px; }
  .mcf-use-cases { grid-template-columns: 1fr; }
  .mcf-proof-strip .mcf-wrap { grid-template-columns: repeat(2,1fr); }
  .mcf-proof-strip .mcf-wrap > div:nth-child(2) { border-right: 0; }
  .mcf-cta-band-inner { grid-template-columns: 1fr; text-align: center; }
  .mcf-comparison { overflow-x: auto; }
  .mcf-comparison-row { min-width: 760px; }
}
@media (max-width: 680px) {
  .mcf-wrap { width: min(100% - 22px, 1160px); }
  .mcf-header-inner { min-height: 64px; }
  .mcf-brand { font-size: 1rem; }
  .mcf-hero { padding: 58px 0 46px; }
  .mcf-section { padding: 54px 0; }
  .mcf-grid-2, .mcf-form-row, .mcf-footer-grid, .mcf-prep-grid { grid-template-columns: 1fr; }
  .mcf-footer-links { justify-content: flex-start; }
  .mcf-card, .mcf-form-card { padding: 21px; }
  .mcf-button { width: 100%; }
  .mcf-header-cta { display: none !important; }
  .mcf-language { border-left: 0; padding-left: 0; }
  .mcf-hero-actions { display: grid; }
  .mcf-quick-choice { grid-template-columns: 1fr; }
  .mcf-benefit-grid { grid-template-columns: 1fr; }
  .mcf-proof-strip .mcf-wrap > div:not(.mcf-proof-note) { min-height: 164px; padding: 18px 10px; }
  .mcf-mobile-sticky { position: fixed; z-index: 25; display: block; left: 12px; right: 12px; bottom: 12px; padding: 13px 18px; border-radius: 999px; background: var(--mcf-terracotta); color: white; text-decoration: none; text-align: center; font-weight: 900; box-shadow: 0 12px 30px rgba(37,33,42,.28); }
  body { padding-bottom: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mcf-button { transition: none; }
}
