/* public/css/proveedores_landing.css */

/* ===== Scope base ===== */
body.cc-pageProvLanding {
  --cc-ink: #0b1b2b;
  --cc-ink-soft: #243647;
  --cc-muted: #4b5563;
  --cc-accent: #05A5CB;
  --cc-accent-2: #0fb8d6;
  --cc-card: #ffffff;
  --cc-stroke: #e2e8f0;
  --cc-bg: #f2f6f9;
  --cc-shadow: 0 16px 50px rgba(10, 36, 54, 0.12);

  background: var(--cc-bg) !important;
  color: var(--cc-ink);
  font-family: "Source Sans 3", "Lato", "Segoe UI", Arial, sans-serif;
}

body.cc-pageProvLanding main {
  background:
    radial-gradient(1200px 400px at 20% -10%, rgba(21, 177, 142, 0.18), transparent 65%),
    radial-gradient(1000px 360px at 85% 10%, rgba(15, 141, 181, 0.16), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #eef3f7 100%);
  padding-bottom: 0 !important;
}

body.cc-pageProvLanding header {
  background: #05A5CB;
}
body.cc-pageProvLanding header,
body.cc-pageProvLanding footer {
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
}
body.cc-pageProvLanding header,
body.cc-pageProvLanding nav {
  box-shadow: none !important;
}
body.cc-pageProvLanding nav {
  background: #05A5CB !important;
}

/* ===== Base ===== */
.cc-prov {
  padding-top: 0;
}

.cc-section { padding: 72px 0; }
@media (max-width: 600px) { .cc-section { padding: 46px 0; } }

.cc-h1 {
  font-family: "Space Grotesk", "Lato", sans-serif;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
}
@media (max-width: 600px) {
  .cc-h1 { font-size: 34px; }
}

.cc-h2 {
  font-family: "Space Grotesk", "Lato", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 18px 0;
  color: var(--cc-ink);
}
@media (max-width: 600px) {
  .cc-h2 { font-size: 24px; }
}

.cc-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
}
.cc-heroNote {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

/* ===== Brand section ===== */
.cc-bgBrand {
  background:
    radial-gradient(900px 320px at 15% -10%, rgba(5, 165, 203, 0.22), transparent 70%),
    linear-gradient(160deg, #f3f7fb 0%, #e9f1f7 60%, #f7fafc 100%);
  color: var(--cc-ink);
}
.cc-bgBrand .cc-h2 { color: #ffffff; }
.cc-bgBrand .cc-h2 { color: var(--cc-ink); }
.cc-textOnBrand { color: var(--cc-muted); }
.cc-brandList {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.cc-brandList li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--cc-ink-soft);
}
.cc-brandList li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cc-accent);
  opacity: 0.95;
}
.cc-visualPanel {
  background: #ffffff;
  border: 1px solid var(--cc-stroke);
  border-radius: 18px;
  padding: 18px;
}
.cc-visualItem {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(5, 165, 203, 0.08);
  margin-bottom: 10px;
}
.cc-visualItem:last-child { margin-bottom: 0; }
.cc-visualLabel {
  display: block;
  font-weight: 700;
}
.cc-visualMeta {
  display: block;
  font-size: 13px;
  color: var(--cc-muted);
}


/* ===== KPIs ===== */
.cc-kpis {
  background: linear-gradient(180deg, rgba(255, 128, 0, 0.12) 0%, rgba(255, 128, 0, 0.04) 100%);
  border-top: 1px solid rgba(255, 128, 0, 0.25);
  border-bottom: 1px solid rgba(255, 128, 0, 0.18);
}
.cc-kpis .row { margin-bottom: 0; }
.cc-kpi {
  background: #ffffff;
  border: 1px solid var(--cc-stroke);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--cc-shadow);
}
.cc-kpiValue {
  display: block;
  font-family: "Space Grotesk", "Lato", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--cc-ink);
}
.cc-kpiLabel {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--cc-muted);
}

/* ===== Hero ===== */
.cc-provHero {
  position: relative;
  overflow: visible;
  background: linear-gradient(130deg, #035a6f 0%, #05A5CB 55%, #0fb8d6 100%);
  color: #fff;
  padding: 72px 0 84px 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}
@media (max-width: 600px) {
  .cc-provHero { padding: 46px 0 52px 0; }
}
.cc-provHero::before,
.cc-provHero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.6;
  pointer-events: none;
}
.cc-provHero::before {
  width: 340px;
  height: 340px;
  left: -120px;
  top: -80px;
  background: rgba(255, 255, 255, 0.25);
}
.cc-provHero::after {
  width: 420px;
  height: 420px;
  right: -160px;
  top: 30px;
  background: rgba(21, 177, 142, 0.35);
}

.cc-ctaRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}

.cc-btnPrimary {
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 0 20px;
  height: 46px;
  line-height: 46px;
  background: linear-gradient(135deg, #FF8000 0%, #f37a00 100%);
  box-shadow: 0 12px 30px rgba(10, 60, 80, 0.28);
  text-transform: none;
}
.cc-btnPrimary:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

/* CTA buttons in landing */
body.cc-pageProvLanding .cc-ctaRow .btn,
body.cc-pageProvLanding #prov-plans .btn,
body.cc-pageProvLanding #prov-cta .btn {
  background-color: #FF8000 !important;
  border-radius: 14px;
  text-transform: none;
}
body.cc-pageProvLanding .cc-ctaRow .btn:hover,
body.cc-pageProvLanding #prov-plans .btn:hover,
body.cc-pageProvLanding #prov-cta .btn:hover {
  background-color: #e67300 !important;
}

body.cc-pageProvLanding .btn.green {
  background-color: #25D366 !important;
}
body.cc-pageProvLanding .btn.green:hover {
  background-color: #1fb357 !important;
}
body.cc-pageProvLanding .cc-whatsappBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cc-whatsappIcon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.cc-btnGhost {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  color: #fff !important;
  height: 46px;
  line-height: 46px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  text-transform: none;
}
.cc-btnGhost:hover { background: rgba(255, 255, 255, 0.16); }

.cc-chipRow {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cc-chipRow .chip {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.cc-heroCard .card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.cc-heroCard .card-title {
  font-weight: 800;
  color: var(--cc-ink);
}
.cc-heroCard ul.browser-default {
  margin: 10px 0 0 0;
  padding-left: 18px;
}
.cc-heroCard ul.browser-default li { color: var(--cc-ink-soft); }


/* ===== Dual channel ===== */
#prov-dual .card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#prov-dual .card-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #05A5CB 0%, #0fb8d6 100%);
  display: inline-block;
}

/* ===== Cards / grids ===== */
.cc-card {
  border-radius: 18px;
  background: var(--cc-card);
  border: 1px solid var(--cc-stroke);
  box-shadow: var(--cc-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.cc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(10, 36, 54, 0.18);
  border-color: rgba(15, 141, 181, 0.35);
}
.cc-card .card-content { padding: 24px; }
.cc-card .card-title { font-weight: 700; color: var(--cc-ink); }
.cc-card p { color: var(--cc-muted); }

.cc-gridTight .col { margin-bottom: 16px; }

/* ===== Icon cards ===== */
.cc-iconCard .cc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: rgba(5, 165, 203, 0.14);
  color: #035a6f;
  font-size: 20px;
}

/* Section icon flavors */
#prov-proof .cc-icon { background: rgba(255, 128, 0, 0.16); color: #a34d00; font-size: 22px; }
#prov-benefits .cc-icon { background: rgba(5, 165, 203, 0.16); color: #035a6f; font-size: 22px; }
#prov-how .cc-icon { background: rgba(17, 24, 39, 0.12); color: #111827; font-size: 21px; }
#prov-addons .cc-icon { background: rgba(245, 158, 11, 0.18); color: #8a4b00; font-size: 22px; }

/* Dual channel icons */
.cc-inlineIcon {
  font-size: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  color: #05A5CB;
}
.cc-visualIcon {
  font-size: 20px;
  margin-right: 8px;
  vertical-align: -3px;
  color: #05A5CB;
}
.cc-visualItem {
  display: flex;
  flex-direction: column;
}
.cc-visualLabel {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== Add-ons ===== */
#prov-addons .card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#prov-addons .card-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cc-accent);
  display: inline-block;
}

/* ===== Section backgrounds ===== */
.cc-bgAlt {
  position: relative;
  background:
    radial-gradient(900px 260px at 15% -10%, rgba(5, 165, 203, 0.12), transparent 70%),
    linear-gradient(180deg, #f6f9fc 0%, #eef3f7 100%);
}
.cc-bgAlt::before,
.cc-bgAlt::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 8%;
  right: 8%;
  background: rgba(5, 165, 203, 0.18);
}
.cc-bgAlt::before { top: 0; }
.cc-bgAlt::after { bottom: 0; }

/* ===== Plans ===== */
.cc-planFeatured {
  position: relative;
  border: 2px solid rgba(15, 141, 181, 0.45);
  box-shadow: 0 22px 65px rgba(9, 48, 70, 0.18);
}
.cc-planFeatured::before {
  content: "Recomendado";
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #05A5CB 0%, #0fb8d6 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===== Plan badge ===== */
.cc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #035a6f;
  background: rgba(5, 165, 203, 0.16);
  border: 1px solid rgba(5, 165, 203, 0.35);
  border-radius: 999px;
  vertical-align: middle;
}
.cc-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #05A5CB;
  display: inline-block;
}

.cc-planPrice {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(5, 165, 203, 0.08);
  border: 1px solid rgba(5, 165, 203, 0.22);
}
.cc-planPrice .cc-priceValue {
  font-family: "Space Grotesk", "Lato", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--cc-ink);
}
.cc-planPrice .cc-priceMeta {
  display: block;
  font-size: 12px;
  color: var(--cc-muted);
  margin-top: 4px;
}

/* ===== FAQ ===== */
.collapsible {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--cc-stroke);
  box-shadow: var(--cc-shadow);
}
.collapsible-header {
  font-weight: 700;
  color: var(--cc-ink);
  background: #ffffff;
}
.collapsible-body {
  background: #f9fbfd;
}

/* ===== Form ===== */
#prov-cta .card-action {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.cc-pageProvLanding .input-field input[type="text"],
body.cc-pageProvLanding .input-field input[type="tel"] {
  border-bottom: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
}
body.cc-pageProvLanding .input-field input[type="text"]:focus,
body.cc-pageProvLanding .input-field input[type="tel"]:focus {
  border-bottom: 2px solid var(--cc-accent) !important;
}
body.cc-pageProvLanding .input-field input[type="text"]:focus + label,
body.cc-pageProvLanding .input-field input[type="tel"]:focus + label {
  color: var(--cc-accent) !important;
}
body.cc-pageProvLanding .select-wrapper input.select-dropdown:focus {
  border-bottom: 2px solid var(--cc-accent) !important;
}

/* ===== Typography tweaks ===== */
body.cc-pageProvLanding ul.browser-default li {
  margin-bottom: 6px;
}
body.cc-pageProvLanding ul.browser-default li::marker {
  color: var(--cc-accent);
}

/* ===== Motion ===== */
@keyframes cc-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cc-float {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cc-provHero .cc-h1 { animation: cc-rise 700ms ease 50ms both; }
.cc-provHero .cc-sub { animation: cc-rise 700ms ease 120ms both; }
.cc-provHero .cc-ctaRow { animation: cc-rise 700ms ease 190ms both; }
.cc-provHero .cc-chipRow { animation: cc-rise 700ms ease 260ms both; }
.cc-provHero .cc-heroCard { animation: cc-float 850ms ease 120ms both; }
@media (prefers-reduced-motion: reduce) {
  .cc-provHero .cc-h1,
  .cc-provHero .cc-sub,
  .cc-provHero .cc-ctaRow,
  .cc-provHero .cc-chipRow,
  .cc-provHero .cc-heroCard {
    animation: none !important;
  }
}
