/* =========================
  ThreeCreative (New)
========================= */

:root {
  --color-primario: #ee6c74;
  --color-secundario: #ea95a8;
  --color-acento: #f2a3a2;
  --color-acento-suave: #f2d7d0;

  --color-fondo: #ffffff;
  --color-texto-principal: #212529;
  --color-texto-secundario: #6c757d;

  --border-radius: 16px;
  --shadow-soft: 0 10px 30px rgba(33, 37, 41, 0.08);
  --shadow-soft-2: 0 16px 40px rgba(33, 37, 41, 0.10);

  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", sans-serif;
  color: var(--color-texto-principal);
  background: var(--color-fondo);
  padding-top: 0px;
}

/* ---------- Bootstrap tweaks ---------- */
.btn-primary {
  --bs-btn-bg: var(--color-primario);
  --bs-btn-border-color: var(--color-primario);
  --bs-btn-hover-bg: var(--color-secundario);
  --bs-btn-hover-border-color: var(--color-secundario);
  --bs-btn-active-bg: var(--color-secundario);
  --bs-btn-active-border-color: var(--color-secundario);
}
.btn-outline-primary {
  --bs-btn-color: var(--color-primario);
  --bs-btn-border-color: rgba(238,108,116,0.45);
  --bs-btn-hover-bg: rgba(238,108,116,0.12);
  --bs-btn-hover-border-color: rgba(238,108,116,0.45);
  --bs-btn-hover-color: var(--color-primario);
}
.btn-pill { border-radius: 999px; }

/* ---------- Navbar ---------- */
.navbar-glass {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(33,37,41,0.06);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--color-primario) !important;
}
.brand-dot { color: var(--color-secundario); margin-right: 6px; }

.nav-link {
  color: rgba(33,37,41,0.78);
  font-weight: 500;
}
.nav-link:hover { color: rgba(33,37,41,1); }
.navbar .nav-link.active { color: var(--color-primario); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 30%, rgba(238,108,116,0.16), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(234,149,168,0.18), transparent 60%),
    linear-gradient(180deg, rgba(242,215,208,0.55) 0%, rgba(255,255,255,1) 65%);
  padding-top: 78px;
}

.hero-inner{
  max-width: 920px;
  padding-top: 3.6rem;
  padding-bottom: 4rem;
}
@media (max-width: 575.98px){
  .hero-inner{ padding-top: 3.2rem; }
}


.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}


.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  color: rgba(33,37,41,0.8);
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(238,108,116,0.18);
  box-shadow: 0 10px 22px rgba(33,37,41,0.06);
}

.hero-title {
  color: var(--color-texto-principal);
  letter-spacing: -0.6px;
}

.hero-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-texto-secundario);
}

.hero-ctas{
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas .btn{
  width: 100%;
}
@media (min-width: 576px){
  .hero-ctas{
    max-width: none;
  }
  .hero-ctas .btn{
    width: auto;
    min-width: 210px; /* iguala ancho visual */
  }
}


.hero-kpis {
  display: inline-flex;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(33,37,41,0.06);
}
.kpi { display:flex; flex-direction: column; min-width: 120px; }
.kpi-num { font-weight: 700; color: var(--color-primario); line-height: 1; }
.kpi-txt { font-size: 0.82rem; color: rgba(33,37,41,0.7); }

.hero-blobs .blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.75;
  transform: translateZ(0);
  pointer-events: none;
}
.blob-a { width: 220px; height: 220px; left: -70px; top: 110px; background: rgba(238,108,116,0.35); }
.blob-b { width: 280px; height: 280px; right: -110px; top: 140px; background: rgba(234,149,168,0.38); }
.blob-c { width: 240px; height: 240px; right: 18%; bottom: -120px; background: rgba(242,163,162,0.28); }

@media (max-width: 575.98px) {
  body { padding-top: 0px; }
  .hero {padding-top: 64px;}
  .hero-inner { padding-top: 64px; }

  .hero-kpis{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-radius: 16px;
    padding: 12px;
  }

  .kpi{
    min-width: 0;
    align-items: center;
    text-align: center;
  }

  .kpi-num{ font-size: 0.98rem; }
  .kpi-txt{ font-size: 0.75rem; line-height: 1.15; }
}

/* ---------- Sections ---------- */
.section { background: transparent; }
.section-tint { background: rgba(242,215,208,0.45); }

.section-head p { max-width: 720px; margin-left:auto; margin-right:auto; }

/* ---------- Cards ---------- */
.card-soft {
  border: 1px solid rgba(33,37,41,0.06);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  background: rgba(255,255,255,0.92);
}
/*Servicios: alineacion centrada*/
#servicios .card-body p {
  margin-left: auto;
  margin-right: auto;
  max-width: 260px;
}
.card-soft:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-2);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(238,108,116,0.12);
  border: 1px solid rgba(238,108,116,0.18);
  color: var(--color-primario);
  font-size: 1.35rem;
}

/* ---------- Plans ---------- */
.plan { position: relative; }
.plan-name { font-weight: 700; margin-bottom: 6px; }
.plan-price { display:flex; align-items: baseline; gap: 6px; }
.plan-price .price { font-size: 2.1rem; font-weight: 800; color: var(--color-primario); }
.plan-price .per { color: rgba(33,37,41,0.65); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: rgba(33,37,41,0.78);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primario);
  font-weight: 700;
}

.plan-featured {
  border: 1px solid rgba(238,108,116,0.24);
  box-shadow: 0 18px 55px rgba(238,108,116,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(242,215,208,0.35));
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--color-primario);
  color: white;
  box-shadow: 0 10px 22px rgba(238,108,116,0.25);
}
.plan-foot {
  color: rgba(33,37,41,0.65);
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Portfolio ---------- */
.portfolio-card {
  position: relative;
  display: block;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(33,37,41,0.06);
  box-shadow: var(--shadow-soft);
  min-height: 180px;
  text-decoration: none;
}
.portfolio-thumb {
  position: absolute;
  inset: 0;
  transform: scale(1);
  transition: transform 220ms ease;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: white;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55));
}
.portfolio-title { font-weight: 700; }
.portfolio-meta { font-size: 0.85rem; opacity: 0.85; }
.portfolio-card:hover .portfolio-thumb { transform: scale(1.03); }

.grad-1 { background: linear-gradient(135deg, rgba(238,108,116,0.92), rgba(33,37,41,0.85)); }
.grad-2 { background: linear-gradient(135deg, rgba(234,149,168,0.92), rgba(33,37,41,0.85)); }
.grad-3 { background: linear-gradient(135deg, rgba(242,163,162,0.92), rgba(33,37,41,0.85)); }
.grad-4 { background: linear-gradient(135deg, rgba(238,108,116,0.7), rgba(234,149,168,0.85)); }
.grad-5 { background: linear-gradient(135deg, rgba(242,215,208,0.95), rgba(238,108,116,0.85)); }
.grad-6 { background: linear-gradient(135deg, rgba(234,149,168,0.75), rgba(242,163,162,0.85)); }


/* Thumb uniforme para proyectos Web */
.thumb-web{
  background: linear-gradient(135deg, rgba(234,149,168,0.35), rgba(33,37,41,0.35)),
              url("https://www.threecreativee.com/assets/portfolio-web.jpg");
  background-size: cover;
  background-position: center;
}

/* ---------- Portfolio Modal (premium) ---------- */
.portfolio-modal .modal-content{
  border-radius: 22px;
  border: 1px solid rgba(33,37,41,0.10);
  box-shadow: 0 18px 60px rgba(33,37,41,0.18);
  overflow: hidden;
}

.portfolio-modal .pm-hero{
  height: 220px;
  background: linear-gradient(135deg, rgba(234,149,168,0.35), rgba(33,37,41,0.35)),
              url("https://www.threecreativee.com/assets/portfolio-web.jpg");
  background-size: cover;
  background-position: center;
}

@media (min-width: 992px){
  .portfolio-modal .pm-hero{ height: 280px; }
}

.portfolio-modal .pm-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
}

.portfolio-modal .pm-prev{ left: 14px; }
.portfolio-modal .pm-next{ right: 14px; }

.portfolio-modal .pm-nav:hover{
  background: rgba(255,255,255,0.26);
}



/* Portfolio filter active style */
.portfolio-controls .btn.is-active {
  background: rgba(238,108,116,0.12);
  border-color: rgba(238,108,116,0.45);
}

/* ---------- Testimonials ---------- */
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(238,108,116,0.12);
  border: 1px solid rgba(238,108,116,0.18);
  color: var(--color-primario);
  font-weight: 700;
}

/* ---------- Contact ---------- */
.form-control {
  border-radius: 14px;
  border: 1px solid rgba(33,37,41,0.14);
  padding: 12px 14px;
}
.form-control:focus {
  border-color: rgba(238,108,116,0.55);
  box-shadow: 0 0 0 0.25rem rgba(238,108,116,0.16);
}
.toast-lite {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(33,37,41,0.06);
  background: rgba(255,255,255,0.92);
  color: rgba(33,37,41,0.85);
  display: none;
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(135deg, rgba(238,108,116,1) 0%, rgba(234,149,168,1) 100%);
  color: rgba(255,255,255,0.92);
}
.footer-title { font-weight: 700; margin-bottom: 10px; }
.footer-text { color: rgba(255,255,255,0.85); max-width: 380px; }
.footer-links { list-style:none; padding:0; margin:0; display:grid; gap: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}
.footer-links a:hover { color: white; text-decoration: underline; }
.footer-hr { border-color: rgba(255,255,255,0.28); }
.social { color: rgba(255,255,255,0.92); font-size: 1.35rem; }
.social:hover { color: white; }
.small-link { color: rgba(255,255,255,0.9); text-decoration: none; }
.small-link:hover { color: white; text-decoration: underline; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   WhatsApp Floating Button
   ========================= */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ea95a8;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 12px 30px rgba(234, 149, 168, 0.45);
  z-index: 999;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  background-color: #ee6c74; /* leve variación al hover */
  box-shadow: 0 18px 40px rgba(234, 149, 168, 0.6);
}

.whatsapp-float i {
  line-height: 1;
}

@media (max-width: 575.98px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
    border: 2px solid rgba(255, 255, 255, 0.85);
  }
}

/* Tooltip WhatsApp (solo desktop) */
.wa-tooltip{
  position: absolute;
  right: 66px;               /* se ubica a la izquierda del botón */
  bottom: 50%;
  transform: translateY(50%) translateX(8px);
  background: rgba(33, 37, 41, 0.92);
  color: #fff;
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  box-shadow: 0 12px 30px rgba(33, 37, 41, 0.20);
}

/* flechita */
.wa-tooltip::after{
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: rgba(33, 37, 41, 0.92);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 3px;
}

/* Mostrar solo en desktop + on hover */
@media (min-width: 992px){
  .whatsapp-float{
    position: fixed;
  }

  .whatsapp-float:hover .wa-tooltip{
    opacity: 1;
    transform: translateY(50%) translateX(0);
  }
}

/* En mobile nunca aparece */
@media (max-width: 991.98px){
  .wa-tooltip{ display: none; }
}

/* Mostrar tooltip cuando agregamos la clase */
.whatsapp-float.show-tooltip .wa-tooltip{
  opacity: 1;
  transform: translateY(50%) translateX(0);
}


.thumb-project-portfolio{
  background: linear-gradient(135deg, rgba(234,149,168,.22), rgba(33,37,41,.35)),
              url("https://www.threecreativee.com/assets/portfolio-proyect.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-project-creative{
  background: linear-gradient(135deg, rgba(234,149,168,.22), rgba(33,37,41,.35)),
              url("https://www.threecreativee.com/assets/proyect-creative.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-brand-kit{
  background: linear-gradient(135deg, rgba(234,149,168,.22), rgba(33,37,41,.35)),
              url("https://www.threecreativee.com/assets/brand-kit.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-social-pack{
  background: linear-gradient(135deg, rgba(234,149,168,.22), rgba(33,37,41,.35)),
              url("https://www.threecreativee.com/assets/social-pack.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-asesoria{
  background: linear-gradient(135deg, rgba(234,149,168,.22), rgba(33,37,41,.35)),
              url("https://www.threecreativee.com/assets/asesoria.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-guia{
  background: linear-gradient(135deg, rgba(234,149,168,.22), rgba(33,37,41,.35)),
              url("https://www.threecreativee.com/assets/guias.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-asistente{
  background: linear-gradient(135deg, rgba(234,149,168,.22), rgba(33,37,41,.35)),
              url("https://www.threecreativee.com/assets/asistente.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-content{
  background: linear-gradient(135deg, rgba(234,149,168,.22), rgba(33,37,41,.35)),
              url("https://www.threecreativee.com/assets/content.jpg");
  background-size: cover;
  background-position: center;
}

